Projects
openEuler:Mainline
python-sphinxcontrib-applehelp
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:python-sphinxcontrib-applehelp.spec
Changed
@@ -3,7 +3,7 @@ %bcond_without check Name: python-%{pypi_name} -Version: 1.0.2 +Version: 1.0.4 Release: 1 Summary: Sphinx extension for Apple help books License: BSD @@ -14,6 +14,8 @@ BuildRequires: gettext BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel %if %{with check} BuildRequires: python3-pytest @@ -41,11 +43,11 @@ for po in $(find -name '*.po'); do msgfmt --output-file=${po%.po}.mo ${po} done -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install sphinxcontrib-applehelp==%{version} pushd %{buildroot}%{python3_sitelib} for lang in `find sphinxcontrib/applehelp/locales -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`; @@ -72,11 +74,12 @@ %files -n python3-%{pypi_name} -f sphinxcontrib.applehelp.lang %license LICENSE %doc README.rst -%{python3_sitelib}/sphinxcontrib/ -%{python3_sitelib}/sphinxcontrib_applehelp-%{version}-py%{python3_version}-*.pth -%{python3_sitelib}/sphinxcontrib_applehelp-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/* %changelog +* Fri May 05 2023 wangkai <13474090681@163.com> - 1.0.4-1 +- Update to 1.0.4 + * Fri Jul 31 2020 tianwei <tianwei12@huawei.com> - 1.0.2-1 - Package Init
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/python-sphinxcontrib-applehelp.git</param> - <param name="revision">28473e44a773ff6249f5be763c34d1e8f9e967ab</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/setup.py
Deleted
@@ -1,70 +0,0 @@ -# -*- coding: utf-8 -*- -import os -from setuptools import setup, find_packages - -long_desc = ''' -sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books -''' - -extras_require = { - 'test': - 'pytest', - , - 'lint': - 'flake8', - 'mypy', - 'docutils-stubs', - -} - - -def get_version(): - """Get version number of the package from version.py without importing core module.""" - package_dir = os.path.abspath(os.path.dirname(__file__)) - version_file = os.path.join(package_dir, 'sphinxcontrib/applehelp/version.py') - - namespace = {} - with open(version_file, 'rt') as f: - exec(f.read(), namespace) - - return namespace'__version__' - - -setup( - name='sphinxcontrib-applehelp', - version=get_version(), - url='http://sphinx-doc.org/', - download_url='https://pypi.org/project/sphinxcontrib-applehelp/', - license='BSD', - author='Georg Brandl', - author_email='georg@python.org', - description=long_desc.strip().replace('\n', ' '), - long_description=long_desc, - zip_safe=False, - classifiers= - 'Development Status :: 5 - Production/Stable', - 'Environment :: Console', - 'Environment :: Web Environment', - 'Intended Audience :: Developers', - 'Intended Audience :: Education', - 'License :: OSI Approved :: BSD License', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Framework :: Sphinx', - 'Framework :: Sphinx :: Extension', - 'Topic :: Documentation', - 'Topic :: Documentation :: Sphinx', - 'Topic :: Text Processing', - 'Topic :: Utilities', - , - platforms='any', - python_requires=">=3.5", - packages=find_packages(exclude='tests'), - include_package_data=True, - extras_require=extras_require, - namespace_packages='sphinxcontrib', -)
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/sphinxcontrib/__init__.py
Deleted
@@ -1,15 +0,0 @@ -""" - sphinxcontrib - ~~~~~~~~~~~~~ - - This package is a namespace package that contains all extensions - distributed in the ``sphinx-contrib`` distribution. - - :copyright: Copyright 2007-2009 by the Sphinx team, see AUTHORS. - :license: BSD, see LICENSE for details. -""" - -import pkg_resources - - -pkg_resources.declare_namespace(__name__)
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/sphinxcontrib/applehelp/version.py
Deleted
@@ -1,10 +0,0 @@ -""" - sphinxcontrib.applehelp.version - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - - :copyright: Copyright 2007-2019 by the Sphinx team, see README. - :license: BSD, see LICENSE for details. -""" - -__version__ = '1.0.2' -__version_info__ = tuple(map(int, __version__.split('.')))
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/sphinxcontrib_applehelp.egg-info/namespace_packages.txt
Deleted
@@ -1,1 +0,0 @@ -sphinxcontrib
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/sphinxcontrib_applehelp.egg-info/not-zip-safe
Deleted
@@ -1,1 +0,0 @@ -
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/CHANGES -> _service:tar_scm:sphinxcontrib-applehelp-1.0.4.tar.gz/CHANGES
Changed
@@ -1,3 +1,14 @@ +Release 1.0.4 (2023-01-21) +========================== + +* Fix package name + +Release 1.0.3 (2023-01-08) +========================== + +* Drop Python 3.8 and lower +* Fix deprecation warnings from Sphinx 6.1 + Release 1.0.2 (2019-02-29) ==========================
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/PKG-INFO -> _service:tar_scm:sphinxcontrib-applehelp-1.0.4.tar.gz/PKG-INFO
Changed
@@ -1,34 +1,76 @@ -Metadata-Version: 2.1 -Name: sphinxcontrib-applehelp -Version: 1.0.2 -Summary: sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books -Home-page: http://sphinx-doc.org/ -Author: Georg Brandl -Author-email: georg@python.org -License: BSD -Download-URL: https://pypi.org/project/sphinxcontrib-applehelp/ -Description: - sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books - -Platform: any -Classifier: Development Status :: 5 - Production/Stable -Classifier: Environment :: Console -Classifier: Environment :: Web Environment -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: Education -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Framework :: Sphinx -Classifier: Framework :: Sphinx :: Extension -Classifier: Topic :: Documentation -Classifier: Topic :: Documentation :: Sphinx -Classifier: Topic :: Text Processing -Classifier: Topic :: Utilities -Requires-Python: >=3.5 -Provides-Extra: test -Provides-Extra: lint +Metadata-Version: 2.1 +Name: sphinxcontrib-applehelp +Version: 1.0.4 +Summary: sphinxcontrib-applehelp is a Sphinx extension which outputs Apple help books +Author-email: Georg Brandl <georg@python.org> +License: BSD-2-Clause +Project-URL: Changelog, https://www.sphinx-doc.org/en/master/changes.html +Project-URL: Code, https://github.com/sphinx-doc/sphinxcontrib-applehelp +Project-URL: Download, https://pypi.org/project/sphinxcontrib-applehelp/ +Project-URL: Homepage, https://www.sphinx-doc.org/ +Project-URL: Issue tracker, https://github.com/sphinx-doc/sphinx/issues +Classifier: Development Status :: 5 - Production/Stable +Classifier: Environment :: Console +Classifier: Environment :: Web Environment +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Education +Classifier: License :: OSI Approved :: BSD License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Framework :: Sphinx +Classifier: Framework :: Sphinx :: Extension +Classifier: Topic :: Documentation +Classifier: Topic :: Documentation :: Sphinx +Classifier: Topic :: Text Processing +Classifier: Topic :: Utilities +Requires-Python: >=3.8 +Description-Content-Type: text/x-rst +Provides-Extra: test +Provides-Extra: lint +License-File: LICENSE + +======================= +sphinxcontrib-applehelp +======================= + +sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books. + +For more details, please visit http://www.sphinx-doc.org/. + +Installing +========== + +Install from PyPI:: + + pip install -U sphinxcontrib-applehelp + +Release signatures +================== + +Releases are signed with following keys: + +* `498D6B9E <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x102C2C17498D6B9E>`_ +* `5EBA0E07 <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x1425F8CE5EBA0E07>`_ + +Testing +======= + +To run the tests with the interpreter available as ``python``, use:: + + tox + +Continuous testing runs on travis: https://travis-ci.org/sphinx-doc/sphinxcontrib-applehelp + +Contributing +============ + +See `CONTRIBUTING.rst`__ + +.. __: https://github.com/sphinx-doc/sphinx/blob/master/CONTRIBUTING.rst
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.4.tar.gz/pyproject.toml
Added
@@ -0,0 +1,63 @@ +build-system +requires = "setuptools>=64" +build-backend = "setuptools.build_meta" + +# project metadata +project +name = "sphinxcontrib-applehelp" +description = "sphinxcontrib-applehelp is a Sphinx extension which outputs Apple help books" +readme = "README.rst" +urls.Changelog = "https://www.sphinx-doc.org/en/master/changes.html" +urls.Code = "https://github.com/sphinx-doc/sphinxcontrib-applehelp" +urls.Download = "https://pypi.org/project/sphinxcontrib-applehelp/" +urls.Homepage = "https://www.sphinx-doc.org/" +urls."Issue tracker" = "https://github.com/sphinx-doc/sphinx/issues" +license.text = "BSD-2-Clause" +requires-python = ">=3.8" + +# Classifiers list: https://pypi.org/classifiers/ +classifiers = + "Development Status :: 5 - Production/Stable", + "Environment :: Console", + "Environment :: Web Environment", + "Intended Audience :: Developers", + "Intended Audience :: Education", + "License :: OSI Approved :: BSD License", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Framework :: Sphinx", + "Framework :: Sphinx :: Extension", + "Topic :: Documentation", + "Topic :: Documentation :: Sphinx", + "Topic :: Text Processing", + "Topic :: Utilities", + +dependencies = +dynamic = "version" + +project.optional-dependencies +test = + "pytest", + +lint = + "flake8", + "mypy", + "docutils-stubs", + + +project.authors +name = "Georg Brandl" +email = "georg@python.org" + +tool.setuptools.dynamic +version.attr = "sphinxcontrib.applehelp.__version__" + +tool.mypy +ignore_missing_imports = true
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/setup.cfg -> _service:tar_scm:sphinxcontrib-applehelp-1.0.4.tar.gz/setup.cfg
Changed
@@ -1,30 +1,4 @@ -egg_info -tag_build = -tag_date = 0 - -aliases -release = egg_info -Db '' - -extract_messages -output_file = sphinxcontrib/applehelp/locales/sphinxcontrib.applehelp.pot -keywords = _ __ - -compile_catalog -domain = sphinxcontrib.applehelp -directory = sphinxcontrib/applehelp/locales/ -use_fuzzy = true - -bdist_wheel -universal = 1 - -metadata -license_file = LICENSE - -flake8 -max-line-length = 95 -ignore = E116,E241,E251 -exclude = .git,.tox,.venv - -mypy -ignore_missing_imports = True - +egg_info +tag_build = +tag_date = 0 +
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/sphinxcontrib/applehelp/__init__.py -> _service:tar_scm:sphinxcontrib-applehelp-1.0.4.tar.gz/sphinxcontrib/applehelp/__init__.py
Changed
@@ -16,17 +16,25 @@ from subprocess import CalledProcessError, PIPE, STDOUT from typing import Any, Dict +import sphinx from sphinx.application import Sphinx from sphinx.builders.html import StandaloneHTMLBuilder from sphinx.errors import SphinxError from sphinx.locale import get_translation from sphinx.util import logging -from sphinx.util import SkipProgressMessage, progress_message from sphinx.util.fileutil import copy_asset, copy_asset_file from sphinx.util.matching import Matcher from sphinx.util.osutil import ensuredir, make_filename -from sphinxcontrib.applehelp.version import __version__ +if sphinx.version_info:2 >= (6, 1): + from sphinx.util.display import SkipProgressMessage, progress_message +else: + from sphinx.util import ( # type: ignoreattr-defined,no-redef + SkipProgressMessage, progress_message + ) + +__version__ = '1.0.4' +__version_info__ = (1, 0, 4) package_dir = path.abspath(path.dirname(__file__)) template_dir = path.join(package_dir, 'templates') @@ -93,7 +101,7 @@ @progress_message(__('copying localized files')) def copy_localized_files(self) -> None: - source_dir = path.join(self.confdir, self.config.applehelp_locale + '.lproj') + source_dir = path.join(self.confdir, self.config.applehelp_locale + '.lproj') # type: ignore # NOQA target_dir = self.outdir if path.isdir(source_dir):
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/sphinxcontrib_applehelp.egg-info/PKG-INFO -> _service:tar_scm:sphinxcontrib-applehelp-1.0.4.tar.gz/sphinxcontrib_applehelp.egg-info/PKG-INFO
Changed
@@ -1,34 +1,76 @@ -Metadata-Version: 2.1 -Name: sphinxcontrib-applehelp -Version: 1.0.2 -Summary: sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books -Home-page: http://sphinx-doc.org/ -Author: Georg Brandl -Author-email: georg@python.org -License: BSD -Download-URL: https://pypi.org/project/sphinxcontrib-applehelp/ -Description: - sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books - -Platform: any -Classifier: Development Status :: 5 - Production/Stable -Classifier: Environment :: Console -Classifier: Environment :: Web Environment -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: Education -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.5 -Classifier: Programming Language :: Python :: 3.6 -Classifier: Programming Language :: Python :: 3.7 -Classifier: Framework :: Sphinx -Classifier: Framework :: Sphinx :: Extension -Classifier: Topic :: Documentation -Classifier: Topic :: Documentation :: Sphinx -Classifier: Topic :: Text Processing -Classifier: Topic :: Utilities -Requires-Python: >=3.5 -Provides-Extra: test -Provides-Extra: lint +Metadata-Version: 2.1 +Name: sphinxcontrib-applehelp +Version: 1.0.4 +Summary: sphinxcontrib-applehelp is a Sphinx extension which outputs Apple help books +Author-email: Georg Brandl <georg@python.org> +License: BSD-2-Clause +Project-URL: Changelog, https://www.sphinx-doc.org/en/master/changes.html +Project-URL: Code, https://github.com/sphinx-doc/sphinxcontrib-applehelp +Project-URL: Download, https://pypi.org/project/sphinxcontrib-applehelp/ +Project-URL: Homepage, https://www.sphinx-doc.org/ +Project-URL: Issue tracker, https://github.com/sphinx-doc/sphinx/issues +Classifier: Development Status :: 5 - Production/Stable +Classifier: Environment :: Console +Classifier: Environment :: Web Environment +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: Education +Classifier: License :: OSI Approved :: BSD License +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Framework :: Sphinx +Classifier: Framework :: Sphinx :: Extension +Classifier: Topic :: Documentation +Classifier: Topic :: Documentation :: Sphinx +Classifier: Topic :: Text Processing +Classifier: Topic :: Utilities +Requires-Python: >=3.8 +Description-Content-Type: text/x-rst +Provides-Extra: test +Provides-Extra: lint +License-File: LICENSE + +======================= +sphinxcontrib-applehelp +======================= + +sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books. + +For more details, please visit http://www.sphinx-doc.org/. + +Installing +========== + +Install from PyPI:: + + pip install -U sphinxcontrib-applehelp + +Release signatures +================== + +Releases are signed with following keys: + +* `498D6B9E <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x102C2C17498D6B9E>`_ +* `5EBA0E07 <https://pgp.mit.edu/pks/lookup?op=vindex&search=0x1425F8CE5EBA0E07>`_ + +Testing +======= + +To run the tests with the interpreter available as ``python``, use:: + + tox + +Continuous testing runs on travis: https://travis-ci.org/sphinx-doc/sphinxcontrib-applehelp + +Contributing +============ + +See `CONTRIBUTING.rst`__ + +.. __: https://github.com/sphinx-doc/sphinx/blob/master/CONTRIBUTING.rst
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/sphinxcontrib_applehelp.egg-info/SOURCES.txt -> _service:tar_scm:sphinxcontrib-applehelp-1.0.4.tar.gz/sphinxcontrib_applehelp.egg-info/SOURCES.txt
Changed
@@ -2,12 +2,9 @@ LICENSE MANIFEST.in README.rst -setup.cfg -setup.py +pyproject.toml tox.ini -sphinxcontrib/__init__.py sphinxcontrib/applehelp/__init__.py -sphinxcontrib/applehelp/version.py sphinxcontrib/applehelp/locales/sphinxcontrib.applehelp.pot sphinxcontrib/applehelp/locales/.tx/config sphinxcontrib/applehelp/locales/ar/LC_MESSAGES/sphinxcontrib.applehelp.mo @@ -90,10 +87,10 @@ sphinxcontrib/applehelp/locales/sk/LC_MESSAGES/sphinxcontrib.applehelp.po sphinxcontrib/applehelp/locales/sl/LC_MESSAGES/sphinxcontrib.applehelp.mo sphinxcontrib/applehelp/locales/sl/LC_MESSAGES/sphinxcontrib.applehelp.po -sphinxcontrib/applehelp/locales/sr/LC_MESSAGES/sphinxcontrib.applehelp.mo -sphinxcontrib/applehelp/locales/sr/LC_MESSAGES/sphinxcontrib.applehelp.po sphinxcontrib/applehelp/locales/sr@latin/LC_MESSAGES/sphinxcontrib.applehelp.mo sphinxcontrib/applehelp/locales/sr@latin/LC_MESSAGES/sphinxcontrib.applehelp.po +sphinxcontrib/applehelp/locales/sr/LC_MESSAGES/sphinxcontrib.applehelp.mo +sphinxcontrib/applehelp/locales/sr/LC_MESSAGES/sphinxcontrib.applehelp.po sphinxcontrib/applehelp/locales/sv/LC_MESSAGES/sphinxcontrib.applehelp.mo sphinxcontrib/applehelp/locales/sv/LC_MESSAGES/sphinxcontrib.applehelp.po sphinxcontrib/applehelp/locales/ta/LC_MESSAGES/sphinxcontrib.applehelp.mo @@ -114,8 +111,6 @@ sphinxcontrib_applehelp.egg-info/PKG-INFO sphinxcontrib_applehelp.egg-info/SOURCES.txt sphinxcontrib_applehelp.egg-info/dependency_links.txt -sphinxcontrib_applehelp.egg-info/namespace_packages.txt -sphinxcontrib_applehelp.egg-info/not-zip-safe sphinxcontrib_applehelp.egg-info/requires.txt sphinxcontrib_applehelp.egg-info/top_level.txt tests/conftest.py
View file
_service:tar_scm:sphinxcontrib-applehelp-1.0.2.tar.gz/tox.ini -> _service:tar_scm:sphinxcontrib-applehelp-1.0.4.tar.gz/tox.ini
Changed
@@ -1,27 +1,37 @@ tox -envlist=flake8,mypy,py35,py36,py37,py38,py39 +minversion = 2.4.0 +envlist = + py{38,39,310,311,312}, + flake8, + mypy +isolated_build = True testenv +usedevelop = True +passenv = + https_proxy + http_proxy + no_proxy + COLORTERM + PERL + PERL5LIB + PYTEST_ADDOPTS + TERM deps= pytest - git+https://github.com/sphinx-doc/sphinx + sphinx @ git+https://github.com/sphinx-doc/sphinx extras= test setenv = PYTHONWARNINGS = all,ignore::DeprecationWarning:docutils.io + PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:} --color yes commands= - pytest --durations 25 {posargs} - -testenv:py39 -deps = - {testenvdeps} - git+https://github.com/html5lib/html5lib-python + python -X dev -X warn_default_encoding -m pytest --durations 25 {posargs} testenv:flake8 description = Run style checks. extras= - test lint commands= flake8 @@ -30,7 +40,6 @@ description = Run type checks. extras= - test lint commands= mypy sphinxcontrib/
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2