Opened 20 years ago

Last modified 9 years ago

#2488 closed submission

scipy portfile — at Initial Version

Reported by: erickt@… Owned by: darwinports-bugs@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: py-scipy

Description

Note: there are two files here, the portfile, and a patch. Btw, I copied the patch from fink, so I hope that's okay.

=======

PortSystem 1.0 PortGroup python 1.0

name py-scipy version 0.3.2 categories python platforms darwin description An opensource library of scientific tools for Python

master_sites http://www.scipy.org/download/scipy/src/ distname SciPy_complete-${version} patchfiles patch-scipy.diff

depends_lib-append lib:gnuplot:gnuplot \

lib:fftw:fftw \ lib:py-numeric:py-numeric \ lib:py-f2py:py-f2py \ lib:g77:g77

use_configure no

worksrcdir ${distname}

build.cmd python setup.py build.target build build.env LDFLAGS="-L${prefix}/lib"

destroot.cmd ${build.cmd} destroot.target install

=====

--- scipy_core/scipy_distutils/gnufcompiler.py Wed Feb 18 01:51:39 2004 +++ scipy_core/scipy_distutils/gnufcompiler.py Thu Mar 4 06:28:32 2004 @@ -27,7 +27,7 @@

'compiler_f77' : [fc_exe,"-Wall","-fno-second-underscore"], 'compiler_f90' : None, 'compiler_fix' : None,

  • 'linker_so' : [fc_exe],

+ 'linker_so' : gcc -bundle -flat_namespace -undefined suppress?,

'archiver' : ["ar", "-cr"], 'ranlib' : ranlib?, }

@@ -52,7 +52,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(["-lcc_dynamic","-bundle"])

else:

opt.append("-shared")

if sys.platform[:5]=='sunos':

@@ -94,6 +94,7 @@

opt.extend(['gcc',g2c])

else:

opt.append(g2c)

+ opt.append('cc_dynamic')

return opt

def get_flags_debug(self):

Change History (1)

Changed 20 years ago by erickt@…

Attachment: Portfile added

portfile updated with checksum info

Note: See TracTickets for help on using tickets.