git: 1ceb0cf83640 - main - devel/py-twisted: Update to 25.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 09 Dec 2025 11:28:10 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1ceb0cf83640d6dbd5cd61bb0ffaaa15504a44ac

commit 1ceb0cf83640d6dbd5cd61bb0ffaaa15504a44ac
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-09 06:43:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-09 11:22:22 +0000

    devel/py-twisted: Update to 25.5.0
    
    - Update WWW
    - Add WEBSOCKET option
    
    Changes:        https://github.com/twisted/twisted/releases
---
 devel/py-twisted/Makefile | 18 +++++++++---------
 devel/py-twisted/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/devel/py-twisted/Makefile b/devel/py-twisted/Makefile
index 91f1f23f94ed..1cbab23e3cd4 100644
--- a/devel/py-twisted/Makefile
+++ b/devel/py-twisted/Makefile
@@ -1,13 +1,13 @@
 PORTNAME=	twisted
-PORTVERSION=	24.7.0
-PORTREVISION=	1
+PORTVERSION=	25.5.0
 CATEGORIES=	devel net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	python@FreeBSD.org
 COMMENT=	Asynchronous networking framework written in Python
-WWW=		https://twistedmatrix.com/ \
+WWW=		https://twisted.org/ \
+		https://docs.twisted.org/en/stable/ \
 		https://github.com/twisted/twisted
 
 LICENSE=	MIT
@@ -15,10 +15,9 @@ 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}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} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=22.2.0:devel/py-attrs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Automat>=24.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>=24.7.0:devel/py-incremental@${PY_FLAVOR} \
@@ -35,20 +34,21 @@ CPE_VENDOR=	twistedmatrix
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	CONCH HTTP2 SERIAL TLS
-OPTIONS_DEFAULT=CONCH HTTP2 SERIAL TLS
+OPTIONS_DEFINE=	CONCH HTTP2 SERIAL TLS WEBSOCKET
+OPTIONS_DEFAULT=CONCH HTTP2 SERIAL TLS WEBSOCKET
 CONCH_DESC=	Conch secure shell SSH
 SERIAL_DESC=	Serial port extension
 
 CONCH_USE=		PYTHON=cryptography
 CONCH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}bcrypt>=3.1.3:security/py-bcrypt@${PY_FLAVOR}
-HTTP2_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h2>=3.0<5.0:www/py-h2@${PY_FLAVOR} \
+HTTP2_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}h2>=3.2<5.0: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}pyopenssl>=21.0.0,1:security/py-pyopenssl@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}service-identity>=18.1.0:security/py-service-identity@${PY_FLAVOR}
+WEBSOCKET_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wsproto>=0:net/py-wsproto@${PY_FLAVOR}
 
 # We need twisted.trial in PYTHONPATH
 # twisted.conch tests depend on finding certain scripts in PATH
diff --git a/devel/py-twisted/distinfo b/devel/py-twisted/distinfo
index 9904e18a044b..bc0c67f06e5a 100644
--- a/devel/py-twisted/distinfo
+++ b/devel/py-twisted/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1727922157
-SHA256 (twisted-24.7.0.tar.gz) = 5a60147f044187a127ec7da96d170d49bcce50c6fd36f594e60f4587eff4d394
-SIZE (twisted-24.7.0.tar.gz) = 3516844
+TIMESTAMP = 1765033038
+SHA256 (twisted-25.5.0.tar.gz) = 1deb272358cb6be1e3e8fc6f9c8b36f78eb0fa7c2233d2dbe11ec6fee04ea316
+SIZE (twisted-25.5.0.tar.gz) = 3545725