aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:13:02 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 14:13:02 +0000
commit2821e553250f28cd7a46ee0964b22f840a176c37 (patch)
treed5e3556a12a77d50b277b040a168c6795c156f92
parent131c5897269aaa63ad2bc103f23c3d0c559605e6 (diff)
downloadports-2821e553250f28cd7a46ee0964b22f840a176c37.tar.gz
ports-2821e553250f28cd7a46ee0964b22f840a176c37.zip
www/py-httptools: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r--www/py-httptools/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/py-httptools/Makefile b/www/py-httptools/Makefile
index 7d0bc9282450..947b9291922b 100644
--- a/www/py-httptools/Makefile
+++ b/www/py-httptools/Makefile
@@ -1,5 +1,6 @@
PORTNAME= httptools
PORTVERSION= 0.6.1
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,12 @@ WWW= https://github.com/MagicStack/httptools
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}
LIB_DEPENDS= libhttp_parser.so:www/http-parser
USES= localbase python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
post-patch:
@${RM} -r ${WRKSRC}/vendor/http-parser/