textproc/py-cchardet: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
main
Po-Chuan Hsieh 2024-05-13 22:09:03 +08:00
parent 1e31bb3d4d
commit 3489b8c658
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= cchardet
PORTVERSION= 2.1.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -13,8 +13,11 @@ LICENSE= GPLv2 LGPL21 MPL11
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= cmake:indirect python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +