pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-sphinx-argparse



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jul  6 08:22:32 UTC 2026

Modified Files:
        pkgsrc/textproc/py-sphinx-argparse: Makefile PLIST distinfo
Removed Files:
        pkgsrc/textproc/py-sphinx-argparse/patches: patch-sphinxarg_ext.py

Log Message:
py-sphinx-argparse: update to 0.6.0.

    Optional command index.

    Optional :index-groups: field to the directive for an command-by-group index.

    A sphinxarg_full_subcommand_name option to print fully-qualified sub-command headings. This option helps when more than one sub-command offers a create or list or other repeated sub-command.

    Each command heading is a domain-specific link target. You can link to commands and sub-commands with the :ref: role, but this release adds support for the domain-specific role like 
:commands:command:`sample-directive-opts A` ``. The ``:commands:command: role supports linking from other projects through the intersphinx extension.

Changes

    Previously, common headings such as Positional Arguments were subject to a process that made them unique by adding a _repeatX suffix to the HREF target. This release continues to support those 
HREF targets as secondary targets so that bookmarks continue to work. However, this release prefers using fully-qualified HREF targets like sample-directive-opts-positional-arguments as the primary 
HREF so that customers are less likely to witness the _repeatX link in URLs.

    #32 Argparse commands are now part of a Sphinx domain

    #72 Coloring in argparse output can be disabled (default)

    #87 The :filename: input is now resolved only to the conf.py directory (srcdir in Sphinx)

    #89 Changed the way mock from autodoc is important to work around a persistent Sphinx bug


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-sphinx-argparse/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/py-sphinx-argparse/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-sphinx-argparse/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/textproc/py-sphinx-argparse/patches/patch-sphinxarg_ext.py

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-argparse/Makefile
diff -u pkgsrc/textproc/py-sphinx-argparse/Makefile:1.4 pkgsrc/textproc/py-sphinx-argparse/Makefile:1.5
--- pkgsrc/textproc/py-sphinx-argparse/Makefile:1.4     Tue Jan  6 11:18:17 2026
+++ pkgsrc/textproc/py-sphinx-argparse/Makefile Mon Jul  6 08:22:31 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2026/01/06 11:18:17 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2026/07/06 08:22:31 wiz Exp $
 
-DISTNAME=      sphinx_argparse-0.5.2
+DISTNAME=      sphinx_argparse-0.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
-PKGREVISION=   1
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/sphinx-argparse/}
 
@@ -20,8 +19,5 @@ USE_LANGUAGES=        # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  310 311 # py-sphinx
 
-post-install:
-       ${RM} ${DESTDIR}${PREFIX}/${PYSITELIB}/sphinxarg/ext.py.orig
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-sphinx-argparse/PLIST
diff -u pkgsrc/textproc/py-sphinx-argparse/PLIST:1.1 pkgsrc/textproc/py-sphinx-argparse/PLIST:1.2
--- pkgsrc/textproc/py-sphinx-argparse/PLIST:1.1        Sun Jul 27 09:04:35 2025
+++ pkgsrc/textproc/py-sphinx-argparse/PLIST    Mon Jul  6 08:22:31 2026
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2025/07/27 09:04:35 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/07/06 08:22:31 wiz Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENCE.rst
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.rst
 ${PYSITELIB}/sphinxarg/__init__.py
 ${PYSITELIB}/sphinxarg/__init__.pyc
 ${PYSITELIB}/sphinxarg/__init__.pyo
@@ -15,3 +15,6 @@ ${PYSITELIB}/sphinxarg/markdown.pyo
 ${PYSITELIB}/sphinxarg/parser.py
 ${PYSITELIB}/sphinxarg/parser.pyc
 ${PYSITELIB}/sphinxarg/parser.pyo
+${PYSITELIB}/sphinxarg/utils.py
+${PYSITELIB}/sphinxarg/utils.pyc
+${PYSITELIB}/sphinxarg/utils.pyo

Index: pkgsrc/textproc/py-sphinx-argparse/distinfo
diff -u pkgsrc/textproc/py-sphinx-argparse/distinfo:1.2 pkgsrc/textproc/py-sphinx-argparse/distinfo:1.3
--- pkgsrc/textproc/py-sphinx-argparse/distinfo:1.2     Sun Dec 28 21:22:50 2025
+++ pkgsrc/textproc/py-sphinx-argparse/distinfo Mon Jul  6 08:22:31 2026
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2025/12/28 21:22:50 wiz Exp $
+$NetBSD: distinfo,v 1.3 2026/07/06 08:22:31 wiz Exp $
 
-BLAKE2s (sphinx_argparse-0.5.2.tar.gz) = 66be57831ec4c0ebc4f177a5ca1aec746aceda975fa55aaeca96dee812f52bb5
-SHA512 (sphinx_argparse-0.5.2.tar.gz) = d200099392f7ab657f98b98bf0a02992baa5e2762805f4b066cc971a8181fb53ea20c522fbc1927e7be73cb69725c31a0aa9433b59a1deea0d1a805321fa77dd
-Size (sphinx_argparse-0.5.2.tar.gz) = 27838 bytes
-SHA1 (patch-sphinxarg_ext.py) = b935bedaeb9a77fcaa77683084e688c1817d6eb5
+BLAKE2s (sphinx_argparse-0.6.0.tar.gz) = 023a58746ead192cf814c198e602feb54b7d692eade609a6c0a79ae002a4da18
+SHA512 (sphinx_argparse-0.6.0.tar.gz) = 98654e2866adb677953020b29419fe1043a6dcb49d99e95781297505ee17c62226782db36d0e243b6efda1cdc5afbf461230adb863e142c9852e688da8fa5900
+Size (sphinx_argparse-0.6.0.tar.gz) = 37208 bytes



Home | Main Index | Thread Index | Old Index