summaryrefslogtreecommitdiff
path: root/math/py-POT/files
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-12-23 01:44:03 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2023-12-23 01:44:03 -0800
commitc979e833c98963bb32216474111f1817ceac3d29 (patch)
treebaac3da58376324c4cd8a7a612a48fe33580eac8 /math/py-POT/files
parentmath/rumur: update 2023.05.21 → 2023.11.27 (diff)
math/py-POT: New port: Python Optimal Transport Library
Diffstat (limited to 'math/py-POT/files')
-rw-r--r--math/py-POT/files/patch-pyproject.toml9
-rw-r--r--math/py-POT/files/patch-setup.py11
2 files changed, 20 insertions, 0 deletions
diff --git a/math/py-POT/files/patch-pyproject.toml b/math/py-POT/files/patch-pyproject.toml
new file mode 100644
index 000000000000..c2896e3923c0
--- /dev/null
+++ b/math/py-POT/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig 2023-12-23 09:30:10 UTC
++++ pyproject.toml
+@@ -1,3 +1,3 @@
+ [build-system]
+-requires = ["setuptools", "wheel", "oldest-supported-numpy", "cython>=0.23"]
+-build-backend = "setuptools.build_meta"
+\ No newline at end of file
++requires = ["setuptools", "wheel", "numpy", "cython>=0.23"]
++build-backend = "setuptools.build_meta"
diff --git a/math/py-POT/files/patch-setup.py b/math/py-POT/files/patch-setup.py
new file mode 100644
index 000000000000..dcca65464a91
--- /dev/null
+++ b/math/py-POT/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2023-12-23 09:28:27 UTC
++++ setup.py
+@@ -68,7 +68,7 @@ setup(
+ license='MIT',
+ scripts=[],
+ data_files=[],
+- setup_requires=["oldest-supported-numpy", "cython>=0.23"],
++ setup_requires=["numpy", "cython>=0.23"],
+ install_requires=["numpy>=1.16", "scipy>=1.6"],
+ python_requires=">=3.6",
+ classifiers=[