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 Jan 24 18:21:18 UTC 2022
Modified Files:
pkgsrc/textproc/py-sphinx: Makefile distinfo
Log Message:
py-sphinx: updated to 4.4.0
Release 4.4.0 (released Jan 17, 2022)
=====================================
Dependencies
------------
* Use ``importlib_metadata`` for python-3.9 or older
* Drop ``setuptools``
Features added
--------------
* autodoc: Add a config variable :confval:`autodoc_typehints_format`
to suppress the leading module names of typehints of function signatures (ex.
``io.StringIO`` -> ``StringIO``)
* Autosummary now documents only the members specified in a module's
``__all__`` attribute if :confval:`autosummary_ignore_module_all` is set to
``False``. The default behaviour is unchanged. Autogen also now supports
this behavior with the ``--respect-module-all`` switch.
* autosummary: Improve error messages on failure to load target object
* extlinks: Emit warning if a hardcoded link is replaceable
by an extlink, suggesting a replacement.
* html: Support nested <kbd> HTML elements in other HTML builders
* html: Allow to change the loading method of JS via ``loading_method``
parameter for :meth:`Sphinx.add_js_file()`
* html search: "Hide Search Matches" link removes "highlight" parameter
from URL
* html theme: Wrap sidebar components in div to allow customizing their
layout via CSS
* i18n: Sort items in glossary by translated terms
* py domain: Allows to specify cross-reference specifier (``.`` and
``~``) as ``:type:`` option
* linkcheck: add option ``linkcheck_exclude_documents`` to disable link
checking in matched documents.
* sphinx-build: Allow to use the parallel build feature in macOS on macOS
and Python3.8+
* sphinx-build: Create directories when ``-w`` option given
* std domain: Allow to refer an inline target (ex. ``_`target name```)
via :rst:role:`ref` role
* std domain: Strip value part of the option directive from general index
* texinfo: improve variable in ``samp`` role
* texinfo: Add :confval:`texinfo_cross_references` to disable cross
references for readability with standalone readers
* add new Intersphinx role :rst:role:`external` for explict
lookup in the external projects, without resolving to the local project.
Bugs fixed
----------
* autodoc: doccomment for the imported class was ignored
* autodoc: doccomment for the alias to mocked object was ignored
* autodoc: debug message is shown on building document using NewTypes
with Python 3.10
* autodoc: instance variables are not shown if __init__ method has
position-only-arguments
* autodoc: types under the "typing" module are not hyperlinked
* autodoc: Crashes if target object raises an error on getting docstring
* autosummary: Imported members are not shown when
``autodoc_class_signature = 'separated'``
* i18n: topic directive having a bullet list can't be translatable
* mathjax: MathJax configuration is placed after loading MathJax itself
* napoleon: empty "returns" section is generated even if no description
* Generated RFC links use outdated base url
* HTML, prevent line-wrapping in literal text.
* html theme: Configuration values added by themes are not be able to
override from conf.py
* imgconverter: Unnecessary availablity check is called for "data" URIs
* LaTeX: prohibit also with ``'xelatex'`` line splitting at dashes of
inline and parsed literals
* LaTeX: extra vertical whitespace for some nested declarations
* LaTeX: Multi-function declaration in Python domain has cramped
vertical spacing in latexpdf output
* py domain: types under the "typing" module are not hyperlinked defined
at info-field-list
* texinfo: Do not emit labels inside footnotes
* xml: Invalid XML was generated when cross referencing python objects
* Error level messages were displayed as warning messages
* Failed to scan documents if the project is placed onto the root
directory
* code-block: ``:dedent:`` without argument did strip newlines
To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 pkgsrc/textproc/py-sphinx/Makefile
cvs rdiff -u -r1.58 -r1.59 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.82 pkgsrc/textproc/py-sphinx/Makefile:1.83
--- pkgsrc/textproc/py-sphinx/Makefile:1.82 Wed Jan 5 15:41:26 2022
+++ pkgsrc/textproc/py-sphinx/Makefile Mon Jan 24 18:21:18 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.82 2022/01/05 15:41:26 wiz Exp $
+# $NetBSD: Makefile,v 1.83 2022/01/24 18:21:18 adam Exp $
-DISTNAME= Sphinx-4.3.2
+DISTNAME= Sphinx-4.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=S/Sphinx/}
@@ -20,14 +19,13 @@ DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]
DEPENDS+= ${PYPKGPREFIX}-pygments>=2.0:../../textproc/py-pygments
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-requests>=2.5.0:../../devel/py-requests
-DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-snowballstemmer>=1.1:../../textproc/py-snowballstemmer
DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-applehelp-[0-9]*:../../textproc/py-sphinxcontrib-applehelp
DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-devhelp-[0-9]*:../../textproc/py-sphinxcontrib-devhelp
-DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jsmath-[0-9]*:../../textproc/py-sphinxcontrib-jsmath
DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-htmlhelp>=2.0.0:../../textproc/py-sphinxcontrib-htmlhelp
-DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-serializinghtml>=1.1.5:../../textproc/py-sphinxcontrib-serializinghtml
+DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-jsmath-[0-9]*:../../textproc/py-sphinxcontrib-jsmath
DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-qthelp-[0-9]*:../../textproc/py-sphinxcontrib-qthelp
+DEPENDS+= ${PYPKGPREFIX}-sphinxcontrib-serializinghtml>=1.1.5:../../textproc/py-sphinxcontrib-serializinghtml
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
@@ -40,6 +38,11 @@ PYSETUPTESTTARGET= pytest
PYTHON_VERSIONS_INCOMPATIBLE= 27
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 310
+DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=4.4:../../devel/py-importlib-metadata
+.endif
+
USE_PKG_RESOURCES= yes
post-install:
Index: pkgsrc/textproc/py-sphinx/distinfo
diff -u pkgsrc/textproc/py-sphinx/distinfo:1.58 pkgsrc/textproc/py-sphinx/distinfo:1.59
--- pkgsrc/textproc/py-sphinx/distinfo:1.58 Sun Dec 19 16:49:41 2021
+++ pkgsrc/textproc/py-sphinx/distinfo Mon Jan 24 18:21:18 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.58 2021/12/19 16:49:41 adam Exp $
+$NetBSD: distinfo,v 1.59 2022/01/24 18:21:18 adam Exp $
-BLAKE2s (Sphinx-4.3.2.tar.gz) = c35cf1dfb50ef821d2ed5fce31b007b5025988a730e668984ab9453629644dcf
-SHA512 (Sphinx-4.3.2.tar.gz) = 2045e1964aef54826a2cde30e6c09b7ec35d49a45b7e449c07ee107c41304435eb51e2be307af77bed4ec50534e6e4009501d58187baa1a129134b69cdc56dff
-Size (Sphinx-4.3.2.tar.gz) = 6657148 bytes
+BLAKE2s (Sphinx-4.4.0.tar.gz) = e6f204a3d791556c0de80e7f76101f0f5bcc09a9b74aefb222aeb50d03df5e0f
+SHA512 (Sphinx-4.4.0.tar.gz) = f5780a7da7a5d758b0e145ab9a7f191a9c65fd3ca4624ca3a04f0d161e3cd6c7133df53ff56e42f012687cbce0460178c2e7957974b5b929b341c98db996c640
+Size (Sphinx-4.4.0.tar.gz) = 6690021 bytes
Home |
Main Index |
Thread Index |
Old Index