From d4ca492e0b937c8463012c1277fd0740c8cf1cfd Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 21 Oct 2021 14:17:10 +0000 Subject: Initial revision --- python-numpy/build/patches/numpy-1.2x_python310.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 python-numpy/build/patches/numpy-1.2x_python310.patch (limited to 'python-numpy') 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.") + + -- cgit v1.2.3-80-g2a13