Files
macports-ports/python/py-numpy/files/patch-numpy_tests_test_scripts.py.27.diff
Renee Otten bfba8aa687 py-numpy: remove py27 and py3[34] subports
- remove no longer needed patchfiles and rename the patchfiles
containting "34" to "27"
- update modeline
2020-01-12 22:23:50 +07:00

12 lines
448 B
Diff

--- numpy/tests/test_scripts.py.orig
+++ numpy/tests/test_scripts.py
@@ -32,7 +32,7 @@
version = sys.version_info
major = str(version.major)
minor = str(version.minor)
- return ['f2py', 'f2py' + major, 'f2py' + major + '.' + minor]
+ return ['f2py', 'f2py' + major, 'f2py' + major + '.' + minor, 'f2py-' + major + '.' + minor]
@pytest.mark.skipif(is_inplace, reason="Cannot test f2py command inplace")