aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-04-17 23:45:49 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-04-17 23:58:26 +0000
commitd139a74c6d81b876ab29a560500d38428c647593 (patch)
tree3f5ce47940807d05ffcd7cb41cd837d7e0e210c3
parent00e0f0134610bfdb14e5dd820973f245d07a6af6 (diff)
downloadports-d139a74c6d81b876ab29a560500d38428c647593.tar.gz
ports-d139a74c6d81b876ab29a560500d38428c647593.zip
www/py-requests-aws4auth: Add HTTPX option
-rw-r--r--www/py-requests-aws4auth/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/py-requests-aws4auth/Makefile b/www/py-requests-aws4auth/Makefile
index db30cfe4051a..eef696c0f245 100644
--- a/www/py-requests-aws4auth/Makefile
+++ b/www/py-requests-aws4auth/Makefile
@@ -20,4 +20,9 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+OPTIONS_DEFINE= HTTPX
+HTTPX_DESC= HTTP client support via httpx
+
+HTTPX__RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}httpx>=0:www/py-httpx@${PY_FLAVOR}
+
.include <bsd.port.mk>