devel/py-debugpy: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2023-06-30 15:03:26 +08:00
parent 1397fea208
commit 323a1bb4ca
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -1,5 +1,6 @@
PORTNAME= debugpy
PORTVERSION= 1.6.7
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,8 +13,11 @@ LICENSE= EPL MIT
LICENSE_COMB= dual
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= dos2unix python zip
USE_PYTHON= autoplist concurrent cython distutils
USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +