summaryrefslogtreecommitdiff
path: root/graphics/py-pandarm/files/patch-pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--graphics/py-pandarm/files/patch-pyproject.toml36
1 files changed, 36 insertions, 0 deletions
diff --git a/graphics/py-pandarm/files/patch-pyproject.toml b/graphics/py-pandarm/files/patch-pyproject.toml
new file mode 100644
index 000000000000..5a9669386ce9
--- /dev/null
+++ b/graphics/py-pandarm/files/patch-pyproject.toml
@@ -0,0 +1,36 @@
+--- pyproject.toml.orig 2025-11-28 23:32:04 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ build-backend = "setuptools.build_meta"
+ [build-system]
+ # Requirements for building the compiled package
+ build-backend = "setuptools.build_meta"
+-requires = ["wheel", "setuptools >=40.8", "setuptools_scm[toml]>=6.2", "cython >=3", "numpy >=2.0"]
++requires = ["wheel", "setuptools >=40.8", "setuptools_scm[toml]>=6.2", "cython >=3", "numpy"]
+
+ [tool.setuptools_scm]
+
+@@ -9,7 +9,7 @@ dependencies = [
+ name = "pandarm"
+ dynamic = ["version"]
+ dependencies = [
+- "numpy >=2",
++ "numpy",
+ "pandas >=2",
+ "geopandas",
+ "scikit-learn >=0.18",
+@@ -19,7 +19,7 @@ classifiers = [
+ "Programming Language :: Python :: 3",
+ "License :: OSI Approved :: GNU Affero General Public License v3"
+ ]
+-license-files = ["LICENSE"]
++license = {file = "LICENSE"}
+ requires-python = ">=3.10"
+
+ [tool.setuptools.packages.find]
+@@ -74,4 +74,4 @@ exclude_lines = [
+ "raise NotImplementedError",
+ "except ModuleNotFoundError:",
+ "except ImportError",
+-]
+\ No newline at end of file
++]