mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
www/py-httpx: Add CLI and SOCKS options
This commit is contained in:
parent
b8b81ea7f7
commit
1ffe9c4b59
@ -25,12 +25,17 @@ USE_PYTHON= autoplist concurrent distutils
|
|||||||
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
|
|
||||||
OPTIONS_DEFINE= BROTLI HTTP2
|
OPTIONS_DEFINE= BROTLI CLI HTTP2 SOCKS
|
||||||
OPTIONS_DEFAULT=HTTP2
|
OPTIONS_DEFAULT=HTTP2
|
||||||
BROTLI_DESC= Brotli support
|
BROTLI_DESC= Brotli support
|
||||||
|
CLI_DESC= Command-line interface support
|
||||||
HTTP2_DESC= HTTP/2 support
|
HTTP2_DESC= HTTP/2 support
|
||||||
|
|
||||||
BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR}
|
BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=0:archivers/py-brotli@${PY_FLAVOR}
|
||||||
|
CLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8<9:devel/py-click@${PY_FLAVOR} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}pygments>=2<3:textproc/py-pygments@${PY_FLAVOR} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}rich>=11:textproc/py-rich@${PY_FLAVOR}
|
||||||
HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3<5:www/py-h2@${PY_FLAVOR}
|
HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3<5:www/py-h2@${PY_FLAVOR}
|
||||||
|
SOCKS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}socksio>=1<2:net/py-socksio@${PY_FLAVOR}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -9,3 +9,12 @@
|
|||||||
"httpcore>=0.14.5,<0.15.0",
|
"httpcore>=0.14.5,<0.15.0",
|
||||||
"async_generator; python_version < '3.7'"
|
"async_generator; python_version < '3.7'"
|
||||||
],
|
],
|
||||||
|
@@ -72,7 +72,7 @@ setup(
|
||||||
|
],
|
||||||
|
"cli": [
|
||||||
|
"click==8.*",
|
||||||
|
- "rich==10.*",
|
||||||
|
+ "rich==11.*",
|
||||||
|
"pygments==2.*"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user