Thu Nov 11 08:59:09 2021 UTC ()
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.


(adam)
diff -r1.77 -r1.78 pkgsrc/textproc/py-sphinx/Makefile
diff -r1.55 -r1.56 pkgsrc/textproc/py-sphinx/distinfo

cvs diff -r1.77 -r1.78 pkgsrc/textproc/py-sphinx/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-sphinx/Makefile 2021/10/29 16:16:41 1.77
+++ pkgsrc/textproc/py-sphinx/Makefile 2021/11/11 08:59:09 1.78
@@ -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
3DISTNAME= Sphinx-4.2.0 3DISTNAME= Sphinx-4.3.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
5CATEGORIES= textproc python 5CATEGORIES= textproc python
6MASTER_SITES= ${MASTER_SITE_PYPI:=S/Sphinx/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=S/Sphinx/}
7 7
8MAINTAINER= markd@NetBSD.org 8MAINTAINER= markd@NetBSD.org
9HOMEPAGE= https://www.sphinx-doc.org/ 9HOMEPAGE= https://www.sphinx-doc.org/
10COMMENT= Python documentation generator 10COMMENT= Python documentation generator
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13DEPENDS+= ${PYPKGPREFIX}-alabaster>=0.7:../../textproc/py-alabaster 13DEPENDS+= ${PYPKGPREFIX}-alabaster>=0.7:../../textproc/py-alabaster
14DEPENDS+= ${PYPKGPREFIX}-babel>=1.3:../../devel/py-babel 14DEPENDS+= ${PYPKGPREFIX}-babel>=1.3:../../devel/py-babel
15DEPENDS+= ${PYPKGPREFIX}-docutils>=0.14:../../textproc/py-docutils 15DEPENDS+= ${PYPKGPREFIX}-docutils>=0.14:../../textproc/py-docutils
16DEPENDS+= ${PYPKGPREFIX}-imagesize-[0-9]*:../../graphics/py-imagesize 16DEPENDS+= ${PYPKGPREFIX}-imagesize-[0-9]*:../../graphics/py-imagesize
17DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.3:../../textproc/py-jinja2 17DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.3:../../textproc/py-jinja2
18DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging 18DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
19DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments 19DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments
20DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz 20DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
21DEPENDS+= ${PYPKGPREFIX}-requests>=2.5.0:../../devel/py-requests 21DEPENDS+= ${PYPKGPREFIX}-requests>=2.5.0:../../devel/py-requests
22DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools 22DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
23DEPENDS+= ${PYPKGPREFIX}-snowballstemmer>=1.1:../../textproc/py-snowballstemmer 23DEPENDS+= ${PYPKGPREFIX}-snowballstemmer>=1.1:../../textproc/py-snowballstemmer
24DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-applehelp-[0-9]*:../../textproc/py-sphinxcontrib-applehelp 24DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-applehelp-[0-9]*:../../textproc/py-sphinxcontrib-applehelp
25DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-devhelp-[0-9]*:../../textproc/py-sphinxcontrib-devhelp 25DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-devhelp-[0-9]*:../../textproc/py-sphinxcontrib-devhelp
26DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jsmath-[0-9]*:../../textproc/py-sphinxcontrib-jsmath 26DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jsmath-[0-9]*:../../textproc/py-sphinxcontrib-jsmath
27DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-htmlhelp-[0-9]*:../../textproc/py-sphinxcontrib-htmlhelp 27DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-htmlhelp>=2.0.0:../../textproc/py-sphinxcontrib-htmlhelp
28DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-serializinghtml-[0-9]*:../../textproc/py-sphinxcontrib-serializinghtml 28DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-serializinghtml>=1.1.5:../../textproc/py-sphinxcontrib-serializinghtml
29DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-qthelp-[0-9]*:../../textproc/py-sphinxcontrib-qthelp 29DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-qthelp-[0-9]*:../../textproc/py-sphinxcontrib-qthelp
30TEST_DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib 30TEST_DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
31TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 31TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
32TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov 32TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
33TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner 33TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
34 34
35USE_LANGUAGES= # none 35USE_LANGUAGES= # none
36USE_TOOLS+= makeinfo 36USE_TOOLS+= makeinfo
37 37
38PYSETUPTESTTARGET= pytest 38PYSETUPTESTTARGET= pytest
39 39
40PYTHON_VERSIONS_INCOMPATIBLE= 27 40PYTHON_VERSIONS_INCOMPATIBLE= 27
41 41

cvs diff -r1.55 -r1.56 pkgsrc/textproc/py-sphinx/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/py-sphinx/distinfo 2021/10/29 16:16:41 1.55
+++ pkgsrc/textproc/py-sphinx/distinfo 2021/11/11 08:59:09 1.56
@@ -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
3BLAKE2s (Sphinx-4.2.0.tar.gz) = 1f1d54e6a70bf5a123c7e02bcc010fc2d1d8875345254331553d6083da36ca19 3BLAKE2s (Sphinx-4.3.0.tar.gz) = 5c1a93ac77e16debc5482648a44f4e63c64d4de1a918fc7ecb649b092f7112c5
4SHA512 (Sphinx-4.2.0.tar.gz) = 6c6a2424362805b758c43136a9293dcfb02d45af6e6dc2dd7ed9382f6ae04ecfbd416efeecb42219b67d026a4a0b007500e87b20d81847ab48e2ccfcdca52e75 4SHA512 (Sphinx-4.3.0.tar.gz) = ba3463135dc578024819d9c70b3707d4465c4a71aa305474f7b34b14e276ee491e029bb8bc93c05ed1463a6bc63a82e0507c16ede7046fd1216e31553027e449
5Size (Sphinx-4.2.0.tar.gz) = 6503692 bytes 5Size (Sphinx-4.3.0.tar.gz) = 6657624 bytes
6SHA1 (patch-setup.py) = 6e34e3917deaa935180f52ef340f41601c7e717b