aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:07:58 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:07:58 +0000
commitaffc963dfc3d37fff9734846e134a6ad3da238d1 (patch)
tree6e4766ecc820f594e70b93eb0d3f245d8f21c645
parentee48e2121069c8c9da6c645d2cee9bab6d5143c4 (diff)
downloadports-affc963dfc3d37fff9734846e134a6ad3da238d1.tar.gz
ports-affc963dfc3d37fff9734846e134a6ad3da238d1.zip
security/py-pyotp: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--security/py-pyotp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/py-pyotp/Makefile b/security/py-pyotp/Makefile
index 283b85b7e521..d5f8daf3b7e0 100644
--- a/security/py-pyotp/Makefile
+++ b/security/py-pyotp/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pyotp
PORTVERSION= 2.9.0
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ WWW= https://pyauth.github.io/pyotp/ \
LICENSE= MIT
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
-USE_PYTHON= autoplist concurrent distutils unittest
+USE_PYTHON= autoplist concurrent pep517 unittest
NO_ARCH= yes