diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile index 821c7f7b60ba..05c1ce6c941e 100644 --- a/devel/py-twisted/Makefile +++ b/devel/py-twisted/Makefile @@ -1,60 +1,60 @@ # Created by: Johann Visagie PORTNAME= twisted -PORTVERSION= 21.7.0 +PORTVERSION= 22.1.0 CATEGORIES= devel net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Twisted-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Asynchronous networking framework written in Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}incremental>=21.3.0:devel/py-incremental@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Automat>=0.8.0:devel/py-Automat@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}constantly>=15.1:devel/py-constantly@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hyperlink>=17.1.1:www/py-hyperlink@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}incremental>=21.3.0:devel/py-incremental@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}PyHamcrest>=1.9.0:textproc/py-pyhamcrest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zope.interface>=4.4.2:devel/py-zope.interface@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.5:devel/py-typing-extensions@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}service_identity>0:security/py-service_identity@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}service_identity>0:security/py-service_identity@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}PyHamcrest>=1.9.0:textproc/py-pyhamcrest@${PY_FLAVOR} -USES= cpe python:3.7+ +USES= cpe python:3.7-3.10 USE_PYTHON= autoplist concurrent distutils CPE_VENDOR= twistedmatrix NO_ARCH= yes OPTIONS_DEFINE= CONCH HTTP2 SERIAL TLS OPTIONS_DEFAULT=CONCH HTTP2 SERIAL TLS CONCH_DESC= Conch secure shell SSH SERIAL_DESC= Serial port extension CONCH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}bcrypt>=3.0.0:security/py-bcrypt@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cryptography>=2.6:security/py-cryptography@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3.0<4.1:www/py-h2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}priority1>=1.1.0<2.0:www/py-priority1@${PY_FLAVOR} SERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=3.0:comms/py-pyserial@${PY_FLAVOR} TLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.4:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}openssl>=16.0.0:security/py-openssl@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} # We need twisted.trial in PYTHONPATH # twisted.conch tests depend on finding certain scripts in PATH TEST_ENV= PYTHONPATH=${WRKSRC}/src PATH=${STAGEDIR}/${PREFIX}/bin:$$PATH post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} + do-test: @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m twisted.trial -e twisted .include diff --git a/devel/py-twisted/distinfo b/devel/py-twisted/distinfo index d12dda670c09..e0600d6a63d6 100644 --- a/devel/py-twisted/distinfo +++ b/devel/py-twisted/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1627812458 -SHA256 (Twisted-21.7.0.tar.gz) = 2cd652542463277378b0d349f47c62f20d9306e57d1247baabd6d1d38a109006 -SIZE (Twisted-21.7.0.tar.gz) = 3739740 +TIMESTAMP = 1644250883 +SHA256 (Twisted-22.1.0.tar.gz) = b7971ec9805b0f80e1dcb1a3721d7bfad636d5f909de687430ce373979d67b61 +SIZE (Twisted-22.1.0.tar.gz) = 3729983