Skip to contentSkip to conversation

package/python-twisted: bump to version 24.7.0

PATCH New James Hilliard 1 participant 1 message Sep 22, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-twisted: bump to version 24.7.0

Drop no longer required python-pyhamcrest runtime dependency.

Drop no longer required python-pyasn1 runtime dependency.

Migrate from setuptools to hatchling build backend.

License hash changed due to year update:
https://github.com/twisted/twisted/commit/4ed1a5b8ad9aaa1e3c5adb13076a2d79ec4279f1

---
 package/python-twisted/Config.in           |  2 --
 package/python-twisted/python-twisted.hash |  8 ++++----
 package/python-twisted/python-twisted.mk   | 13 ++++++++-----
 3 files changed, 12 insertions(+), 11 deletions(-)
package/python-twisted/Config.in +0 -2
index 1f3baf57e2..84786689b7 100644
@@ -5,7 +5,6 @@ config BR2_PACKAGE_PYTHON_TWISTED
 	select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
 	select BR2_PACKAGE_PYTHON_CONSTANTLY # runtime
 	select BR2_PACKAGE_PYTHON_HYPERLINK # runtime
-	select BR2_PACKAGE_PYTHON_PYHAMCREST # runtime
 	select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime
 	select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
 	help
@@ -35,7 +34,6 @@ config BR2_PACKAGE_PYTHON_TWISTED_CONCH
 	select BR2_PACKAGE_PYTHON_APPDIRS # runtime
 	select BR2_PACKAGE_PYTHON_BCRYPT # runtime
 	select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
-	select BR2_PACKAGE_PYTHON_PYASN1 # runtime
 
 config BR2_PACKAGE_PYTHON_TWISTED_SERIAL
 	bool "Serial support"
package/python-twisted/python-twisted.hash +4 -4
index 36612ff5e7..a414058ca7 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/twisted/json
-md5  c9a5dad0813512fabd9de502738c0bf8  Twisted-22.10.0.tar.gz
-sha256  32acbd40a94f5f46e7b42c109bfae2b302250945561783a8b7a059048f2d4d31  Twisted-22.10.0.tar.gz
-# Locally computed sha256
-sha256  686f6426a775450eb3afd00bc3a5c2621f305ddb9c8478ee9bf28a368ef2dece  LICENSE
+md5  f89c2542ea9cb39c5343472fdefb4a22  twisted-24.7.0.tar.gz
+sha256  5a60147f044187a127ec7da96d170d49bcce50c6fd36f594e60f4587eff4d394  twisted-24.7.0.tar.gz
+# Locally computed sha256 checksums
+sha256  78d059391dddba18a695c1998ac9dde68160a1df1635f34adcfb3ecba4564802  LICENSE
package/python-twisted/python-twisted.mk +8 -5
index 398baed2a8..71d1b32df2 100644
@@ -4,14 +4,17 @@
 #
 ################################################################################
 
-PYTHON_TWISTED_VERSION = 22.10.0
-PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz
-PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/b2/ce/cbb56597127b1d51905b0cddcc3f314cc769769efc5e9a8a67f4617f7bca
-PYTHON_TWISTED_SETUP_TYPE = setuptools
+PYTHON_TWISTED_VERSION = 24.7.0
+PYTHON_TWISTED_SOURCE = twisted-$(PYTHON_TWISTED_VERSION).tar.gz
+PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/8b/bf/f30eb89bcd14a21a36b4cd3d96658432d4c590af3c24bbe08ea77fa7bbbb
+PYTHON_TWISTED_SETUP_TYPE = pep517
 PYTHON_TWISTED_LICENSE = MIT
 PYTHON_TWISTED_LICENSE_FILES = LICENSE
 PYTHON_TWISTED_CPE_ID_VENDOR = twistedmatrix
 PYTHON_TWISTED_CPE_ID_PRODUCT = twisted
-PYTHON_TWISTED_DEPENDENCIES = python-incremental host-python-incremental
+PYTHON_TWISTED_DEPENDENCIES = \
+	host-python-hatchling \
+	host-python-hatch-fancy-pypi-readme \
+	host-python-incremental
 
 $(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot