summaryrefslogtreecommitdiff
path: root/security/py-openssl
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2021-01-01 15:24:17 +0000
committerKurt Jaeger <pi@FreeBSD.org>2021-01-01 15:24:17 +0000
commit9b1eb80441ba5134466cd9ebd5506501d371a45d (patch)
tree7c0ccb9f38812f78f524fb8d98d1ddd6995505c4 /security/py-openssl
parentgraphics/cegui: remove optional (and broken) support for expired Python 2.7 (diff)
security/py-openssl: update 19.0.0 -> 19.1.0
PR: 245930 Submitted by: daniel.engberg.lists@pyret.net Approved by: sbz (maintainer) Relnotes: https://github.com/pyca/pyopenssl/blob/master/CHANGELOG.rst
Notes
Notes: svn path=/head/; revision=559837
Diffstat (limited to 'security/py-openssl')
-rw-r--r--security/py-openssl/Makefile19
-rw-r--r--security/py-openssl/distinfo6
2 files changed, 9 insertions, 16 deletions
diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile
index 676084e854fe..f2448c2e61fc 100644
--- a/security/py-openssl/Makefile
+++ b/security/py-openssl/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= openssl
-PORTVERSION= 19.0.0
+PORTVERSION= 19.1.0
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,7 +14,7 @@ COMMENT= Python interface to the OpenSSL library
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.2.1:security/py-cryptography@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=2.8:security/py-cryptography@${PY_FLAVOR} \
${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} \
@@ -29,14 +29,6 @@ NO_ARCH= yes
CPE_VENDOR= jean-paul_calderone
CPE_PRODUCT= py${PORTNAME}
-PORTEXAMPLES= *
-
-OPTIONS_DEFINE= EXAMPLES
-
-post-install-EXAMPLES-on:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
-
# These tests will be skipped due the following reasons:
#
# * test_connect_refused: Avoid stalling in build environments that don't have
@@ -47,9 +39,10 @@ post-install-EXAMPLES-on:
# 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 ${PYTHON_CMD} -m pytest -rs -v -k ' \
- not test_connect_refused and \
+ @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'
.include <bsd.port.mk>
diff --git a/security/py-openssl/distinfo b/security/py-openssl/distinfo
index dd471a7396ca..3cbc75c1321e 100644
--- a/security/py-openssl/distinfo
+++ b/security/py-openssl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1540136888
-SHA256 (pyOpenSSL-19.0.0.tar.gz) = aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200
-SIZE (pyOpenSSL-19.0.0.tar.gz) = 168551
+TIMESTAMP = 1609514364
+SHA256 (pyOpenSSL-19.1.0.tar.gz) = 9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507
+SIZE (pyOpenSSL-19.1.0.tar.gz) = 160510