git: 8cf61e86948c - main - misc/py-spdx-tools: update to 0.7.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 May 2023 04:02:30 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=8cf61e86948c4da0ddc6c50193591910757e689e commit 8cf61e86948c4da0ddc6c50193591910757e689e Author: Matthew Seaman <matthew@FreeBSD.org> AuthorDate: 2023-05-09 20:07:37 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2023-05-11 03:44:36 +0000 misc/py-spdx-tools: update to 0.7.1 Switch to USE_PYTHON=pep517, pytest Changes: https://github.com/spdx/tools-python/blob/v0.7.1/CHANGELOG.md PR: 271343 --- misc/py-spdx-tools/Makefile | 27 ++++++++++++++++----------- misc/py-spdx-tools/distinfo | 6 +++--- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/misc/py-spdx-tools/Makefile b/misc/py-spdx-tools/Makefile index 55f00cf78312..040fec95815d 100644 --- a/misc/py-spdx-tools/Makefile +++ b/misc/py-spdx-tools/Makefile @@ -1,5 +1,5 @@ PORTNAME= spdx-tools -DISTVERSION= 0.6.1 +DISTVERSION= 0.7.1 CATEGORIES= misc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,15 +11,23 @@ WWW= https://github.com/spdx/tools-python LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.3:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rdflib>=0:textproc/py-rdflib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}typeguard>=2.13.3:devel/py-typeguard@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}uritools>=0:net/py-uritools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}license-expression>=0:textproc/py-license-expression@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= autoplist concurrent pep517 pytest -USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} LC_ALL=en_US.UTF-8 CONFLICTS_INSTALL= py??-spdx NO_ARCH= yes @@ -31,7 +39,4 @@ post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${FIND} ${WRKSRC}/examples -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR} \; -do-test: - @cd ${WRKSRC} && ${SETENV} LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m pytest -rs -v - .include <bsd.port.mk> diff --git a/misc/py-spdx-tools/distinfo b/misc/py-spdx-tools/distinfo index 5d76c1d49db9..7d8bb429eae2 100644 --- a/misc/py-spdx-tools/distinfo +++ b/misc/py-spdx-tools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1567521994 -SHA256 (spdx-tools-0.6.1.tar.gz) = 9a1aaae051771e865705dd2fd374c3f73d0ad595c1056548466997551cbd7a81 -SIZE (spdx-tools-0.6.1.tar.gz) = 237766 +TIMESTAMP = 1683647611 +SHA256 (spdx-tools-0.7.1.tar.gz) = 975e6dbba88f105a8acb22abf53fe90f0e9d5635a2b9b1fe487781e969623b17 +SIZE (spdx-tools-0.7.1.tar.gz) = 200475