Opened 19 years ago

Closed 19 years ago

Last modified 8 years ago

#2488 closed submission (fixed)

scipy portfile

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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):

Attachments (4)

Portfile (651 bytes) - added by erickt@… 19 years ago.
portfile updated with checksum info
Portfile.2 (609 bytes) - added by erickt@… 19 years ago.
updated with homepage and maintainer
patch-scipy.diff (1.0 KB) - added by erickt@… 19 years ago.
patch file
Portfile.3 (611 bytes) - added by erickt@… 19 years ago.
Updated group to python24

Download all attachments as: .zip

Change History (10)

Changed 19 years ago by erickt@…

Attachment: Portfile added

portfile updated with checksum info

comment:1 Changed 19 years ago by mww@…

Owner: changed from darwinports-bugs@… to mww@…
  1. homepage, maintainer keys are missing
  2. build.cmd, build.target, destroot.cmd, destroot.target are already set by the group code

(btw, please add all files as attachements, as copying&pasting this stuff to files is rather error prone)

Changed 19 years ago by erickt@…

Attachment: Portfile.2 added

updated with homepage and maintainer

comment:2 Changed 19 years ago by erickt@…

attachments.isobsolete: 01

Changed 19 years ago by erickt@…

Attachment: patch-scipy.diff added

patch file

comment:3 Changed 19 years ago by mww@…

dependson: 2526

currently cant test scipy as g77 fails to compile

Changed 19 years ago by erickt@…

Attachment: Portfile.3 added

Updated group to python24

comment:4 Changed 19 years ago by erickt@…

attachments.isobsolete: 01

comment:5 Changed 19 years ago by mww@…

Resolution: fixed
Status: newclosed

thanks - commited! ..and sorry for the g77 bug... =)

comment:6 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: py-scipy added
Type: defectsubmission
Note: See TracTickets for help on using tickets.