mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Do not append version number to f2py executable
PR: 105641 Submitted by: Diane Bruce <db@db.net> Reviewed by: myself
This commit is contained in:
parent
2f54b9f422
commit
58c4376e64
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177548
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= f2py
|
||||
PORTVERSION= 2.45.241.1926
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang python
|
||||
MASTER_SITES= http://cens.ioc.ee/projects/f2py2e/2.x/
|
||||
DISTNAME= ${PORTNAME:U}-${PORTVERSION:R}_${PORTVERSION:E}
|
||||
|
11
lang/f2py/files/patch-setup.py
Normal file
11
lang/f2py/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig Sun Jan 30 12:22:14 2005
|
||||
+++ setup.py Thu Nov 16 18:46:25 2006
|
||||
@@ -40,7 +40,7 @@
|
||||
f2py2e.main()
|
||||
'''%(os.path.basename(sys.executable))
|
||||
|
||||
-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':
|
Loading…
Reference in New Issue
Block a user