devel/py-twisted: Update to 23.8.0

- Update WWW
- Relax USES=pythoon
- Convert to USE_PYTHON=pep517

Changes:	https://github.com/twisted/twisted/releases
This commit is contained in:
Po-Chuan Hsieh 2023-09-07 04:50:34 +08:00
parent aef816d54b
commit c5e53f4516
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
3 changed files with 38 additions and 17 deletions

View file

@ -1,31 +1,33 @@
PORTNAME= twisted PORTNAME= twisted
PORTVERSION= 22.10.0 PORTVERSION= 23.8.0
PORTREVISION= 1
CATEGORIES= devel net python CATEGORIES= devel net python
MASTER_SITES= PYPI MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Twisted-${PORTVERSION}
MAINTAINER= python@FreeBSD.org MAINTAINER= python@FreeBSD.org
COMMENT= Asynchronous networking framework written in Python COMMENT= Asynchronous networking framework written in Python
WWW= https://twistedmatrix.com/ WWW= https://twistedmatrix.com/ \
https://github.com/twisted/twisted
LICENSE= MIT LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}incremental>=21.3.0:devel/py-incremental@${PY_FLAVOR} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=22.5.0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.10.0:devel/py-hatchling@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}incremental>=21.3.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}Automat>=0.8.0:devel/py-Automat@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}constantly>=15.1:devel/py-constantly@${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}hyperlink>=17.1.1:www/py-hyperlink@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}incremental>=21.3.0:devel/py-incremental@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}incremental>=21.3.0:devel/py-incremental@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.5:devel/py-typing-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0:devel/py-typing-extensions@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zope.interface>=4.4.2:devel/py-zope.interface@${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} \ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython-test-exception-raiser>=1.0.2<2:devel/py-cython-test-exception-raiser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}PyHamcrest>=1.9.0:textproc/py-pyhamcrest@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}hypothesis>=6.56:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}PyHamcrest>=2:textproc/py-pyhamcrest@${PY_FLAVOR}
USES= cpe python:3.8-3.10 USES= cpe python
USE_PYTHON= autoplist concurrent distutils USE_PYTHON= autoplist concurrent pep517
CPE_VENDOR= twistedmatrix CPE_VENDOR= twistedmatrix
@ -38,13 +40,12 @@ SERIAL_DESC= Serial port extension
CONCH_USES= pycryptography:run CONCH_USES= pycryptography:run
CONCH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=1.4.0:devel/py-appdirs@${PY_FLAVOR} \ 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}bcrypt>=3.1.3:security/py-bcrypt@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR}
HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3.0<5.0:www/py-h2@${PY_FLAVOR} \ HTTP2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=3.0<5.0:www/py-h2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}priority1>=1.1.0<2.0:www/py-priority1@${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} 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} \ 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}openssl>=21.0.0,1:security/py-openssl@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}service_identity>=18.1.0:security/py-service_identity@${PY_FLAVOR}
# We need twisted.trial in PYTHONPATH # We need twisted.trial in PYTHONPATH

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1669549098 TIMESTAMP = 1693987497
SHA256 (Twisted-22.10.0.tar.gz) = 32acbd40a94f5f46e7b42c109bfae2b302250945561783a8b7a059048f2d4d31 SHA256 (twisted-23.8.0.tar.gz) = 3c73360add17336a622c0d811c2a2ce29866b6e59b1125fd6509b17252098a24
SIZE (Twisted-22.10.0.tar.gz) = 3524935 SIZE (twisted-23.8.0.tar.gz) = 3478691

View file

@ -0,0 +1,20 @@
--- 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",