Skip to content

Commit

Permalink
devel/py-cwcwidth: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Jun 30, 2023
1 parent 27967d3 commit f0da8e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 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}
Expand All @@ -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} {} +
Expand Down

0 comments on commit f0da8e5

Please sign in to comment.