From ec52a7ab4857e963d9580d5b520fbadf38d3939f Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Thu, 14 Nov 2024 07:33:26 +0100 Subject: [PATCH] textproc/py-dparse: Update to 0.6.4 * Switch to the PEP517 build framework * Introduce an additional default option POETRY to reflect the settings as noted in pyproject.toml. Changelog: https://github.com/pyupio/dparse/compare/0.6.3...0.6.4 --- textproc/py-dparse/Makefile | 14 ++++++++------ textproc/py-dparse/distinfo | 6 +++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/textproc/py-dparse/Makefile b/textproc/py-dparse/Makefile index 78fbd50c061a..a1332b218c58 100644 --- a/textproc/py-dparse/Makefile +++ b/textproc/py-dparse/Makefile @@ -1,6 +1,5 @@ PORTNAME= dparse -DISTVERSION= 0.6.3 -PORTREVISION= 1 +DISTVERSION= 0.6.4 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,25 +11,28 @@ WWW= https://github.com/pyupio/dparse LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch>0:devel/py-hatch@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PY_TOMLI} USES= cpe python CPE_VENDOR= pyup CPE_PRODUCT= dependency_parser -USE_PYTHON= autoplist distutils pytest +USE_PYTHON= autoplist pep517 pytest TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes -OPTIONS_DEFINE= CONDA PIPENV -OPTIONS_DEFAULT= CONDA PIPENV +OPTIONS_DEFINE= CONDA PIPENV POETRY +OPTIONS_DEFAULT= CONDA PIPENV POETRY CONDA_DESC= Enable support for Conda YML parsing PIPENV_DESC= Enable support to update Python Pipfiles +POETRY_DESC= Enable support for parsing "poetry.lock" files CONDA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} -PIPENV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pipenv>=2022.12.19:devel/py-pipenv@${PY_FLAVOR} +PIPENV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pipenv>=0:devel/py-pipenv@${PY_FLAVOR} +POETRY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry>=0:devel/py-poetry@${PY_FLAVOR} .include diff --git a/textproc/py-dparse/distinfo b/textproc/py-dparse/distinfo index 51dfd14cd991..069518e7e1a9 100644 --- a/textproc/py-dparse/distinfo +++ b/textproc/py-dparse/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1693472839 -SHA256 (dparse-0.6.3.tar.gz) = 27bb8b4bcaefec3997697ba3f6e06b2447200ba273c0b085c3d012a04571b528 -SIZE (dparse-0.6.3.tar.gz) = 20316 +TIMESTAMP = 1731238545 +SHA256 (dparse-0.6.4.tar.gz) = 90b29c39e3edc36c6284c82c4132648eaf28a01863eb3c231c2512196132201a +SIZE (dparse-0.6.4.tar.gz) = 27912