git: 020ab85a0ee5 - main - devel/py-twisted: Update to 24.7.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Oct 2024 02:42:02 UTC
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=020ab85a0ee56477048e5402b5577745dcead362
commit 020ab85a0ee56477048e5402b5577745dcead362
Author: Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-10-03 02:40:16 +0000
Commit: Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-10-03 02:40:16 +0000
devel/py-twisted: Update to 24.7.0
PR: 281824
Reported by: ports@skyforge.at
---
devel/py-twisted/Makefile | 14 +++++---------
devel/py-twisted/distinfo | 6 +++---
devel/py-twisted/files/patch-pyproject.toml | 20 --------------------
3 files changed, 8 insertions(+), 32 deletions(-)
diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile
index b212392df098..117062f7ed50 100644
--- a/devel/py-twisted/Makefile
+++ b/devel/py-twisted/Makefile
@@ -1,6 +1,5 @@
PORTNAME= twisted
-PORTVERSION= 23.8.0
-PORTREVISION= 1
+PORTVERSION= 24.7.0
CATEGORIES= devel net python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,13 +14,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=22.5.0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}incremental>=21.3.0:devel/py-incremental@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}incremental>=24.7.0:devel/py-incremental@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=21.3.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}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}incremental>=24.7.0:devel/py-incremental@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>=5:devel/py-zope.interface@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython-test-exception-raiser>=1.0.2<2:devel/py-cython-test-exception-raiser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=6.56:devel/py-hypothesis@${PY_FLAVOR} \
@@ -53,10 +53,6 @@ TLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.4:dns/py-idna@${PY_FLAVOR} \
# twisted.conch tests depend on finding certain scripts in PATH
TEST_ENV= PYTHONPATH=${WRKSRC}/src PATH=${STAGEDIR}/${PREFIX}/bin:$$PATH
-post-patch:
- ${GREP} -F -Rl TLS_METHOD ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
- -e 's,TLS_METHOD,TLSv1_2_METHOD,'
-
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/ -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-twisted/distinfo b/devel/py-twisted/distinfo
index 5545084b2285..9904e18a044b 100644
--- a/devel/py-twisted/distinfo
+++ b/devel/py-twisted/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1693987497
-SHA256 (twisted-23.8.0.tar.gz) = 3c73360add17336a622c0d811c2a2ce29866b6e59b1125fd6509b17252098a24
-SIZE (twisted-23.8.0.tar.gz) = 3478691
+TIMESTAMP = 1727922157
+SHA256 (twisted-24.7.0.tar.gz) = 5a60147f044187a127ec7da96d170d49bcce50c6fd36f594e60f4587eff4d394
+SIZE (twisted-24.7.0.tar.gz) = 3516844
diff --git a/devel/py-twisted/files/patch-pyproject.toml b/devel/py-twisted/files/patch-pyproject.toml
deleted file mode 100644
index 4fe5a29a6b2f..000000000000
--- a/devel/py-twisted/files/patch-pyproject.toml
+++ /dev/null
@@ -1,20 +0,0 @@
---- pyproject.toml.orig 2020-02-02 00:00:00 UTC
-+++ pyproject.toml
-@@ -2,7 +2,7 @@
- requires = [
- "hatchling >= 1.10.0",
- "hatch-fancy-pypi-readme >= 22.5.0",
-- "incremental >= 22.10.0",
-+ "incremental >= 21.3.0",
- ]
- build-backend = "hatchling.build"
-
-@@ -34,7 +34,7 @@ classifiers = [
- dependencies = [
- "zope.interface >= 5",
- "constantly >= 15.1",
-- "incremental >= 22.10.0",
-+ "incremental >= 21.3.0",
- "Automat >= 0.8.0",
- "hyperlink >= 17.1.1",
- "attrs >= 21.3.0",