Lines 2-8
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= openssl |
4 |
PORTNAME= openssl |
5 |
PORTVERSION= 19.0.0 |
5 |
PORTVERSION= 20.0.1 |
6 |
CATEGORIES= security python |
6 |
CATEGORIES= security python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 14-20
Link Here
|
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} \ |
Lines 29-42
Link Here
|
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 |
Lines 47-55
Link Here
|
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 \ |
53 |
not test_set_verify_callback_exception' |
45 |
'not test_connect_refused and \ |
|
|
46 |
not test_set_verify_callback_exception' |
54 |
|
47 |
|
55 |
.include <bsd.port.mk> |
48 |
.include <bsd.port.mk> |