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:           Wed Aug  2 07:16:15 UTC 2023

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

Log Message:
py-sphinx: updated to 7.1.2

Release 7.1.2 (released Aug 02, 2023)
=====================================

Bugs fixed
----------

* linkcheck: Properly respect :confval:`linkcheck_anchors`
  and do not spuriously report failures to validate anchors.
  Patch by James Addison.

Release 7.1.1 (released Jul 27, 2023)
=====================================

Bugs fixed
----------

* Fix ``SOURCE_DATE_EPOCH`` in multi-line copyright footer.
  Patch by Bénédikt Tran.

Release 7.1.0 (released Jul 24, 2023)
=====================================

Incompatible changes
--------------------

* Releases are no longer signed, given the `change in PyPI policy`_.

  .. _change in PyPI policy: https://blog.pypi.org/posts/2023-05-23-removing-pgp/

Deprecated
----------

* Emit warnings on using a deprecated Python-specific index entry type
  (namely, ``module``, ``keyword``, ``operator``, ``object``, ``exception``,
  ``statement``, and ``builtin``) in the :rst:dir:`index` directive, and
  set the removal version to Sphinx 9. Patch by Adam Turner.

Features added
--------------

* Add a checksum to JavaScript and CSS asset URIs included within
  generated HTML, using the CRC32 algorithm.
* :meth:`~sphinx.application.Sphinx.require_sphinx` now allows the version
  requirement to be specified as ``(major, minor)``.
* Allow configuring a line-length limit for object signatures, via
  :confval:`maximum_signature_line_length` and the domain-specific variants.
  If the length of the signature (in characters) is greater than the configured
  limit, each parameter in the signature will be split to its own logical line.
  This behaviour may also be controlled by options on object description
  directives, for example :rst:dir:`py:function:single-line-parameter-list`.
  Patch by Thomas Louf, Adam Turner, and Jean-François B.
* Support for multiline copyright statements in the footer block.
  Patch by Stefanie Molin
* ``sphinx.util.display.status_iterator`` now clears the current line
  with ANSI control codes, rather than overprinting with space characters.
* linkcheck: Treat SSL failures as broken links.
  Patch by James Addison.
* Keep the ``translated`` attribute on translated nodes.
* Improve the traceback displayed when using :option:`sphinx-build -T`
  in parallel builds. Patch by Bénédikt Tran
* linkcheck: Use session-basd HTTP requests.
* Add support for the :rst:dir:`py:class` and :rst:dir:`py:function`
  directives for PEP 695 (generic classes and functions declarations) and
  PEP 696 (default type parameters).  Multi-line support is enabled
  for type parameters list and can be locally controlled on object description
  directives, e.g., :rst:dir:`py:function:single-line-type-parameter-list`.
  Patch by Bénédikt Tran.
* linkcheck: Allow HTML anchors to be ignored on a per-URL basis
  via :confval:`linkcheck_anchors_ignore_for_url` while
  still checking the validity of the page itself.
  Patch by Bénédikt Tran
* Add translation progress statistics and inspection support,
  via a new substitution (``|translation progress|``) and a new
  configuration variable (:confval:`translation_progress_classes`).
  These enable determining the percentage of translated elements within
  a document, and the remaining translated and untranslated elements.

Bugs fixed
----------

* Restored the ``footnote-reference`` class that has been removed in
  the latest (unreleased) version of Docutils.
* Use :rfc:`8081` font file MIME types in the EPUB builder.
  Using the correct MIME type will prevent warnings from ``epubcheck``
  and will generate a valid EPUB.
* Use microsecond-resolution timestamps for outdated file detection
  in ``BuildEnvironment.get_outdated_files``.
* Top-level headings starting with a reStructuredText role
  now render properly when :confval:`rst_prolog` is set.
  Previously, a file starting with the below would have
  improperly rendered due to where the prologue text
  was inserted into the document.

  .. code:: rst

     :mod:`lobster` -- The lobster module
     ====================================

     ...

  Patch by Bénédikt Tran.
* Fix a ``MemoryError`` in ``sphinx.ext.intersphinx`` when using ``None``
  or ``typing.*`` as inline type references. Patch by Bénédikt Tran (picnixz)

Testing
-------

* Always delete ``docutils.conf`` in test directories when running
  ``SphinxTestApp.cleanup()``.


To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/textproc/py-sphinx/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/textproc/py-sphinx/PLIST
cvs rdiff -u -r1.63 -r1.64 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.91 pkgsrc/textproc/py-sphinx/Makefile:1.92
--- pkgsrc/textproc/py-sphinx/Makefile:1.91     Tue Aug  1 23:20:54 2023
+++ pkgsrc/textproc/py-sphinx/Makefile  Wed Aug  2 07:16:15 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.91 2023/08/01 23:20:54 wiz Exp $
+# $NetBSD: Makefile,v 1.92 2023/08/02 07:16:15 adam Exp $
 
-DISTNAME=      Sphinx-7.0.1
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
+DISTNAME=      sphinx-7.1.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=S/Sphinx/}
 
@@ -33,14 +33,10 @@ TEST_DEPENDS+=      ${PYPKGPREFIX}-test>=4.6:
 
 USE_LANGUAGES= # none
 USE_TOOLS+=    makeinfo
-WHEEL_NAME?=   ${DISTNAME:tl:C/-([^0-9])/_\1/g}
-
-PYSETUPTESTTARGET=     pytest
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-
 .if ${PYTHON_VERSION} < 310
 DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=4.8.0:../../devel/py-importlib-metadata
 .endif

Index: pkgsrc/textproc/py-sphinx/PLIST
diff -u pkgsrc/textproc/py-sphinx/PLIST:1.32 pkgsrc/textproc/py-sphinx/PLIST:1.33
--- pkgsrc/textproc/py-sphinx/PLIST:1.32        Thu May  4 09:42:10 2023
+++ pkgsrc/textproc/py-sphinx/PLIST     Wed Aug  2 07:16:15 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.32 2023/05/04 09:42:10 adam Exp $
+@comment $NetBSD: PLIST,v 1.33 2023/08/02 07:16:15 adam Exp $
 bin/sphinx-apidoc-${PYVERSSUFFIX}
 bin/sphinx-autogen-${PYVERSSUFFIX}
 bin/sphinx-build-${PYVERSSUFFIX}
@@ -228,9 +228,15 @@ ${PYSITELIB}/sphinx/locale/da/LC_MESSAGE
 ${PYSITELIB}/sphinx/locale/de/LC_MESSAGES/sphinx.js
 ${PYSITELIB}/sphinx/locale/de/LC_MESSAGES/sphinx.mo
 ${PYSITELIB}/sphinx/locale/de/LC_MESSAGES/sphinx.po
+${PYSITELIB}/sphinx/locale/de_DE/LC_MESSAGES/sphinx.js
+${PYSITELIB}/sphinx/locale/de_DE/LC_MESSAGES/sphinx.mo
+${PYSITELIB}/sphinx/locale/de_DE/LC_MESSAGES/sphinx.po
 ${PYSITELIB}/sphinx/locale/el/LC_MESSAGES/sphinx.js
 ${PYSITELIB}/sphinx/locale/el/LC_MESSAGES/sphinx.mo
 ${PYSITELIB}/sphinx/locale/el/LC_MESSAGES/sphinx.po
+${PYSITELIB}/sphinx/locale/en_DE/LC_MESSAGES/sphinx.js
+${PYSITELIB}/sphinx/locale/en_DE/LC_MESSAGES/sphinx.mo
+${PYSITELIB}/sphinx/locale/en_DE/LC_MESSAGES/sphinx.po
 ${PYSITELIB}/sphinx/locale/en_FR/LC_MESSAGES/sphinx.js
 ${PYSITELIB}/sphinx/locale/en_FR/LC_MESSAGES/sphinx.mo
 ${PYSITELIB}/sphinx/locale/en_FR/LC_MESSAGES/sphinx.po
@@ -246,6 +252,9 @@ ${PYSITELIB}/sphinx/locale/eo/LC_MESSAGE
 ${PYSITELIB}/sphinx/locale/es/LC_MESSAGES/sphinx.js
 ${PYSITELIB}/sphinx/locale/es/LC_MESSAGES/sphinx.mo
 ${PYSITELIB}/sphinx/locale/es/LC_MESSAGES/sphinx.po
+${PYSITELIB}/sphinx/locale/es_CO/LC_MESSAGES/sphinx.js
+${PYSITELIB}/sphinx/locale/es_CO/LC_MESSAGES/sphinx.mo
+${PYSITELIB}/sphinx/locale/es_CO/LC_MESSAGES/sphinx.po
 ${PYSITELIB}/sphinx/locale/et/LC_MESSAGES/sphinx.js
 ${PYSITELIB}/sphinx/locale/et/LC_MESSAGES/sphinx.mo
 ${PYSITELIB}/sphinx/locale/et/LC_MESSAGES/sphinx.po
@@ -291,6 +300,9 @@ ${PYSITELIB}/sphinx/locale/it/LC_MESSAGE
 ${PYSITELIB}/sphinx/locale/ja/LC_MESSAGES/sphinx.js
 ${PYSITELIB}/sphinx/locale/ja/LC_MESSAGES/sphinx.mo
 ${PYSITELIB}/sphinx/locale/ja/LC_MESSAGES/sphinx.po
+${PYSITELIB}/sphinx/locale/ka/LC_MESSAGES/sphinx.js
+${PYSITELIB}/sphinx/locale/ka/LC_MESSAGES/sphinx.mo
+${PYSITELIB}/sphinx/locale/ka/LC_MESSAGES/sphinx.po
 ${PYSITELIB}/sphinx/locale/ko/LC_MESSAGES/sphinx.js
 ${PYSITELIB}/sphinx/locale/ko/LC_MESSAGES/sphinx.mo
 ${PYSITELIB}/sphinx/locale/ko/LC_MESSAGES/sphinx.po

Index: pkgsrc/textproc/py-sphinx/distinfo
diff -u pkgsrc/textproc/py-sphinx/distinfo:1.63 pkgsrc/textproc/py-sphinx/distinfo:1.64
--- pkgsrc/textproc/py-sphinx/distinfo:1.63     Mon May 15 21:01:45 2023
+++ pkgsrc/textproc/py-sphinx/distinfo  Wed Aug  2 07:16:15 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.63 2023/05/15 21:01:45 adam Exp $
+$NetBSD: distinfo,v 1.64 2023/08/02 07:16:15 adam Exp $
 
-BLAKE2s (Sphinx-7.0.1.tar.gz) = 69aef6b809cff5d9ae9087416f0779ba7747ddb36364d8e8588e246f557d56e5
-SHA512 (Sphinx-7.0.1.tar.gz) = 3edbb0460dd5679a26ec8f13f25e4802e6a211735986b42f2ee8d5a15ace6eca044654da3bdca2be235130d9e81dbca1d80a070f8aa762df383b3415a2c1fba3
-Size (Sphinx-7.0.1.tar.gz) = 6666701 bytes
+BLAKE2s (sphinx-7.1.2.tar.gz) = a0b5855143152743afc069321d4de407ab10ad1fd52bd37dd680b31cbe33681a
+SHA512 (sphinx-7.1.2.tar.gz) = d6bccdaa476c700bef444736bb439a4097b9cd40d9c2fce1c3bb889f3677b6d17fe2833b0d3cf4cd3e43927f5fe6f59825f290dabeb2736e77f7f1f26c84d2ec
+Size (sphinx-7.1.2.tar.gz) = 6828258 bytes



Home | Main Index | Thread Index | Old Index