py-sphinx: updated to 4.3.0 Release 4.3.0 Dependencies Support Python 3.10 Incompatible changes * searchindex.js: the embedded data has changed format to allow objects with the same name in different domains. * The rendering of Python domain declarations is implemented with more docutils nodes to allow better CSS styling. It may break existing styling. * the signature of domains.py.PyObject.get_signature_prefix() has changed to return a list of nodes instead of a plain string. * domains.js.JSObject.display_prefix has been changed into a method get_display_prefix which now returns a list of nodes instead of a plain string. * The rendering of Javascript domain declarations is implemented with more docutils nodes to allow better CSS styling. It may break existing styling. * mathjax: Load MathJax via ���defer��� strategy Deprecated sphinx.ext.autodoc.AttributeDocumenter._datadescriptor sphinx.writers.html.HTMLTranslator._fieldlist_row_index sphinx.writers.html.HTMLTranslator._table_row_index sphinx.writers.html5.HTML5Translator._fieldlist_row_index sphinx.writers.html5.HTML5Translator._table_row_index Features added * autodoc: Support asynchronous generator functions * autodoc: autodoc-process-bases supports to inject reST snippet as a base class * C, added new info-field retval for c:function and c:macro. C++, added new info-field retval for cpp:function. * i18n: Add gettext_allow_fuzzy_translations to allow ���fuzzy��� messages for translation * More CSS classes on Python domain descriptions * More CSS classes on Javascript domain descriptions * Revert the removal of add_stylesheet() API. It will be kept until the Sphinx-6.0 release * add intersphinx_disabled_reftypes for disabling interphinx resolution of cross-references that do not have an explicit inventory specification. Specific types of cross-references can be disabled, e.g., std:doc or all cross-references in a specific domain, e.g., std:*. * Allow to suppress ���toctree contains reference to excluded document��� warnings using suppress_warnings Bugs fixed * autodoc: Failed to build cross references if primary_domain is not ���py��� * autodoc: Crashed on getting source info from problematic object * autodoc: mocked object having doc comment is warned unexpectedly * autodoc: return type field is not generated even if autodoc_typehints_description_target is set to ���documented��� when its info-field-list contains :returns: field * autodoc: The base class for a subclass of mocked object is incorrect * autodoc: Incorrect base class detection for the subclasses of the generic class * autodoc: memory addresses are shown for aliases * autodoc: Failed to detect type annotation for slots attribute * autodoc: Crashed if classmethod does not have __func__ attribute * autodoc: autodoc_inherit_docstrings does not effect to overriden classmethods * autodoc: autodoc_preserve_defaults does not support hexadecimal numeric * autosummary: Failed to build summary table if primary_domain is not ���py��� * html: Fix download file with special characters * html: Wrong styles for even/odd rows in nested tables * html: parameter name and its type annotation are not separated in HTML * HTML search: when objects have the same name but in different domains, return all of them as result instead of just one. * intersphinx: references on the file in sub directory are broken * LaTeX: hlist is rendered as a list containing ���aggedright��� text * linkcheck: file extension was shown twice in warnings * py domain: An index entry with parens was registered for py:method directive with :property: option * py domain: Literal typehint was converted to a cross reference when autodoc_typehints='description' * needs_extension failed to check double-digit version correctly * Fix code` does not recognize :class: option * Fix for logging handler flushing warnings in the middle of the docs build * Fix warnings without subtype being incorrectly suppressed Intersphinx, for unresolved references with an explicit inventory, e.g., proj:myFunc, leave the inventory prefix in the unresolved text.diff -r1.77 -r1.78 pkgsrc/textproc/py-sphinx/Makefile
(adam)
@@ -1,41 +1,41 @@ | @@ -1,41 +1,41 @@ | |||
1 | # $NetBSD: Makefile,v 1.77 2021/10/29 16:16:41 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.78 2021/11/11 08:59:09 adam Exp $ | |
2 | 2 | |||
3 | DISTNAME= Sphinx-4.2.0 | 3 | DISTNAME= Sphinx-4.3.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | |
5 | CATEGORIES= textproc python | 5 | CATEGORIES= textproc python | |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=S/Sphinx/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=S/Sphinx/} | |
7 | 7 | |||
8 | MAINTAINER= markd@NetBSD.org | 8 | MAINTAINER= markd@NetBSD.org | |
9 | HOMEPAGE= https://www.sphinx-doc.org/ | 9 | HOMEPAGE= https://www.sphinx-doc.org/ | |
10 | COMMENT= Python documentation generator | 10 | COMMENT= Python documentation generator | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | DEPENDS+= ${PYPKGPREFIX}-alabaster>=0.7:../../textproc/py-alabaster | 13 | DEPENDS+= ${PYPKGPREFIX}-alabaster>=0.7:../../textproc/py-alabaster | |
14 | DEPENDS+= ${PYPKGPREFIX}-babel>=1.3:../../devel/py-babel | 14 | DEPENDS+= ${PYPKGPREFIX}-babel>=1.3:../../devel/py-babel | |
15 | DEPENDS+= ${PYPKGPREFIX}-docutils>=0.14:../../textproc/py-docutils | 15 | DEPENDS+= ${PYPKGPREFIX}-docutils>=0.14:../../textproc/py-docutils | |
16 | DEPENDS+= ${PYPKGPREFIX}-imagesize-[0-9]*:../../graphics/py-imagesize | 16 | DEPENDS+= ${PYPKGPREFIX}-imagesize-[0-9]*:../../graphics/py-imagesize | |
17 | DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.3:../../textproc/py-jinja2 | 17 | DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.3:../../textproc/py-jinja2 | |
18 | DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging | 18 | DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging | |
19 | DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments | 19 | DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments | |
20 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | 20 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | |
21 | DEPENDS+= ${PYPKGPREFIX}-requests>=2.5.0:../../devel/py-requests | 21 | DEPENDS+= ${PYPKGPREFIX}-requests>=2.5.0:../../devel/py-requests | |
22 | DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | 22 | DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools | |
23 | DEPENDS+= ${PYPKGPREFIX}-snowballstemmer>=1.1:../../textproc/py-snowballstemmer | 23 | DEPENDS+= ${PYPKGPREFIX}-snowballstemmer>=1.1:../../textproc/py-snowballstemmer | |
24 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-applehelp-[0-9]*:../../textproc/py-sphinxcontrib-applehelp | 24 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-applehelp-[0-9]*:../../textproc/py-sphinxcontrib-applehelp | |
25 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-devhelp-[0-9]*:../../textproc/py-sphinxcontrib-devhelp | 25 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-devhelp-[0-9]*:../../textproc/py-sphinxcontrib-devhelp | |
26 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jsmath-[0-9]*:../../textproc/py-sphinxcontrib-jsmath | 26 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jsmath-[0-9]*:../../textproc/py-sphinxcontrib-jsmath | |
27 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-htmlhelp-[0-9]*:../../textproc/py-sphinxcontrib-htmlhelp | 27 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-htmlhelp>=2.0.0:../../textproc/py-sphinxcontrib-htmlhelp | |
28 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-serializinghtml-[0-9]*:../../textproc/py-sphinxcontrib-serializinghtml | 28 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-serializinghtml>=1.1.5:../../textproc/py-sphinxcontrib-serializinghtml | |
29 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-qthelp-[0-9]*:../../textproc/py-sphinxcontrib-qthelp | 29 | DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-qthelp-[0-9]*:../../textproc/py-sphinxcontrib-qthelp | |
30 | TEST_DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib | 30 | TEST_DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib | |
31 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | 31 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test | |
32 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | 32 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov | |
33 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | 33 | TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner | |
34 | 34 | |||
35 | USE_LANGUAGES= # none | 35 | USE_LANGUAGES= # none | |
36 | USE_TOOLS+= makeinfo | 36 | USE_TOOLS+= makeinfo | |
37 | 37 | |||
38 | PYSETUPTESTTARGET= pytest | 38 | PYSETUPTESTTARGET= pytest | |
39 | 39 | |||
40 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 40 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
41 | 41 |
@@ -1,6 +1,5 @@ | @@ -1,6 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.55 2021/10/29 16:16:41 adam Exp $ | 1 | $NetBSD: distinfo,v 1.56 2021/11/11 08:59:09 adam Exp $ | |
2 | 2 | |||
3 | BLAKE2s (Sphinx-4.2.0.tar.gz) = 1f1d54e6a70bf5a123c7e02bcc010fc2d1d8875345254331553d6083da36ca19 | 3 | BLAKE2s (Sphinx-4.3.0.tar.gz) = 5c1a93ac77e16debc5482648a44f4e63c64d4de1a918fc7ecb649b092f7112c5 | |
4 | SHA512 (Sphinx-4.2.0.tar.gz) = 6c6a2424362805b758c43136a9293dcfb02d45af6e6dc2dd7ed9382f6ae04ecfbd416efeecb42219b67d026a4a0b007500e87b20d81847ab48e2ccfcdca52e75 | 4 | SHA512 (Sphinx-4.3.0.tar.gz) = ba3463135dc578024819d9c70b3707d4465c4a71aa305474f7b34b14e276ee491e029bb8bc93c05ed1463a6bc63a82e0507c16ede7046fd1216e31553027e449 | |
5 | Size (Sphinx-4.2.0.tar.gz) = 6503692 bytes | 5 | Size (Sphinx-4.3.0.tar.gz) = 6657624 bytes | |
6 | SHA1 (patch-setup.py) = 6e34e3917deaa935180f52ef340f41601c7e717b |