Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2481
Added Files:
numeric-py.info numeric-py.patch
Log Message:
New upstream version, py23 and py22 combined into one using variants.
--- NEW FILE: numeric-py.info ---
Info2: <<
Package: numeric-py%type_pkg[python]
Version: 23.5
Revision: 11
Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
Type: python (2.2 2.3)
Depends: python%type_pkg[python] | python%type_pkg[python]-nox
Replaces: numeric
Provides: numeric
Source: mirror:sourceforge:numpy/Numeric-%v.tar.gz
Source-MD5: a0d5fd36055a9bbd084f125fa2a61c72
Patch: %{ni}.patch
CompileScript: <<
%p/bin/python%type_raw[python] setup.py build
<<
InstallScript: <<
%p/bin/python%type_raw[python] setup.py install --root %d
mkdir -p %i/share/doc/%n
cp -R Demo %i/share/doc/%n
<<
DocFiles: changes.txt README Packages/MA/Legal.htm
Description: Multidim'l numerical arrays for Python, using Apple vecLib
DescDetail: <<
Links against optimized Apple vecLib BLAS/LAPACK, instead of
using slower, built-in blas and lapack routines.
Should now be just as fast as numeric-atlas.
<<
License: OSI-Approved
Homepage: http://www.pfdubois.com/numpy
<<
--- NEW FILE: numeric-py.patch ---
--- Numeric-23.0/setup.py.orig Thu Mar 6 11:58:01 2003
+++ Numeric-23.0/setup.py Thu Mar 6 12:00:23 2003
@@ -20,6 +20,7 @@
headers = glob (os.path.join ("Include","Numeric","*.h"))
extra_compile_args = [] # You could put "-O4" etc. here.
+extra_link_args = ["-framework", "vecLib"]
mathlibs = ['m']
define_macros = [('HAVE_INVERSE_HYPERBOLIC',None)]
undef_macros = []
@@ -32,21 +33,14 @@
mathlibs = []
# delete all but the first one in this list if using your own LAPACK/BLAS
-sourcelist = [os.path.join('Src', 'lapack_litemodule.c'),
- os.path.join('Src', 'blas_lite.c'),
- os.path.join('Src', 'f2c_lite.c'),
- os.path.join('Src', 'zlapack_lite.c'),
- os.path.join('Src', 'dlapack_lite.c')
- ]
-# set these to use your own BLAS;
+sourcelist = [os.path.join('Src', 'lapack_litemodule.c')]
library_dirs_list = []
libraries_list = [] # if you also set `use_dotblas` (see below), you'll need:
- # ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c']
# set to true (1), if you also want BLAS optimized matrixmultiply/dot/innerproduct
-use_dotblas = 0
-include_dirs = [] # You may need to set this to find cblas.h
+use_dotblas = 1
+include_dirs = ['/System/Library/Frameworks/vecLib.framework/Headers/']
# e.g. on UNIX using ATLAS this should be ['/usr/include/atlas']
# The packages are split in this way to allow future optional inclusion
@@ -81,6 +75,7 @@
Extension('lapack_lite', sourcelist,
library_dirs = library_dirs_list,
libraries = libraries_list,
+ extra_link_args = extra_link_args,
extra_compile_args = extra_compile_args)
]
@@ -114,6 +109,7 @@
[os.path.join('Packages', 'dotblas', 'dotblas',
'_dotblas.c')],
library_dirs = library_dirs_list,
libraries = libraries_list,
+ extra_link_args = extra_link_args,
extra_compile_args=extra_compile_args))
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits