Date: Sat, 29 Jan 2022 01:41:34 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 1ffe9c4b5934 - main - www/py-httpx: Add CLI and SOCKS options Message-ID: <202201290141.20T1fYiq081940@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ffe9c4b5934c410bf4c6dc3756257e59fdf8f81 commit 1ffe9c4b5934c410bf4c6dc3756257e59fdf8f81 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-01-29 01:40:17 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-01-29 01:40:17 +0000 www/py-httpx: Add CLI and SOCKS options --- www/py-httpx/Makefile | 7 ++++++- www/py-httpx/files/patch-setup.py | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile index 8cdd393202c9..24c708cd00f1 100644 --- a/www/py-httpx/Makefile +++ b/www/py-httpx/Makefile @@ -25,12 +25,17 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -OPTIONS_DEFINE= BROTLI HTTP2 +OPTIONS_DEFINE= BROTLI CLI HTTP2 SOCKS OPTIONS_DEFAULT=HTTP2 BROTLI_DESC= Brotli support +CLI_DESC= Command-line interface support HTTP2_DESC= HTTP/2 support 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} +SOCKS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}socksio>=1<2:net/py-socksio@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/www/py-httpx/files/patch-setup.py b/www/py-httpx/files/patch-setup.py index b6e51a112b3f..61ad11cc72ae 100644 --- a/www/py-httpx/files/patch-setup.py +++ b/www/py-httpx/files/patch-setup.py @@ -9,3 +9,12 @@ "httpcore>=0.14.5,<0.15.0", "async_generator; python_version < '3.7'" ], +@@ -72,7 +72,7 @@ setup( + ], + "cli": [ + "click==8.*", +- "rich==10.*", ++ "rich==11.*", + "pygments==2.*" + ] + },
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201290141.20T1fYiq081940>