git: 11e8f3c89438 - main - security/py-openssl: Update to 23.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Aug 2023 13:29:29 UTC
The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=11e8f3c89438ceef19d425937a4e9de5085f9002 commit 11e8f3c89438ceef19d425937a4e9de5085f9002 Author: Li-Wen Hsu <lwhsu@FreeBSD.org> AuthorDate: 2023-08-31 13:27:26 +0000 Commit: Li-Wen Hsu <lwhsu@FreeBSD.org> CommitDate: 2023-08-31 13:27:26 +0000 security/py-openssl: Update to 23.2.0 This patch combines the efforts from the people invloved in the PR. I just do the integrating and testing. PR: 266680 Approved by: sbz (earlier version) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39037 --- security/py-openssl/Makefile | 24 +++++++++--------------- security/py-openssl/distinfo | 6 +++--- 2 files changed, 12 insertions(+), 18 deletions(-) diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile index 51636939b53c..d2d176e13cba 100644 --- a/security/py-openssl/Makefile +++ b/security/py-openssl/Makefile @@ -1,5 +1,5 @@ PORTNAME= openssl -DISTVERSION= 21.0.0 +PORTVERSION= 23.2.0 PORTEPOCH= 1 CATEGORIES= security python MASTER_SITES= PYPI @@ -13,40 +13,34 @@ WWW= https://github.com/pyca/pyopenssl LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.5.2:devel/py-six@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.0.1:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss USES= cpe python pycryptography:run -USE_PYTHON= autoplist concurrent distutils pythonprefix +USE_PYTHON= autoplist concurrent distutils pytest pythonprefix NO_ARCH= yes CPE_VENDOR= jean-paul_calderone CPE_PRODUCT= py${PORTNAME} -# Use options.mk to use OSVERSION and handle redefine PORTEPOCH -.include <bsd.port.options.mk> - -# We need to keep old py-cryptography and py-penssl for 11.x release -# due to outdated OpenSSL version in base - # These tests will be skipped due the following reasons: # # * test_connect_refused: Avoid stalling in build environments that don't have # a internet connection # * test_set_verify_callback_exception: Fails on *BSD systems, see also # https://github.com/pyca/pyopenssl/issues/656 for further details +# * test_connect_ex: succeeds unexpectedly: +# https://github.com/pyca/pyopenssl/issues/1192 # # The system clock must be in sync otherwise the test "test_verify_with_time" # will fail. -do-test: - @cd ${WRKSRC} && ${SET_ENV} LC_ALL=en_US.UTF-8 ${TEST_ENV} \ - PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ - ${PYTHON_CMD} -m pytest -rs -v -k \ - 'not test_connect_refused and \ - not test_set_verify_callback_exception' +PYTEST_IGNORED_TESTS= test_connect_ex \ + test_connect_refused \ + test_set_verify_callback_exception +TEST_ENV= LC_ALL=en_US.UTF-8 \ + PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .include <bsd.port.mk> diff --git a/security/py-openssl/distinfo b/security/py-openssl/distinfo index c2b3c91de7fc..ca85af2b8722 100644 --- a/security/py-openssl/distinfo +++ b/security/py-openssl/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1673046083 -SHA256 (pyOpenSSL-21.0.0.tar.gz) = 5e2d8c5e46d0d865ae933bef5230090bdaf5506281e9eec60fa250ee80600cb3 -SIZE (pyOpenSSL-21.0.0.tar.gz) = 175652 +TIMESTAMP = 1691096194 +SHA256 (pyOpenSSL-23.2.0.tar.gz) = 276f931f55a452e7dea69c7173e984eb2a4407ce413c918aa34b55f82f9b8bac +SIZE (pyOpenSSL-23.2.0.tar.gz) = 185132