git: 4c8cf03f5bd4 - main - security/py-openssl: Add devel/py-typing-extensions to RUN_DEPENDS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 28 Apr 2025 01:01:04 UTC
The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c8cf03f5bd4a6868e2217071bb55ec698cbbbd0 commit 4c8cf03f5bd4a6868e2217071bb55ec698cbbbd0 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2025-04-28 00:30:27 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2025-04-28 00:59:48 +0000 security/py-openssl: Add devel/py-typing-extensions to RUN_DEPENDS Unless typing-extensions is installed, runtime error happens as following. Traceback (most recent call last): File "/usr/local/bin/certbot", line 5, in <module> from certbot.main import main File "/usr/local/lib/python3.11/site-packages/certbot/main.py", line 6, in <module> from certbot._internal import main as internal_main File "/usr/local/lib/python3.11/site-packages/certbot/_internal/main.py", line 20, in <module> import josepy as jose File "/usr/local/lib/python3.11/site-packages/josepy/__init__.py", line 41, in <module> from josepy.json_util import ( File "/usr/local/lib/python3.11/site-packages/josepy/json_util.py", line 25, in <module> from OpenSSL import crypto File "/usr/local/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in <module> from OpenSSL import SSL, crypto File "/usr/local/lib/python3.11/site-packages/OpenSSL/SSL.py", line 42, in <module> from OpenSSL.crypto import ( File "/usr/local/lib/python3.11/site-packages/OpenSSL/crypto.py", line 26, in <module> from typing_extensions import deprecated ModuleNotFoundError: No module named 'typing_extensions' PR: 286283 Reported by: Dean E. Weimer Approved by: portmgr (implicit, just fix it) Fixes: e4937425f2b1 security/py-openssl: Update to 25.0.0 --- security/py-openssl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile index 8eba2a1c1a96..1ef38f194a0b 100644 --- a/security/py-openssl/Makefile +++ b/security/py-openssl/Makefile @@ -1,5 +1,6 @@ PORTNAME= openssl PORTVERSION= 25.0.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= PYPI @@ -13,6 +14,7 @@ WWW= https://github.com/pyca/pyopenssl LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.9:devel/py-typing-extensions@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>0:devel/py-pytest-rerunfailures@${PY_FLAVOR}