git: 5f94563da5d9 - main - devel/py-twisted: Update to 21.7.0

Wen Heping wen at FreeBSD.org
Sun Aug 1 10:16:08 UTC 2021


The branch main has been updated by wen:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5f94563da5d94be233577ec6a068b22bb0507cc7

commit 5f94563da5d94be233577ec6a068b22bb0507cc7
Author:     Wen Heping <wen at FreeBSD.org>
AuthorDate: 2021-08-01 10:14:57 +0000
Commit:     Wen Heping <wen at FreeBSD.org>
CommitDate: 2021-08-01 10:14:57 +0000

    devel/py-twisted: Update to 21.7.0
    
    PR:             257526
    Reported by:    contact at evilham.com
---
 devel/py-twisted/Makefile | 8 ++++++--
 devel/py-twisted/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile
index 6ec5e156e307..12612646998e 100644
--- a/devel/py-twisted/Makefile
+++ b/devel/py-twisted/Makefile
@@ -1,7 +1,7 @@
 # Created by: Johann Visagie <wjv at FreeBSD.org>
 
 PORTNAME=	twisted
-PORTVERSION=	21.2.0
+PORTVERSION=	21.7.0
 CATEGORIES=	devel net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -43,10 +43,14 @@ 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} && ${PYTHON_CMD} -m twisted.trial -e twisted
+	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m twisted.trial -e twisted
 
 .include <bsd.port.mk>
diff --git a/devel/py-twisted/distinfo b/devel/py-twisted/distinfo
index 95300c7125af..d12dda670c09 100644
--- a/devel/py-twisted/distinfo
+++ b/devel/py-twisted/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1627689833
-SHA256 (Twisted-21.2.0.tar.gz) = 77544a8945cf69b98d2946689bbe0c75de7d145cdf11f391dd487eae8fc95a12
-SIZE (Twisted-21.2.0.tar.gz) = 3727284
+TIMESTAMP = 1627812458
+SHA256 (Twisted-21.7.0.tar.gz) = 2cd652542463277378b0d349f47c62f20d9306e57d1247baabd6d1d38a109006
+SIZE (Twisted-21.7.0.tar.gz) = 3739740


More information about the dev-commits-ports-main mailing list