diff mbox series

[meta-python] python3-twisted: upgrade 24.11.0 -> 25.5.0

Message ID 20250607130340.70124-1-gudni.m.g@gmail.com
State Under Review
Headers show
Series [meta-python] python3-twisted: upgrade 24.11.0 -> 25.5.0 | expand

Commit Message

Guðni Már Gilbert June 7, 2025, 1:03 p.m. UTC
LIC_FILES_CHKSUM is updated. The year in the copyright header was changed for 2025.

Added a PACKAGECONFIG for a new optional runtime dependency python3-wsproto which
is required for the new twisted.web.websockets module.

Changes:
https://github.com/twisted/twisted/compare/twisted-24.11.0...twisted-25.5.0

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
---
 ...thon3-twisted_24.11.0.bb => python3-twisted_25.5.0.bb} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-twisted_24.11.0.bb => python3-twisted_25.5.0.bb} (95%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.11.0.bb b/meta-python/recipes-devtools/python/python3-twisted_25.5.0.bb
similarity index 95%
rename from meta-python/recipes-devtools/python/python3-twisted_24.11.0.bb
rename to meta-python/recipes-devtools/python/python3-twisted_25.5.0.bb
index 6f2894e886..4685829ee3 100644
--- a/meta-python/recipes-devtools/python/python3-twisted_24.11.0.bb
+++ b/meta-python/recipes-devtools/python/python3-twisted_25.5.0.bb
@@ -4,9 +4,9 @@  Twisted supports TCP, UDP, SSL/TLS, multicast, Unix sockets, a large number of p
 HOMEPAGE = "https://twisted.org"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c1c5d2c2493b848f83864bdedd67bbf5"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5316a448a61a38d722c291f78d915d11"
 
-SRC_URI[sha256sum] = "695d0556d5ec579dcc464d2856b634880ed1319f45b10d19043f2b57eb0115b5"
+SRC_URI[sha256sum] = "1deb272358cb6be1e3e8fc6f9c8b36f78eb0fa7c2233d2dbe11ec6fee04ea316"
 
 inherit pypi python_hatchling
 
@@ -42,6 +42,10 @@  RDEPENDS:${PN} = "\
     ${PN}-zsh \
 "
 
+# Optional dependencies
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[websocket] = ",,,python3-wsproto"
+
 RDEPENDS:${PN}-core = "python3-asyncio \
                        python3-attrs \
                        python3-automat \