git: b2c854b55067 - main - archivers/py-lz4: Convert to USE_PYTHON=autoplist and USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 06 Jul 2024 16:28:24 UTC
The branch main has been updated by sunpoet:

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

commit b2c854b550677759fdc3df007a033ae19e6135c5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-06 16:11:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-06 16:11:46 +0000

    archivers/py-lz4: Convert to USE_PYTHON=autoplist and USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 archivers/py-lz4/Makefile  |  7 +++++--
 archivers/py-lz4/pkg-plist | 15 ---------------
 2 files changed, 5 insertions(+), 17 deletions(-)

diff --git a/archivers/py-lz4/Makefile b/archivers/py-lz4/Makefile
index 9d89e44b02c2..0e09676e349a 100644
--- a/archivers/py-lz4/Makefile
+++ b/archivers/py-lz4/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	lz4
 PORTVERSION=	4.3.3
+PORTREVISION=	1
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,12 +14,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	liblz4>=1.7.5:archivers/liblz4 \
 		${PYTHON_PKGNAMEPREFIX}pkgconfig>=0:devel/py-pkgconfig@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 LIB_DEPENDS=	liblz4.so:archivers/liblz4
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR}
 
 USES=		localbase python
-USE_PYTHON=	distutils pytest
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 CONFIGURE_ENV=	PYLZ4_USE_SYSTEM_LZ4=1
 
diff --git a/archivers/py-lz4/pkg-plist b/archivers/py-lz4/pkg-plist
deleted file mode 100644
index fc9c04097421..000000000000
--- a/archivers/py-lz4/pkg-plist
+++ /dev/null
@@ -1,15 +0,0 @@
-%%PYTHON_SITELIBDIR%%/lz4/__init__.py
-%%PYTHON_SITELIBDIR%%/lz4/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/lz4/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/lz4/__pycache__/version.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/lz4/__pycache__/version.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/lz4/_version%%PYTHON_EXT_SUFFIX%%.so
-%%PYTHON_SITELIBDIR%%/lz4/block/__init__.py
-%%PYTHON_SITELIBDIR%%/lz4/block/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/lz4/block/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/lz4/block/_block%%PYTHON_EXT_SUFFIX%%.so
-%%PYTHON_SITELIBDIR%%/lz4/frame/__init__.py
-%%PYTHON_SITELIBDIR%%/lz4/frame/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/lz4/frame/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
-%%PYTHON_SITELIBDIR%%/lz4/frame/_frame%%PYTHON_EXT_SUFFIX%%.so
-%%PYTHON_SITELIBDIR%%/lz4/version.py