www/py-requests: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
main
Po-Chuan Hsieh 2024-05-13 22:13:39 +08:00
parent 3dc52e04fa
commit 11dff3d84c
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= requests
PORTVERSION= 2.31.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,6 +13,8 @@ WWW= https://docs.python-requests.org/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}certifi>=2017.4.17:security/py-certifi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2<4:textproc/py-charset-normalizer@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}idna>=2.5<4:dns/py-idna@${PY_FLAVOR} \
@ -24,7 +27,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6:net/py-pysocks@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}trustme>=0:security/py-trustme@${PY_FLAVOR}
USES= cpe python
USE_PYTHON= autoplist concurrent distutils pytest
USE_PYTHON= autoplist concurrent pep517 pytest
NO_ARCH= yes