diff --git a/textproc/py-license-expression/Makefile b/textproc/py-license-expression/Makefile index 73cc6634d553..ab83afbeb932 100644 --- a/textproc/py-license-expression/Makefile +++ b/textproc/py-license-expression/Makefile @@ -1,23 +1,26 @@ PORTNAME= license-expression -DISTVERSIONPREFIX= v -DISTVERSION= 0.99 +DISTVERSION= 30.1.1 CATEGORIES= textproc python +MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Parses, normalizes and compares license expressions WWW= https://github.com/nexB/license-expression LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/NOTICE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boolean.py>=3.6:devel/py-boolean.py@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boolean.py>=4.0:devel/py-boolean.py@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist -USE_GITHUB= yes -GH_ACCOUNT= nexB +USE_PYTHON= autoplist pep517 pytest + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} NO_ARCH= yes .include diff --git a/textproc/py-license-expression/distinfo b/textproc/py-license-expression/distinfo index 3bcdf5bffab4..b39c6ec221f3 100644 --- a/textproc/py-license-expression/distinfo +++ b/textproc/py-license-expression/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1540208970 -SHA256 (nexB-license-expression-v0.99_GH0.tar.gz) = fc565a7836110870db0b4bcfd94cfaf179778930fd757412c3a370e938cb2d07 -SIZE (nexB-license-expression-v0.99_GH0.tar.gz) = 5174294 +TIMESTAMP = 1694982769 +SHA256 (license-expression-30.1.1.tar.gz) = 42375df653ad85e6f5b4b0385138b2dbea1f5d66360783d8625c3e4f97f11f0c +SIZE (license-expression-30.1.1.tar.gz) = 169790