View | Details | Raw Unified | Return to bug 245930
Collapse All | Expand All

(-)b/security/py-openssl/Makefile (-13 / +6 lines)
Lines 1-55 Link Here
1
# Created by: ijliao
1
# Created by: ijliao
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	openssl
4
PORTNAME=	openssl
5
PORTVERSION=	19.0.0
5
PORTVERSION=	19.1.0
6
CATEGORIES=	security python
6
CATEGORIES=	security python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
DISTNAME=	pyOpenSSL-${PORTVERSION}
9
DISTNAME=	pyOpenSSL-${PORTVERSION}
10
10
11
MAINTAINER=	sbz@FreeBSD.org
11
MAINTAINER=	sbz@FreeBSD.org
12
COMMENT=	Python interface to the OpenSSL library
12
COMMENT=	Python interface to the OpenSSL library
13
13
14
LICENSE=	APACHE20
14
LICENSE=	APACHE20
15
LICENSE_FILE=	${WRKSRC}/LICENSE
15
LICENSE_FILE=	${WRKSRC}/LICENSE
16
16
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=2.2.1:security/py-cryptography@${PY_FLAVOR} \
17
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=2.8:security/py-cryptography@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}six>=1.5.2:devel/py-six@${PY_FLAVOR}
18
		${PYTHON_PKGNAMEPREFIX}six>=1.5.2:devel/py-six@${PY_FLAVOR}
19
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.1:devel/py-pytest@${PY_FLAVOR} \
19
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.1:devel/py-pytest@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}flaky>0:devel/py-flaky@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}pretend>0:devel/py-pretend@${PY_FLAVOR} \
22
		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
22
		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
23
23
24
USES=		cpe python
24
USES=		cpe python
25
USE_PYTHON=	autoplist concurrent distutils pythonprefix
25
USE_PYTHON=	autoplist concurrent distutils pythonprefix
26
26
27
NO_ARCH=	yes
27
NO_ARCH=	yes
28
28
29
CPE_VENDOR=	jean-paul_calderone
29
CPE_VENDOR=	jean-paul_calderone
30
CPE_PRODUCT=	py${PORTNAME}
30
CPE_PRODUCT=	py${PORTNAME}
31
31
32
PORTEXAMPLES=	*
33
34
OPTIONS_DEFINE=	EXAMPLES
35
36
post-install-EXAMPLES-on:
37
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
38
	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
39
40
# These tests will be skipped due the following reasons:
32
# These tests will be skipped due the following reasons:
41
#
33
#
42
# * test_connect_refused: Avoid stalling in build environments that don't have
34
# * test_connect_refused: Avoid stalling in build environments that don't have
43
#   a internet connection
35
#   a internet connection
44
# * test_set_verify_callback_exception: Fails on *BSD systems, see also
36
# * test_set_verify_callback_exception: Fails on *BSD systems, see also
45
#   https://github.com/pyca/pyopenssl/issues/656 for further details
37
#   https://github.com/pyca/pyopenssl/issues/656 for further details
46
# 
38
# 
47
# The system clock must be in sync otherwise the test "test_verify_with_time"
39
# The system clock must be in sync otherwise the test "test_verify_with_time"
48
# will fail.
40
# will fail.
49
do-test:
41
do-test:
50
	@cd ${WRKSRC} && \
42
	@cd ${WRKSRC} && ${SET_ENV} LC_ALL=en_US.UTF-8 ${TEST_ENV} \
51
		${SET_ENV} LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m pytest -rs -v -k ' \
43
			PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
52
	       		not test_connect_refused and \
44
			${PYTHON_CMD} -m pytest -rs -v -k \
45
			'not test_connect_refused and \
53
		       	not test_set_verify_callback_exception'
46
		       	not test_set_verify_callback_exception'
54
47
55
.include <bsd.port.mk>
48
.include <bsd.port.mk>
(-)b/security/py-openssl/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1540136888
1
TIMESTAMP = 1587903586
2
SHA256 (pyOpenSSL-19.0.0.tar.gz) = aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200
2
SHA256 (pyOpenSSL-19.1.0.tar.gz) = 9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507
3
SIZE (pyOpenSSL-19.0.0.tar.gz) = 168551
3
SIZE (pyOpenSSL-19.1.0.tar.gz) = 160510

Return to bug 245930