Lines 1-13
Link Here
|
1 |
# Created by: Johann Visagie <wjv@FreeBSD.org> |
1 |
# Created by: Johann Visagie <wjv@FreeBSD.org> |
2 |
|
2 |
|
3 |
PORTNAME= twisted |
3 |
PORTNAME= twisted |
4 |
PORTVERSION= 21.2.0 |
4 |
PORTVERSION= 21.7.0 |
5 |
CATEGORIES= devel net python |
5 |
CATEGORIES= devel net python |
6 |
MASTER_SITES= CHEESESHOP |
6 |
MASTER_SITES= CHEESESHOP |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
DISTNAME= Twisted-${PORTVERSION} |
8 |
DISTNAME= Twisted-${PORTVERSION} |
9 |
|
9 |
|
10 |
MAINTAINER= python@FreeBSD.org |
10 |
MAINTAINER= contact@evilham.com |
11 |
COMMENT= Asynchronous networking framework written in Python |
11 |
COMMENT= Asynchronous networking framework written in Python |
12 |
|
12 |
|
13 |
LICENSE= MIT |
13 |
LICENSE= MIT |
Lines 43-52
TLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.4:dns/py-idna@${PY_FLAVOR} \
Link Here
|
43 |
${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \ |
43 |
${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \ |
44 |
${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} |
44 |
${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} |
45 |
|
45 |
|
|
|
46 |
# We need twisted.trial in PYTHONPATH |
47 |
# twisted.conch tests depend on finding certain scripts in PATH |
48 |
TEST_ENV= PYTHONPATH=${WRKSRC}/src PATH=${STAGEDIR}/${PREFIX}/bin:$$PATH |
49 |
|
46 |
post-install: |
50 |
post-install: |
47 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} + |
51 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} + |
48 |
|
52 |
|
49 |
do-test: |
53 |
do-test: |
50 |
@cd ${WRKSRC} && ${PYTHON_CMD} -m twisted.trial -e twisted |
54 |
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m twisted.trial -e twisted |
51 |
|
55 |
|
52 |
.include <bsd.port.mk> |
56 |
.include <bsd.port.mk> |