summaryrefslogtreecommitdiffstats
path: root/python-numpy/build/patches
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-10-21 14:17:10 +0000
committer Eric Hameleers <alien@slackware.com>2021-10-21 14:17:10 +0000
commitd4ca492e0b937c8463012c1277fd0740c8cf1cfd (patch)
treedd4184ad1494715b13473fb8b00d3e251feb8237 /python-numpy/build/patches
parent8cdf08842e80c5b872b6743b3f953237be5d92f9 (diff)
downloadasb-d4ca492e0b937c8463012c1277fd0740c8cf1cfd.tar.gz
asb-d4ca492e0b937c8463012c1277fd0740c8cf1cfd.tar.xz
Initial revision
Diffstat (limited to 'python-numpy/build/patches')
-rw-r--r--python-numpy/build/patches/numpy-1.2x_python310.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/python-numpy/build/patches/numpy-1.2x_python310.patch b/python-numpy/build/patches/numpy-1.2x_python310.patch
new file mode 100644
index 00000000..17c8fa75
--- /dev/null
+++ b/python-numpy/build/patches/numpy-1.2x_python310.patch
@@ -0,0 +1,13 @@
+--- numpy-1.21.3/setup.py.orig 2021-10-20 00:17:30.277592000 +0200
++++ numpy-1.21.3/setup.py 2021-10-21 13:54:50.722540527 +0200
+@@ -30,7 +30,9 @@
+
+ # Python supported version checks. Keep right after stdlib imports to ensure we
+ # get a sensible error for older Python versions
+-if sys.version_info[:2] < (3, 7):
++if sys.version_info[0] < 3:
++ raise RuntimeError("Python version >= 3 required.")
++if sys.version_info[1] < 7:
+ raise RuntimeError("Python version >= 3.7 required.")
+
+