git: f0da8e554678 - main - devel/py-cwcwidth: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:19:23 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f0da8e5546786276443df7c6cc0f32365e759d66
commit f0da8e5546786276443df7c6cc0f32365e759d66
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:03:23 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:03:23 +0000
devel/py-cwcwidth: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
devel/py-cwcwidth/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/devel/py-cwcwidth/Makefile b/devel/py-cwcwidth/Makefile
index 43f83cb8f49f..b9cd2e7a9b02 100644
--- a/devel/py-cwcwidth/Makefile
+++ b/devel/py-cwcwidth/Makefile
@@ -1,5 +1,6 @@
PORTNAME= cwcwidth
PORTVERSION= 0.1.8
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,11 @@ WWW= https://github.com/sebastinas/cwcwidth
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.28:lang/cython@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=43:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython distutils
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +