git: 78571fc62bb3 - main - net/py-urllib3-future: Add BROTLI, SOCKS, WS and ZSTD options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 08 Feb 2025 17:10:50 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=78571fc62bb323ead76704e0ec8d4819ebc97dd0

commit 78571fc62bb323ead76704e0ec8d4819ebc97dd0
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-08 16:59:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-08 16:59:36 +0000

    net/py-urllib3-future: Add BROTLI, SOCKS, WS and ZSTD options
---
 net/py-urllib3-future/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/net/py-urllib3-future/Makefile b/net/py-urllib3-future/Makefile
index 9be079c115c8..03667b56e185 100644
--- a/net/py-urllib3-future/Makefile
+++ b/net/py-urllib3-future/Makefile
@@ -23,4 +23,12 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	BROTLI SOCKS WS ZSTD
+WS_DESC=	WebSockets support
+
+BROTLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}brotli>=1.0.9:archivers/py-brotli@${PY_FLAVOR}
+SOCKS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-socks>=2.0<2.6.1_99:net/py-python-socks@${PY_FLAVOR}
+WS_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}wsproto>=1.2<2:net/py-wsproto@${PY_FLAVOR}
+ZSTD_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}zstandard>=0.18.0:archivers/py-zstandard@${PY_FLAVOR}
+
 .include <bsd.port.mk>