python3-zopeinterface: Fix build with setuptools > 74

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2024-11-23 18:34:35 -08:00
parent f8d480d426
commit 19bd24d22d
2 changed files with 25 additions and 0 deletions
@@ -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]
@@ -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 "