Skip to content

Commit

Permalink
www/py-scgi: 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 b352fa2 commit c16a6d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion www/py-scgi/Makefile
@@ -1,5 +1,6 @@
PORTNAME= scgi
PORTVERSION= 2.2
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,8 +12,11 @@ WWW= https://github.com/nascheme/scgi
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt

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

USES= 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 c16a6d1

Please sign in to comment.