diff mbox series

[meta-python] python3-zopeinterface: Fix build with setuptools > 74

Message ID 20241124023512.1984577-1-raj.khem@gmail.com
State New
Headers show
Series [meta-python] python3-zopeinterface: Fix build with setuptools > 74 | expand

Commit Message

Khem Raj Nov. 24, 2024, 2:35 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../0001-Allow-using-setuptools-74.patch      | 24 +++++++++++++++++++
 .../python/python3-zopeinterface_7.1.1.bb     |  1 +
 2 files changed, 25 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-zopeinterface/0001-Allow-using-setuptools-74.patch
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-zopeinterface/0001-Allow-using-setuptools-74.patch b/meta-python/recipes-devtools/python/python3-zopeinterface/0001-Allow-using-setuptools-74.patch
new file mode 100644
index 0000000000..a01247fe5a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-zopeinterface/0001-Allow-using-setuptools-74.patch
@@ -0,0 +1,24 @@ 
+From 5060ecfe6cff5110cbfbc781fc7342ad08fc6f90 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sat, 23 Nov 2024 18:30:40 -0800
+Subject: [PATCH] Allow using setuptools > 74
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ 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]
diff --git a/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb b/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb
index 76b0641817..dcf660d419 100644
--- a/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-zopeinterface_7.1.1.bb
@@ -5,6 +5,7 @@  LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e54fd776274c1b7423
 PYPI_PACKAGE = "zope.interface"
 
 inherit pypi python_setuptools_build_meta
+SRC_URI += "file://0001-Allow-using-setuptools-74.patch"
 SRC_URI[sha256sum] = "4284d664ef0ff7b709836d4de7b13d80873dc5faeffc073abdb280058bfac5e3"
 PACKAGES =. "${PN}-test "