summaryrefslogtreecommitdiff
path: root/devel/py-maturin/files/patch-pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-maturin/files/patch-pyproject.toml')
-rw-r--r--devel/py-maturin/files/patch-pyproject.toml27
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/py-maturin/files/patch-pyproject.toml b/devel/py-maturin/files/patch-pyproject.toml
new file mode 100644
index 000000000000..ad79b31a27b2
--- /dev/null
+++ b/devel/py-maturin/files/patch-pyproject.toml
@@ -0,0 +1,27 @@
+* Relax version requirements for py-setuptools and enable build for
+ older versions of it
+
+--- pyproject.toml.orig 2025-08-04 11:39:48 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ # Workaround to bootstrap maturin on non-manylinux platforms
+ [build-system]
+ requires = [
+- "setuptools>=77.0.0",
++ "setuptools",
+ "tomli>=1.1.0 ; python_version<'3.11'",
+ "setuptools-rust>=1.11.0",
+ ]
+@@ -14,11 +14,7 @@ requires-python = ">=3.7"
+ authors = [{ name = "konstin", email = "konstin@mailbox.org" }]
+ readme = { file = "README.md", content-type = "text/markdown" }
+ requires-python = ">=3.7"
+-license = "MIT OR Apache-2.0"
+-license-files = [
+- "license-mit",
+- "license-apache",
+-]
++license = { text = "MIT OR Apache-2.0" }
+ classifiers = [
+ "Topic :: Software Development :: Build Tools",
+ "Programming Language :: Rust",