|
Lines 2-9
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= twisted |
4 |
PORTNAME= twisted |
| 5 |
PORTVERSION= 18.9.0 |
5 |
PORTVERSION= 20.3.0 |
| 6 |
PORTREVISION= 1 |
|
|
| 7 |
CATEGORIES= devel net python |
6 |
CATEGORIES= devel net python |
| 8 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
| 9 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
|
Lines 15-33
Link Here
|
| 15 |
LICENSE= MIT |
14 |
LICENSE= MIT |
| 16 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
| 17 |
|
16 |
|
| 18 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}constantly>=15.1:devel/py-constantly@${PY_FLAVOR} \ |
17 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}incremental>=16.10.1:devel/py-incremental@${PY_FLAVOR} |
| 19 |
${PYTHON_PKGNAMEPREFIX}attrs>17.4.0:devel/py-attrs@${PY_FLAVOR} \ |
18 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>19.2.0:devel/py-attrs@${PY_FLAVOR} \ |
|
|
19 |
${PYTHON_PKGNAMEPREFIX}Automat>=0.3.0:devel/py-Automat@${PY_FLAVOR} \ |
| 20 |
${PYTHON_PKGNAMEPREFIX}constantly>=15.1:devel/py-constantly@${PY_FLAVOR} \ |
| 20 |
${PYTHON_PKGNAMEPREFIX}hyperlink>=17.1.1:www/py-hyperlink@${PY_FLAVOR} \ |
21 |
${PYTHON_PKGNAMEPREFIX}hyperlink>=17.1.1:www/py-hyperlink@${PY_FLAVOR} \ |
| 21 |
${PYTHON_PKGNAMEPREFIX}incremental>=16.10.1:devel/py-incremental@${PY_FLAVOR} \ |
22 |
${PYTHON_PKGNAMEPREFIX}incremental>=16.10.1:devel/py-incremental@${PY_FLAVOR} \ |
| 22 |
${PYTHON_PKGNAMEPREFIX}PyHamcrest>=1.9.0:textproc/py-pyhamcrest@${PY_FLAVOR} \ |
23 |
${PYTHON_PKGNAMEPREFIX}PyHamcrest>=1.9.0:textproc/py-pyhamcrest@${PY_FLAVOR} \ |
| 23 |
${PYTHON_PKGNAMEPREFIX}zope.interface>=4.4.0:devel/py-zope.interface@${PY_FLAVOR} \ |
24 |
${PYTHON_PKGNAMEPREFIX}zope.interface>=4.4.2:devel/py-zope.interface@${PY_FLAVOR} |
| 24 |
${PYTHON_PKGNAMEPREFIX}Automat>=0.3.0:devel/py-Automat@${PY_FLAVOR} |
|
|
| 25 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
| 26 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}service_identity>0:security/py-service_identity@${PY_FLAVOR} |
25 |
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}service_identity>0:security/py-service_identity@${PY_FLAVOR} |
| 27 |
|
26 |
|
| 28 |
USES= python tar:bzip2 |
27 |
USES= python tar:bzip2 |
| 29 |
USE_PYTHON= autoplist concurrent distutils |
28 |
USE_PYTHON= autoplist concurrent distutils |
| 30 |
|
29 |
|
|
|
30 |
OPTIONS_DEFINE= CONCH HTTP2 SERIAL TLS |
| 31 |
OPTIONS_DEFAULT= ${OPTIONS_DEFINE} |
| 32 |
|
| 33 |
CONCH_DESC= Support to work with conch/SSH |
| 34 |
HTTP2_DESC= Support to work with HTTP2 |
| 35 |
SERIAL_DESC= Support to work with serial data |
| 36 |
TLS_DESC= Support to work with TLS |
| 37 |
|
| 38 |
CONCH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR} \ |
| 39 |
${PYTHON_PKGNAMEPREFIX}bcrypt>=3.0.0:security/py-bcrypt@${PY_FLAVOR} \ |
| 40 |
${PYTHON_PKGNAMEPREFIX}cryptography>=2.5:security/py-cryptography@${PY_FLAVOR} \ |
| 41 |
${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} |
| 42 |
|
| 43 |
HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3.0:www/py-h2@${PY_FLAVOR} \ |
| 44 |
${PYTHON_PKGNAMEPREFIX}priority>=1.1.0:www/py-priority@${PY_FLAVOR} |
| 45 |
|
| 46 |
SERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}serial>=3.0:comms/py-serial@${PY_FLAVOR} |
| 47 |
|
| 48 |
TLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=0.6:dns/py-idna@${PY_FLAVOR} \ |
| 49 |
${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \ |
| 50 |
${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} |
| 51 |
|
| 31 |
post-install: |
52 |
post-install: |
| 32 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} + |
53 |
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} + |
| 33 |
|
54 |
|