www/py-httptools: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-05-13 22:13:02 +08:00
parent 131c589726
commit 2821e55325
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -1,5 +1,6 @@
PORTNAME= httptools PORTNAME= httptools
PORTVERSION= 0.6.1 PORTVERSION= 0.6.1
PORTREVISION= 1
CATEGORIES= www python CATEGORIES= www python
MASTER_SITES= PYPI MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,10 +12,12 @@ WWW= https://github.com/MagicStack/httptools
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE 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 LIB_DEPENDS= libhttp_parser.so:www/http-parser
USES= localbase python USES= localbase python
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent pep517
post-patch: post-patch:
@${RM} -r ${WRKSRC}/vendor/http-parser/ @${RM} -r ${WRKSRC}/vendor/http-parser/