Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18956
Added Files:
f2py-py.info f2py-py.patch
Log Message:
GCC: 4.0 version
--- NEW FILE: f2py-py.patch ---
--- F2PY/other/scipy_distutils/ibmfcompiler.py.orig Wed Dec 22 14:43:29 2004
+++ F2PY/other/scipy_distutils/ibmfcompiler.py Wed Dec 22 14:46:37 2004
@@ -15,7 +15,7 @@
'compiler_f77' : ["xlf"],
'compiler_fix' : ["xlf90", "-qfixed"],
'compiler_f90' : ["xlf90"],
- 'linker_so' : ["xlf95"],
+ 'linker_so' : ["gcc"],
'archiver' : ["ar", "-cr"],
'ranlib' : ["ranlib"]
}
@@ -45,7 +45,7 @@
def get_flags_linker_so(self):
opt = []
if sys.platform=='darwin':
- opt.append('-Wl,-bundle,-flat_namespace,-undefined,suppress')
+ opt.append('-bundle -undefined dynamic_lookup')
else:
opt.append('-bshared')
version = self.get_version(ok_status=[0,40])
@@ -70,6 +70,16 @@
def get_flags_opt(self):
return ['-O5']
+
+ def get_library_dirs(self):
+ opt = FCompiler.get_library_dirs(self)
+ opt.append('/opt/ibmcmp/lib')
+ return opt
+
+ def get_libraries(self):
+ opt = FCompiler.get_libraries(self)
+ opt.extend(['xlf90.A','xlfmath.A'])
+ return opt
if __name__ == '__main__':
from distutils import log
--- F2PY/other/scipy_distutils/gnufcompiler.py.orig Wed Dec 15 05:46:09 2004
+++ F2PY/other/scipy_distutils/gnufcompiler.py Wed Dec 22 14:05:08 2004
@@ -28,7 +28,7 @@
'compiler_f77' : [fc_exe,"-Wall","-fno-second-underscore"],
'compiler_f90' : None,
'compiler_fix' : None,
- 'linker_so' : [fc_exe],
+ 'linker_so' : ["gcc"],
'archiver' : ["ar", "-cr"],
'ranlib' : ["ranlib"],
}
@@ -53,7 +53,7 @@
# This is when Python is from Apple framework
opt.extend(["-Wl,-framework","-Wl,Python"])
#else we are running in Fink python.
- opt.extend(["-lcc_dynamic","-bundle"])
+ opt.extend(["-bundle -undefined dynamic_lookup"])
else:
opt.append("-shared")
if sys.platform[:5]=='sunos':
--- NEW FILE: f2py-py.info ---
Info2: <<
Package: f2py-py%type_pkg[python]
Version: 2.45.241
Revision: 1004
GCC: 4.0
Type: python (2.3 2.4)
Description: Fortran to Python Interface Generator
DescDetail: <<
The Fortran to Python Interface Generator, or F2PY for short, is a
command line tool (f2py) for generating Python C/API modules for
wrapping Fortran 77/90/95 subroutines, accessing common blocks from
Python, and calling Python functions from Fortran (call-backs).
Interfacing subroutines/data from Fortran 90/95 modules is supported.
The driver script is installed by f2py-pyXY-bin,
which creates a symlink from f2pyX.Y to f2py (where X.Y
is the python version, i.e. 2.2, 2.3 or 2.4).
<<
Source: http://cens.ioc.ee/projects/f2py2e/2.x/F2PY-2.45.241_1926.tar.gz
Source2:
http://cens.ioc.ee/projects/f2py2e/2.x/scipy_distutils-0.3.3_33.572.tar.gz
Depends: python%type_pkg[python] | python%type_pkg[python]-nox,
numeric-py%type_pkg[python], g77
PatchScript: <<
#!/bin/sh -e
mkdir -p other/scipy_distutils
cp -R ../scipy_distutils-0.3.3_33.572/* other/scipy_distutils
patch -p1 < %a/%{ni}.patch
<<
CompileScript: <<
#!/bin/sh -e
%p/bin/python%type_raw[python] setup.py build
cd other/scipy_distutils
%p/bin/python%type_raw[python] setup.py build
<<
InstallScript: <<
#!/bin/sh -e
%p/bin/python%type_raw[python] setup.py install --root=%d
mkdir -p %i/share/doc/%n
mkdir -p %i/bin
cp -R docs/ %i/share/doc/%n
ln -s %p/bin/f2py%type_raw[python] %i/bin/f2py
cd other/scipy_distutils
%p/bin/python%type_raw[python] setup.py install --root=%d
<<
SplitOff: <<
Package: f2py-py%type_pkg[python]-bin
Depends: f2py-py%type_pkg[python]
Conflicts: f2py-py22-bin, f2py-py23-bin, f2py-py24-bin
Replaces: f2py-py22-bin, f2py-py23-bin, f2py-py24-bin
Files: bin/f2py
<<
License: LGPL
Homepage: http://cens.ioc.ee/projects/f2py2e
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
Source-MD5: 8aedac9cad32afdcddcfb026b6393ece
Source2-MD5: 10626a9d407a496b96c1419e26e6ac37
<<
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits