Add REQUESTS option

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-07-24 07:16:42 +00:00
parent d4fbd38fa2
commit 84a1624bdf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=543077

View File

@ -12,12 +12,17 @@ COMMENT= Utilities for Google Media Downloads and Resumable Uploads
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.18.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
OPTIONS_DEFINE= REQUESTS
OPTIONS_DEFAULT=REQUESTS
REQUESTS_DESC= Use requests
REQUESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.18.0:www/py-requests@${PY_FLAVOR}
.include <bsd.port.mk>