Skip to content

Commit

Permalink
net/py-urllib3: disable SSL by default
Browse files Browse the repository at this point in the history
The [secure] extra (provided by the SSL option) is deprecated:
urllib3/urllib3#2680
...but the pyOpenSSL bit is un-deprecated:
urllib3/urllib3#3126

Given that even pyOpenSSL is regarded as an optional third-party
module, disable by default. By side effect, reduces build load,
induced by mainline py-cryptography's required Rust code, for those
ports using sphinx to build documentation, as this is part of
sphinx's dependency tree.
  • Loading branch information
vishwin committed Sep 25, 2023
1 parent be92893 commit 761dc8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion net/py-urllib3/Makefile
@@ -1,5 +1,6 @@
PORTNAME= urllib3
PORTVERSION= 1.26.16
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net python
MASTER_SITES= PYPI \
Expand Down Expand Up @@ -35,7 +36,7 @@ PYTEST_IGNORED_TESTS= test_ssl_read_timeout
SUB_FILES= pkg-message

OPTIONS_DEFINE= BROTLI SOCKS SSL
OPTIONS_DEFAULT=SOCKS SSL
OPTIONS_DEFAULT=SOCKS

BROTLI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=1.0.9:archivers/py-brotli@${PY_FLAVOR}
SOCKS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6<2.0:net/py-pysocks@${PY_FLAVOR}
Expand Down

0 comments on commit 761dc8a

Please sign in to comment.