pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-numpydoc



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat May 11 05:13:15 UTC 2024

Modified Files:
        pkgsrc/textproc/py-numpydoc: Makefile PLIST distinfo
Added Files:
        pkgsrc/textproc/py-numpydoc: ALTERNATIVES

Log Message:
py-numpydoc: updated to 1.7.0

1.7.0

Enhancements

- PERF: wrap inspect.getsourcelines with cache

Bug Fixes

- during tokenize, use UTF8 encoding on all platforms
- fix 'Alias for field number X' problem with NamedTuples

Documentation

- DOC: Fix typos found by codespell
- DOC: Update link to mailing list
- Add Python 3.12 to classifiers
- Update release process
- Update release process

Maintenance

- [pre-commit.ci] pre-commit autoupdate
- [pre-commit.ci] pre-commit autoupdate
- MAINT: apply refurb suggestion
- [pre-commit.ci] pre-commit autoupdate
- Bump actions/setup-python from 4 to 5
- [pre-commit.ci] pre-commit autoupdate
- Filter ``DeprecationWarning`` in failing test for python 3.12
- MAINT: Replace NameConstant with Constant
- [pre-commit.ci] pre-commit autoupdate
- Update precommit repos
- Require sphinx 6
- Use trusted publisher


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-numpydoc/ALTERNATIVES
cvs rdiff -u -r1.11 -r1.12 pkgsrc/textproc/py-numpydoc/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/py-numpydoc/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/py-numpydoc/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-numpydoc/Makefile
diff -u pkgsrc/textproc/py-numpydoc/Makefile:1.11 pkgsrc/textproc/py-numpydoc/Makefile:1.12
--- pkgsrc/textproc/py-numpydoc/Makefile:1.11   Tue Nov  7 22:38:05 2023
+++ pkgsrc/textproc/py-numpydoc/Makefile        Sat May 11 05:13:15 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2023/11/07 22:38:05 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2024/05/11 05:13:15 adam Exp $
 
-DISTNAME=      numpydoc-0.9.1
+DISTNAME=      numpydoc-1.7.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/numpydoc/}
 
@@ -11,12 +10,24 @@ HOMEPAGE=   https://github.com/numpy/numpy
 COMMENT=       Sphinx extension to support docstrings in Numpy format
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
-DEPENDS+=      ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.2:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-tabulate>=0.8.10:../../textproc/py-tabulate
+DEPENDS+=      ${PYPKGPREFIX}-sphinx>=6:../../textproc/py-sphinx
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+
+USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27 38
 
-USE_LANGUAGES= # none
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
+.endif
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} validate-docstrings validate-docstrings-${PYVERSSUFFIX} || ${TRUE}
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/py-numpydoc/PLIST
diff -u pkgsrc/textproc/py-numpydoc/PLIST:1.3 pkgsrc/textproc/py-numpydoc/PLIST:1.4
--- pkgsrc/textproc/py-numpydoc/PLIST:1.3       Fri Jun 14 15:17:17 2019
+++ pkgsrc/textproc/py-numpydoc/PLIST   Sat May 11 05:13:15 2024
@@ -1,21 +1,35 @@
-@comment $NetBSD: PLIST,v 1.3 2019/06/14 15:17:17 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2024/05/11 05:13:15 adam Exp $
+bin/validate-docstrings-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/numpydoc/__init__.py
 ${PYSITELIB}/numpydoc/__init__.pyc
 ${PYSITELIB}/numpydoc/__init__.pyo
 ${PYSITELIB}/numpydoc/__main__.py
 ${PYSITELIB}/numpydoc/__main__.pyc
 ${PYSITELIB}/numpydoc/__main__.pyo
+${PYSITELIB}/numpydoc/_version.py
+${PYSITELIB}/numpydoc/_version.pyc
+${PYSITELIB}/numpydoc/_version.pyo
 ${PYSITELIB}/numpydoc/docscrape.py
 ${PYSITELIB}/numpydoc/docscrape.pyc
 ${PYSITELIB}/numpydoc/docscrape.pyo
 ${PYSITELIB}/numpydoc/docscrape_sphinx.py
 ${PYSITELIB}/numpydoc/docscrape_sphinx.pyc
 ${PYSITELIB}/numpydoc/docscrape_sphinx.pyo
+${PYSITELIB}/numpydoc/hooks/__init__.py
+${PYSITELIB}/numpydoc/hooks/__init__.pyc
+${PYSITELIB}/numpydoc/hooks/__init__.pyo
+${PYSITELIB}/numpydoc/hooks/utils.py
+${PYSITELIB}/numpydoc/hooks/utils.pyc
+${PYSITELIB}/numpydoc/hooks/utils.pyo
+${PYSITELIB}/numpydoc/hooks/validate_docstrings.py
+${PYSITELIB}/numpydoc/hooks/validate_docstrings.pyc
+${PYSITELIB}/numpydoc/hooks/validate_docstrings.pyo
 ${PYSITELIB}/numpydoc/numpydoc.py
 ${PYSITELIB}/numpydoc/numpydoc.pyc
 ${PYSITELIB}/numpydoc/numpydoc.pyo
@@ -23,15 +37,32 @@ ${PYSITELIB}/numpydoc/templates/numpydoc
 ${PYSITELIB}/numpydoc/tests/test_docscrape.py
 ${PYSITELIB}/numpydoc/tests/test_docscrape.pyc
 ${PYSITELIB}/numpydoc/tests/test_docscrape.pyo
+${PYSITELIB}/numpydoc/tests/test_full.py
+${PYSITELIB}/numpydoc/tests/test_full.pyc
+${PYSITELIB}/numpydoc/tests/test_full.pyo
 ${PYSITELIB}/numpydoc/tests/test_main.py
 ${PYSITELIB}/numpydoc/tests/test_main.pyc
 ${PYSITELIB}/numpydoc/tests/test_main.pyo
 ${PYSITELIB}/numpydoc/tests/test_numpydoc.py
 ${PYSITELIB}/numpydoc/tests/test_numpydoc.pyc
 ${PYSITELIB}/numpydoc/tests/test_numpydoc.pyo
+${PYSITELIB}/numpydoc/tests/test_validate.py
+${PYSITELIB}/numpydoc/tests/test_validate.pyc
+${PYSITELIB}/numpydoc/tests/test_validate.pyo
 ${PYSITELIB}/numpydoc/tests/test_xref.py
 ${PYSITELIB}/numpydoc/tests/test_xref.pyc
 ${PYSITELIB}/numpydoc/tests/test_xref.pyo
+${PYSITELIB}/numpydoc/tests/tinybuild/Makefile
+${PYSITELIB}/numpydoc/tests/tinybuild/conf.py
+${PYSITELIB}/numpydoc/tests/tinybuild/conf.pyc
+${PYSITELIB}/numpydoc/tests/tinybuild/conf.pyo
+${PYSITELIB}/numpydoc/tests/tinybuild/index.rst
+${PYSITELIB}/numpydoc/tests/tinybuild/numpydoc_test_module.py
+${PYSITELIB}/numpydoc/tests/tinybuild/numpydoc_test_module.pyc
+${PYSITELIB}/numpydoc/tests/tinybuild/numpydoc_test_module.pyo
+${PYSITELIB}/numpydoc/validate.py
+${PYSITELIB}/numpydoc/validate.pyc
+${PYSITELIB}/numpydoc/validate.pyo
 ${PYSITELIB}/numpydoc/xref.py
 ${PYSITELIB}/numpydoc/xref.pyc
 ${PYSITELIB}/numpydoc/xref.pyo

Index: pkgsrc/textproc/py-numpydoc/distinfo
diff -u pkgsrc/textproc/py-numpydoc/distinfo:1.7 pkgsrc/textproc/py-numpydoc/distinfo:1.8
--- pkgsrc/textproc/py-numpydoc/distinfo:1.7    Tue Oct 26 11:23:09 2021
+++ pkgsrc/textproc/py-numpydoc/distinfo        Sat May 11 05:13:15 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:23:09 nia Exp $
+$NetBSD: distinfo,v 1.8 2024/05/11 05:13:15 adam Exp $
 
-BLAKE2s (numpydoc-0.9.1.tar.gz) = 4b5b8e74a8a39ecc35a501bae0c5621713a42bd6578876230ffb4d238b7d0b8d
-SHA512 (numpydoc-0.9.1.tar.gz) = 85a47ed86823baa3125dde4bb2760ce56f6fed9bb29dc64187dee4101f6344b5065146209f603d50a84a5d9cf0b7f4e5134fc0b495219e68100e05e028b61f2a
-Size (numpydoc-0.9.1.tar.gz) = 27583 bytes
+BLAKE2s (numpydoc-1.7.0.tar.gz) = e506374bf6fbd1d3d124c5b2f3f8a1831101260a1c06b501a24b8fd873be10a5
+SHA512 (numpydoc-1.7.0.tar.gz) = 719ab90d981a1c48e332c2bdd8c41074e679bc4170cb6e7f5111dd473ffc758c7d0c297e3a691ad5df0ed000525c5dcb771fc1c39015eb6da8a1343b8d9dc1cb
+Size (numpydoc-1.7.0.tar.gz) = 87575 bytes

Added files:

Index: pkgsrc/textproc/py-numpydoc/ALTERNATIVES
diff -u /dev/null pkgsrc/textproc/py-numpydoc/ALTERNATIVES:1.1
--- /dev/null   Sat May 11 05:13:15 2024
+++ pkgsrc/textproc/py-numpydoc/ALTERNATIVES    Sat May 11 05:13:15 2024
@@ -0,0 +1 @@
+bin/validate-docstrings @PREFIX@/bin/validate-docstrings-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index