aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:00:42 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:00:42 +0000
commit77b65be6928b50c6078f6e8298ba2614397adaa9 (patch)
treec6593baefd968728e2dae19d70cb2bce4676773c
parentcff9d878c294b492136b9c36b0bc0b8cb58b2a75 (diff)
downloadports-77b65be6928b50c6078f6e8298ba2614397adaa9.tar.gz
ports-77b65be6928b50c6078f6e8298ba2614397adaa9.zip
devel/py-unicodedata2: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--devel/py-unicodedata2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/py-unicodedata2/Makefile b/devel/py-unicodedata2/Makefile
index 291416a6ded6..dd667ec7c5ce 100644
--- a/devel/py-unicodedata2/Makefile
+++ b/devel/py-unicodedata2/Makefile
@@ -1,5 +1,6 @@
PORTNAME= unicodedata2
PORTVERSION= 15.1.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,11 @@ WWW= https://github.com/fonttools/unicodedata2
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +