git: 9301f24beaa9 - main - textproc/py-numpydoc: Update to 1.6.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Dec 2023 16:17:15 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9301f24beaa9d8f5d7576a79093fb9516b041cf6 commit 9301f24beaa9d8f5d7576a79093fb9516b041cf6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-12-25 16:04:05 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-12-25 16:11:02 +0000 textproc/py-numpydoc: Update to 1.6.0 - Update WWW Changes: https://github.com/numpy/numpydoc/releases https://numpydoc.readthedocs.io/en/latest/release_notes.html --- textproc/py-numpydoc/Makefile | 20 +++++++++++++++----- textproc/py-numpydoc/distinfo | 6 +++--- textproc/py-numpydoc/files/patch-pyproject.toml | 11 +++++++++++ 3 files changed, 29 insertions(+), 8 deletions(-) diff --git a/textproc/py-numpydoc/Makefile b/textproc/py-numpydoc/Makefile index a509d7606b6c..62c8c62b9767 100644 --- a/textproc/py-numpydoc/Makefile +++ b/textproc/py-numpydoc/Makefile @@ -1,22 +1,32 @@ PORTNAME= numpydoc -PORTVERSION= 1.5.0 +PORTVERSION= 1.6.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Sphinx extension to support docstrings in Numpy format -WWW= https://github.com/numpy/numpydoc +WWW= https://numpydoc.readthedocs.io/en/latest/ \ + https://github.com/numpy/numpydoc LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sphinx>=4.2:textproc/py-sphinx@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}sphinx>=5,1:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tabulate>=0.8.9:devel/py-tabulate@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils nose +USE_PYTHON= autoplist concurrent pep517 nose NO_ARCH= yes -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/py-numpydoc/distinfo b/textproc/py-numpydoc/distinfo index fb061053d3ea..438d2b3fe4a8 100644 --- a/textproc/py-numpydoc/distinfo +++ b/textproc/py-numpydoc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1666317223 -SHA256 (numpydoc-1.5.0.tar.gz) = b0db7b75a32367a0e25c23b397842c65e344a1206524d16c8069f0a1c91b5f4c -SIZE (numpydoc-1.5.0.tar.gz) = 71892 +TIMESTAMP = 1703495909 +SHA256 (numpydoc-1.6.0.tar.gz) = ae7a5380f0a06373c3afe16ccd15bd79bc6b07f2704cbc6f1e7ecc94b4f5fc0d +SIZE (numpydoc-1.6.0.tar.gz) = 85475 diff --git a/textproc/py-numpydoc/files/patch-pyproject.toml b/textproc/py-numpydoc/files/patch-pyproject.toml new file mode 100644 index 000000000000..33af07953ba8 --- /dev/null +++ b/textproc/py-numpydoc/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- pyproject.toml.orig 2023-08-31 17:00:35 UTC ++++ pyproject.toml +@@ -27,7 +27,7 @@ classifiers = [ + dependencies = [ + 'sphinx>=5', + 'Jinja2>=2.10', +- 'tabulate>=0.8.10', ++ 'tabulate>=0.8.9', + "tomli>=1.1.0;python_version<'3.11'", + ] +