aboutsummaryrefslogtreecommitdiff
path: root/math/py-pyreadstat/files/patch-setup.py
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-11-03 13:20:44 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-11-03 13:20:44 +0000
commitf452d7b439d3ecb03464b87ccffc21a1b407e724 (patch)
tree20e79c9b8b3b2108caf18e09e22216dca37b5e40 /math/py-pyreadstat/files/patch-setup.py
parent5f1575b6a096d8913f8ad699172261eda581d5a1 (diff)
Diffstat (limited to 'math/py-pyreadstat/files/patch-setup.py')
-rw-r--r--math/py-pyreadstat/files/patch-setup.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/py-pyreadstat/files/patch-setup.py b/math/py-pyreadstat/files/patch-setup.py
new file mode 100644
index 000000000000..ee04a6d9cc21
--- /dev/null
+++ b/math/py-pyreadstat/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- setup.py.orig 2024-10-18 20:21:39 UTC
++++ setup.py
+@@ -26,11 +26,6 @@ if PY_MAJOR_VERSION < 3 and os.name == 'nt':
+ if PY_MAJOR_VERSION < 3 and os.name == 'nt':
+ raise Exception("Python 2 is not supported on Windows.")
+
+-cyver = int(Cython.__version__.split(".")[0])
+-if cyver < 3:
+- msg = "Cython version 3 or newer required"
+- raise Exception(msg)
+-
+ ext = '.pyx'
+
+