void-packages/srcpkgs/python-numpy/patches/numpy_f2py_setup.patch
Alessio Sergi d9830419c5 python-numpy: rebuild for Python 3.5
Switch to python3-* pkgs.
Convert python3.4-* pkg into dummy pkg.
2016-10-17 17:30:30 +02:00

11 lines
430 B
Diff

--- numpy/f2py/setup.py.orig
+++ numpy/f2py/setup.py
@@ -55,7 +55,7 @@ def configuration(parent_package='', top
config.make_svn_version_py()
def generate_f2py_py(build_dir):
- f2py_exe = 'f2py' + os.path.basename(sys.executable)[6:]
+ f2py_exe = 'f2py'
if f2py_exe[-4:] == '.exe':
f2py_exe = f2py_exe[:-4] + '.py'
if 'bdist_wininst' in sys.argv and f2py_exe[-3:] != '.py':