python3-zopeinterface: upgrade 7.1.1 -> 8.2
PATCH 1/2 python3-zopeinterface: upgrade 7.1.1 -> 8.2
Drop obsolete patch.
An important change is that this version supports Python 3.14.
License-Update: switch to license file instead of PKG-INFO file. The license itself hasn't changed.
Changelog:
https://github.com/zopefoundation/zope.interface/blob/master/CHANGES.rst
---
.../0001-Allow-using-setuptools-74.patch | 24 -------------------
..._7.1.1.bb => python3-zopeinterface_8.2.bb} | 7 +++---
2 files changed, 3 insertions(+), 28 deletions(-)
delete mode 100644 meta-python/recipes-devtools/python/python3-zopeinterface/0001-Allow-using-setuptools-74.patch
rename meta-python/recipes-devtools/python/{python3-zopeinterface_7.1.1.bb => python3-zopeinterface_8.2.bb} (71%)meta-python/recipes-devtools/python/python3-zopeinterface/0001-Allow-using-setuptools-74.patch deleted +0 -24
@@ -1,24 +0,0 @@ -From 5060ecfe6cff5110cbfbc781fc7342ad08fc6f90 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 23 Nov 2024 18:30:40 -0800 -Subject: [PATCH] Allow using setuptools > 74 - -Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]> ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 17da486..7906a37 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -3,7 +3,7 @@ - # https://github.com/zopefoundation/meta/tree/master/config/c-code - - [build-system] --requires = ["setuptools<74"] -+requires = ["setuptools"] - build-backend = "setuptools.build_meta" - - [tool.coverage.run]
meta-python/recipes-devtools/python/python3-zopeinterface_8.2.bb renamed from meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb +3 -4
@@ -1,13 +1,12 @@ SUMMARY = "Interface definitions for Zope products" LICENSE = "ZPL-2.1" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423ec128974bd9d46" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78ccb3640dc841e1baecb3e27a6966b2" -PYPI_PACKAGE = "zope.interface" +PYPI_PACKAGE = "zope_interface" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta -SRC_URI += "file://0001-Allow-using-setuptools-74.patch" -SRC_URI[sha256sum] = "4284d664ef0ff7b709836d4de7b13d80873dc5faeffc073abdb280058bfac5e3" +SRC_URI[sha256sum] = "afb20c371a601d261b4f6edb53c3c418c249db1a9717b0baafc9a9bb39ba1224" PACKAGES =. "${PN}-test " RPROVIDES:${PN} += "zope-interfaces"
PATCH 2/2 python3-txdbus: add missing RDEPENDS
This module depends on python3-six, otherwise it errors out:
Quoted 1 line
Quoted 1 line
Quoted 1 line
from txdbus.interface import DBusInterface, Method, Signal
Traceback (most recent call last):
File "<python-input-1>", line 1, in <module>
from txdbus.interface import DBusInterface, Method, Signal
File "/usr/lib/python3.14/site-packages/txdbus/interface.py", line 8, in <module>
import six
ModuleNotFoundError: No module named 'six'
Add the missing dependency.
--- meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb +1 -1
@@ -8,4 +8,4 @@ SRC_URI[sha256sum] = "8375a5fb68a12054f0def91af800c821fb2232949337756ed975f88d8e inherit pypi setuptools3 -RDEPENDS:${PN} += "python3-twisted-core" +RDEPENDS:${PN} += "python3-twisted-core python3-six"