aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:13:48 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:13:48 +0000
commit54d23a9dc14a4ef71056ec34d82b1d5634e759ef (patch)
treec405782bdf7632877ff3fa90b3931f8b7b52386b
parent802db539822e8f41aac3e94661a37c84ef101756 (diff)
downloadports-54d23a9dc14a4ef71056ec34d82b1d5634e759ef.tar.gz
ports-54d23a9dc14a4ef71056ec34d82b1d5634e759ef.zip
www/py-requests-toolbelt: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--www/py-requests-toolbelt/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/py-requests-toolbelt/Makefile b/www/py-requests-toolbelt/Makefile
index 5da9d3332cab..a6ef946f5206 100644
--- a/www/py-requests-toolbelt/Makefile
+++ b/www/py-requests-toolbelt/Makefile
@@ -1,5 +1,6 @@
PORTNAME= requests-toolbelt
PORTVERSION= 1.0.0
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,12 @@ WWW= https://toolbelt.readthedocs.io/en/latest/ \
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}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.0.1<3.0.0:www/py-requests@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes