pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-sphinx



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Feb 17 20:25:43 UTC 2020

Modified Files:
        pkgsrc/textproc/py-sphinx: Makefile PLIST distinfo

Log Message:
py-sphinx: updated to 2.4.1

Release 2.4.1:

Bugs fixed
* html: crashed when on scaling SVG images which have float dimentions
* autodoc: TypeError: ‘getset_descriptor’ object is not iterable

Release 2.4.0:

Deprecated
The decode argument of sphinx.pycode.ModuleAnalyzer()
sphinx.directives.other.Index
sphinx.environment.temp_data['gloss_entries']
sphinx.environment.BuildEnvironment.indexentries
sphinx.environment.collectors.indexentries.IndexEntriesCollector
sphinx.ext.apidoc.INITPY
sphinx.ext.apidoc.shall_skip()
sphinx.io.FiletypeNotFoundError
sphinx.io.get_filetype()
sphinx.pycode.ModuleAnalyzer.encoding
sphinx.roles.Index
sphinx.util.detect_encoding()
sphinx.util.get_module_source()
sphinx.util.inspect.Signature
sphinx.util.inspect.safe_getmembers()
sphinx.writers.latex.LaTeXTranslator.settings.author
sphinx.writers.latex.LaTeXTranslator.settings.contentsname
sphinx.writers.latex.LaTeXTranslator.settings.docclass
sphinx.writers.latex.LaTeXTranslator.settings.docname
sphinx.writers.latex.LaTeXTranslator.settings.title
sphinx.writers.latex.ADDITIONAL_SETTINGS
sphinx.writers.latex.DEFAULT_SETTINGS
sphinx.writers.latex.LUALATEX_DEFAULT_FONTPKG
sphinx.writers.latex.PDFLATEX_DEFAULT_FONTPKG
sphinx.writers.latex.XELATEX_DEFAULT_FONTPKG
sphinx.writers.latex.XELATEX_GREEK_DEFAULT_FONTPKG

Features added
* inheritance_diagram: Make the background of diagrams transparent
* duration: Add sphinx.ext.durations to inspect which documents slow down the build
* LaTeX: Support a nested table
* LaTeX: Allow to override LATEXOPTS and LATEXMKOPTS via environment variable
* graphviz: Support :class: option
* html: :scale: option of image/figure directive not working for SVG images (imagesize-1.2.0 or above is required)
* imgconverter: Support illustrator file (.ai) to .png conversion
* autodoc: Support Positional-Only Argument separator (PEP-570 compliant)
* autodoc: Support type annotations for variables
* autodoc: Add new event: autodoc-before-process-signature
* autodoc: Support type_comment style (ex. # type: (str) -> str) annotation (python3.8+ or typed_ast is required)
* autodoc: Support instance variables without defaults (PEP-526)
* autodoc: Add a new extension sphinx.ext.autodoc.typehints. It shows typehints as object description if autodoc_typehints = "description" set. This is an experimental extension and it will be 
integrated into autodoc core in Sphinx-3.0
* SphinxTranslator now calls visitor/departure method for super node class if visitor/departure method for original node class not found
* Add new event: object-description-transform
* py domain: py:data and py:attribute take new options named :type: and :value: to describe its type and initial value
* py domain: :py:attr: is able to refer properties again
* apidoc: Add -q option for quiet mode

Bugs fixed
* html: Remove redundant type=”text/javascript” from <script> elements
* html: SVG image is not layouted as float even if aligned
* autodoc: failed to read the source codes encoeded in cp1251
* latex: warning for babel shown twice
* latex: LaTeX compilation falls into infinite loop (wrapfig issue)
* latex: :reversed: option for toctree does not effect to LaTeX build
* Wrong node-ids are generated in glossary directive
* apidoc: misdetects module name for .so file inside module
* apidoc: private members are not shown even if --private given
* apidoc: Support a python package consisted of __init__.so file
* napoleon: fails to parse tilde in :exc: role
* gettext: Absolute path used in message catalogs
* autodoc: nested partial functions are not listed
* autodoc: partial functions imported from other modules are listed as module members without :impoprted-members: option
* autodoc: Trailing comma in :members:: option causes cryptic warning
* autosummary: autosummary_imported_members is ignored on generating a stub file for submodule
* linkcheck: redirect is treated as an error
* HTML template: If navigation_with_keys option is activated, modifier keys are ignored, which means the feature can interfere with browser features
* std domain: Can’t assign numfig-numbers for custom container nodes
* std domain: enumerated nodes are marked as duplicated when extensions call note_explicit_target()
* dirhtml: Cross references are broken via intersphinx and :doc: role
* C++:
  - Don’t crash when using the struct role in some cases.
  - Don’t warn when using the var/member role for function parameters.
  - Render call and braced-init expressions correctly.
* Filenames of images generated by sphinx.transforms.post_transforms.images.ImageConverter or its subclasses (used for latex build) are now sanitized, to prevent broken paths


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 pkgsrc/textproc/py-sphinx/Makefile
cvs rdiff -u -r1.27 -r1.28 pkgsrc/textproc/py-sphinx/PLIST
cvs rdiff -u -r1.46 -r1.47 pkgsrc/textproc/py-sphinx/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-sphinx/Makefile
diff -u pkgsrc/textproc/py-sphinx/Makefile:1.69 pkgsrc/textproc/py-sphinx/Makefile:1.70
--- pkgsrc/textproc/py-sphinx/Makefile:1.69     Tue Dec 31 10:38:46 2019
+++ pkgsrc/textproc/py-sphinx/Makefile  Mon Feb 17 20:25:43 2020
@@ -1,12 +1,12 @@
-# $NetBSD: Makefile,v 1.69 2019/12/31 10:38:46 adam Exp $
+# $NetBSD: Makefile,v 1.70 2020/02/17 20:25:43 adam Exp $
 
-DISTNAME=      Sphinx-2.3.1
+DISTNAME=      Sphinx-2.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=S/Sphinx/}
 
 MAINTAINER=    markd%NetBSD.org@localhost
-HOMEPAGE=      http://www.sphinx-doc.org/
+HOMEPAGE=      https://www.sphinx-doc.org/
 COMMENT=       Python documentation generator
 LICENSE=       modified-bsd
 
@@ -27,8 +27,6 @@ DEPENDS+=     ${PYPKGPREFIX}-sphinxcontrib-j
 DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-htmlhelp-[0-9]*:../../textproc/py-sphinxcontrib-htmlhelp
 DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-serializinghtml-[0-9]*:../../textproc/py-sphinxcontrib-serializinghtml
 DEPENDS+=      ${PYPKGPREFIX}-sphinxcontrib-qthelp-[0-9]*:../../textproc/py-sphinxcontrib-qthelp
-DEPENDS+=      ${PYPKGPREFIX}-six>=1.5:../../lang/py-six
-
 TEST_DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov

Index: pkgsrc/textproc/py-sphinx/PLIST
diff -u pkgsrc/textproc/py-sphinx/PLIST:1.27 pkgsrc/textproc/py-sphinx/PLIST:1.28
--- pkgsrc/textproc/py-sphinx/PLIST:1.27        Tue Dec 31 10:38:46 2019
+++ pkgsrc/textproc/py-sphinx/PLIST     Mon Feb 17 20:25:43 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.27 2019/12/31 10:38:46 adam Exp $
+@comment $NetBSD: PLIST,v 1.28 2020/02/17 20:25:43 adam Exp $
 bin/sphinx-apidoc-${PYVERSSUFFIX}
 bin/sphinx-autogen-${PYVERSSUFFIX}
 bin/sphinx-build-${PYVERSSUFFIX}
@@ -58,6 +58,9 @@ ${PYSITELIB}/sphinx/builders/htmlhelp.py
 ${PYSITELIB}/sphinx/builders/latex/__init__.py
 ${PYSITELIB}/sphinx/builders/latex/__init__.pyc
 ${PYSITELIB}/sphinx/builders/latex/__init__.pyo
+${PYSITELIB}/sphinx/builders/latex/constants.py
+${PYSITELIB}/sphinx/builders/latex/constants.pyc
+${PYSITELIB}/sphinx/builders/latex/constants.pyo
 ${PYSITELIB}/sphinx/builders/latex/nodes.py
 ${PYSITELIB}/sphinx/builders/latex/nodes.pyc
 ${PYSITELIB}/sphinx/builders/latex/nodes.pyo
@@ -136,6 +139,9 @@ ${PYSITELIB}/sphinx/domains/citation.pyo
 ${PYSITELIB}/sphinx/domains/cpp.py
 ${PYSITELIB}/sphinx/domains/cpp.pyc
 ${PYSITELIB}/sphinx/domains/cpp.pyo
+${PYSITELIB}/sphinx/domains/index.py
+${PYSITELIB}/sphinx/domains/index.pyc
+${PYSITELIB}/sphinx/domains/index.pyo
 ${PYSITELIB}/sphinx/domains/javascript.py
 ${PYSITELIB}/sphinx/domains/javascript.pyc
 ${PYSITELIB}/sphinx/domains/javascript.pyo
@@ -211,6 +217,12 @@ ${PYSITELIB}/sphinx/ext/autodoc/importer
 ${PYSITELIB}/sphinx/ext/autodoc/mock.py
 ${PYSITELIB}/sphinx/ext/autodoc/mock.pyc
 ${PYSITELIB}/sphinx/ext/autodoc/mock.pyo
+${PYSITELIB}/sphinx/ext/autodoc/type_comment.py
+${PYSITELIB}/sphinx/ext/autodoc/type_comment.pyc
+${PYSITELIB}/sphinx/ext/autodoc/type_comment.pyo
+${PYSITELIB}/sphinx/ext/autodoc/typehints.py
+${PYSITELIB}/sphinx/ext/autodoc/typehints.pyc
+${PYSITELIB}/sphinx/ext/autodoc/typehints.pyo
 ${PYSITELIB}/sphinx/ext/autosectionlabel.py
 ${PYSITELIB}/sphinx/ext/autosectionlabel.pyc
 ${PYSITELIB}/sphinx/ext/autosectionlabel.pyo
@@ -229,6 +241,9 @@ ${PYSITELIB}/sphinx/ext/coverage.pyo
 ${PYSITELIB}/sphinx/ext/doctest.py
 ${PYSITELIB}/sphinx/ext/doctest.pyc
 ${PYSITELIB}/sphinx/ext/doctest.pyo
+${PYSITELIB}/sphinx/ext/duration.py
+${PYSITELIB}/sphinx/ext/duration.pyc
+${PYSITELIB}/sphinx/ext/duration.pyo
 ${PYSITELIB}/sphinx/ext/extlinks.py
 ${PYSITELIB}/sphinx/ext/extlinks.pyc
 ${PYSITELIB}/sphinx/ext/extlinks.pyo
@@ -464,6 +479,9 @@ ${PYSITELIB}/sphinx/project.pyo
 ${PYSITELIB}/sphinx/pycode/__init__.py
 ${PYSITELIB}/sphinx/pycode/__init__.pyc
 ${PYSITELIB}/sphinx/pycode/__init__.pyo
+${PYSITELIB}/sphinx/pycode/ast.py
+${PYSITELIB}/sphinx/pycode/ast.pyc
+${PYSITELIB}/sphinx/pycode/ast.pyo
 ${PYSITELIB}/sphinx/pycode/parser.py
 ${PYSITELIB}/sphinx/pycode/parser.pyc
 ${PYSITELIB}/sphinx/pycode/parser.pyo

Index: pkgsrc/textproc/py-sphinx/distinfo
diff -u pkgsrc/textproc/py-sphinx/distinfo:1.46 pkgsrc/textproc/py-sphinx/distinfo:1.47
--- pkgsrc/textproc/py-sphinx/distinfo:1.46     Tue Dec 31 10:38:46 2019
+++ pkgsrc/textproc/py-sphinx/distinfo  Mon Feb 17 20:25:43 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.46 2019/12/31 10:38:46 adam Exp $
+$NetBSD: distinfo,v 1.47 2020/02/17 20:25:43 adam Exp $
 
-SHA1 (Sphinx-2.3.1.tar.gz) = 7b895f83397829abbc1f7866c7adbd21bf8dfac2
-RMD160 (Sphinx-2.3.1.tar.gz) = 89134b34f41840e6f9c173b6dbe3c69cfadb2357
-SHA512 (Sphinx-2.3.1.tar.gz) = 10916d4d173456c485eca97c65b731d9986f3cf6a7773a33e25e38702a2bba069935cf333cc5747fc8b211d2816a0b8c706513db5e9f5b8034ba73a8975ef045
-Size (Sphinx-2.3.1.tar.gz) = 5838626 bytes
+SHA1 (Sphinx-2.4.1.tar.gz) = 65464c4e397ffb2ff89a7f48bf8e1eb0843cdaf6
+RMD160 (Sphinx-2.4.1.tar.gz) = d201cfba4262ff7406e460566bc310d3940662b4
+SHA512 (Sphinx-2.4.1.tar.gz) = dc741e6b0604151134b1680fb3c7a29bea62a0d5607b11696926bf1fad0bdb863243de323c5f004c8f98a4d62a4325c233c555b193884c54902653e2a086e51b
+Size (Sphinx-2.4.1.tar.gz) = 5853254 bytes



Home | Main Index | Thread Index | Old Index