Date: Tue, 3 Sep 2019 21:18:18 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r511042 - head/misc/py-spdx-tools Message-ID: <201909032118.x83LIIaA025787@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Tue Sep 3 21:18:17 2019 New Revision: 511042 URL: https://svnweb.freebsd.org/changeset/ports/511042 Log: misc/py-spdx-tools: Update to 0.6.1 * Enable build for all Python versions because Python 3 is supported since the 0.5.x release. This became more evident via tests by using pytest. * Make the port concurrent safe as it installs a script and some (optional) example files. * Also refine the "do-test" target by using devel/py-pytest which gives a better overview of the test results. Changelog since 0.5.4: https://github.com/spdx/tools-python/compare/v0.5.4...eac4e90 Modified: head/misc/py-spdx-tools/Makefile head/misc/py-spdx-tools/distinfo Modified: head/misc/py-spdx-tools/Makefile ============================================================================== --- head/misc/py-spdx-tools/Makefile Tue Sep 3 21:17:00 2019 (r511041) +++ head/misc/py-spdx-tools/Makefile Tue Sep 3 21:18:17 2019 (r511042) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= spdx-tools -DISTVERSION= 0.5.4 +DISTVERSION= 0.6.1 CATEGORIES= misc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,11 +14,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=0:devel/py-ply@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rdflib>=0:textproc/py-rdflib@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmltodict>=0:devel/py-xmltodict@${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} -USES= python:2.7 -USE_PYTHON= distutils autoplist +USES= python +USE_PYTHON= autoplist concurrent distutils CONFLICTS_INSTALL= py??-spdx-* NO_ARCH= yes @@ -31,6 +33,6 @@ post-install-EXAMPLES-on: ${FIND} ${WRKSRC}/examples -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR} \; do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + @cd ${WRKSRC} && ${SETENV} LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m pytest -rs -v .include <bsd.port.mk> Modified: head/misc/py-spdx-tools/distinfo ============================================================================== --- head/misc/py-spdx-tools/distinfo Tue Sep 3 21:17:00 2019 (r511041) +++ head/misc/py-spdx-tools/distinfo Tue Sep 3 21:18:17 2019 (r511042) @@ -1,3 +1,3 @@ -TIMESTAMP = 1530184957 -SHA256 (spdx-tools-0.5.4.tar.gz) = 3de4d499a9182a63ba9bb8a08b394cc9c618067095212cb51addb201bfeac202 -SIZE (spdx-tools-0.5.4.tar.gz) = 140247 +TIMESTAMP = 1567521994 +SHA256 (spdx-tools-0.6.1.tar.gz) = 9a1aaae051771e865705dd2fd374c3f73d0ad595c1056548466997551cbd7a81 +SIZE (spdx-tools-0.6.1.tar.gz) = 237766
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909032118.x83LIIaA025787>