Skip to content

Commit

Permalink
devel/py-cbor: 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 Apr 8, 2024
1 parent 5efca89 commit cca19e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion devel/py-cbor/Makefile
@@ -1,5 +1,6 @@
PORTNAME= cbor
PORTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -10,8 +11,11 @@ WWW= https://bitbucket.org/bodhisnarkva/cbor

LICENSE= APACHE20

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}

USES= compiler python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517

post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
Expand Down

0 comments on commit cca19e3

Please sign in to comment.