git: 1bdf5449997c - main - textproc/py-dparse: Update to 0.6.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Aug 2023 11:22:53 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=1bdf5449997cb2ab330504f221f3c5d4b83cab17 commit 1bdf5449997cb2ab330504f221f3c5d4b83cab17 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2023-08-31 11:18:01 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2023-08-31 11:18:01 +0000 textproc/py-dparse: Update to 0.6.3 * Add CPE related entries * Introduce CONDA option to reflect the settings as defined in "setup.py" * Simplify Makefile by switching to USE_PYTHON=pytest Changelog since 0.5.1: https://github.com/pyupio/dparse/compare/0.5.1...0.6.3 PR: 270923 [1] Reported by: Hubert Tournier [1] MFH: 2023Q3 Security: 83b29e3f-886f-439f-b9a8-72e014479ff9 --- textproc/py-dparse/Makefile | 32 +++++++++++++++++++------------- textproc/py-dparse/distinfo | 6 +++--- 2 files changed, 22 insertions(+), 16 deletions(-) diff --git a/textproc/py-dparse/Makefile b/textproc/py-dparse/Makefile index 41eba3e923a3..d36de4ddc963 100644 --- a/textproc/py-dparse/Makefile +++ b/textproc/py-dparse/Makefile @@ -1,5 +1,5 @@ PORTNAME= dparse -DISTVERSION= 0.5.1 +DISTVERSION= 0.6.3 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,24 +11,30 @@ WWW= https://github.com/pyupio/dparse LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} -USES= python -USE_PYTHON= distutils autoplist +USES= cpe python +CPE_VENDOR= pyup +CPE_PRODUCT= dependency_parser +USE_PYTHON= autoplist distutils pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes -OPTIONS_DEFINE= PIPENV -OPTIONS_DEFAULT= PIPENV +OPTIONS_DEFINE= CONDA PIPENV +OPTIONS_DEFAULT= CONDA PIPENV +CONDA_DESC= Enable support for Conda YML parsing PIPENV_DESC= Enable support to update Python Pipfiles -PIPENV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pipenv>0:devel/py-pipenv@${PY_FLAVOR} +CONDA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} +PIPENV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pipenv>=2022.12.19:devel/py-pipenv@${PY_FLAVOR} + +.include <bsd.port.pre.mk> -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR} +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/textproc/py-dparse/distinfo b/textproc/py-dparse/distinfo index f02d2892bfe2..51dfd14cd991 100644 --- a/textproc/py-dparse/distinfo +++ b/textproc/py-dparse/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1607095251 -SHA256 (dparse-0.5.1.tar.gz) = a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367 -SIZE (dparse-0.5.1.tar.gz) = 17392 +TIMESTAMP = 1693472839 +SHA256 (dparse-0.6.3.tar.gz) = 27bb8b4bcaefec3997697ba3f6e06b2447200ba273c0b085c3d012a04571b528 +SIZE (dparse-0.6.3.tar.gz) = 20316