git: 6527591d9607 - main - textproc/py-license-expression: Update to 30.1.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Mon, 18 Sep 2023 05:17:31 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6527591d9607889388cecffb00224147190bb005

commit 6527591d9607889388cecffb00224147190bb005
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-09-18 05:05:29 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-09-18 05:14:00 +0000

    textproc/py-license-expression: Update to 30.1.1
    
    * Switch to PyPI as the sdist is available there.
    
    * Convert to the PEP517 build framework.
    
    * Add test-suite to make future QA easier.
    
    Changelog since 0.99:
    
    https://github.com/nexB/license-expression/compare/v0.99...v30.1.1
---
 textproc/py-license-expression/Makefile | 15 +++++++++------
 textproc/py-license-expression/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 9 deletions(-)

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,7 +1,7 @@
 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
@@ -11,12 +11,15 @@ 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
 
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