Skip to content

Commit

Permalink
devel/py-calver: 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 May 27, 2023
1 parent 00c0b12 commit 7e17489
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions devel/py-calver/Makefile
@@ -1,5 +1,6 @@
PORTNAME= calver
PORTVERSION= 2022.6.26
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -11,12 +12,12 @@ WWW= https://github.com/di/calver
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE

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

USES= python:3.5+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

post-patch:
@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py

.include <bsd.port.mk>

0 comments on commit 7e17489

Please sign in to comment.