Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv30194/sci

Added Files:
        fftw3.info fftw3.patch libdap9.info libnc-dap3.info 
        scientificpython-py.info scientificpython-py.patch 
Log Message:
Work on 10.7

--- NEW FILE: libnc-dap3.info ---
Package: libnc-dap3
Version: 3.7.3
Revision: 2
BuildDependsOnly: true
GCC: 4.0
Description: OPeNDAP netCDF Client Library
License: LGPL
Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>
Depends: %N-shlibs (= %v-%r), pkgconfig
BuildDepends: <<
gcc44, libdap9 (>=3.7.3-1), libiconv-dev, libcurl4, libxml2, 
system-openssl-dev, 
libssh2.1, libidn, libgettext3-dev
<<

# Unpack Phase:
Source: http://opendap.org/pub/source/libnc-dap-%v.tar.gz
Source-MD5: b69f3fb1b26b65903e41c2aa832cab34
PatchScript:  perl -pi -e 's|ncdump|dncdump|g' ncdump/ncdump.1

# Compile Phase
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
ConfigureParams:  --disable-dependency-tracking
CompileScript: <<
 #!/bin/sh -ev
 F77=gfortran ./configure %c
 # for some reason, the allow_undefined_flag doesn't get set right by configure.
 perl -pi.BAK -e 's|-single_module |-single_module -undefined dynamic_lookup |' 
libtool
 make
<<

# Install Phase:
DocFiles: COPYING COPYRIGHT ChangeLog README README.* NEWS

InstallScript: <<
        make install DESTDIR=%d
        mv %i/bin/ncdump %i/bin/dncdump
        install -d %i/share/man/
        install -d %i/share/man/man1
        mv %b/ncdump/ncdump.1 %i/share/man/man1/dncdump
<<

SplitOff: <<
        Package: %N-shlibs
    Depends: <<
    libdap9-shlibs (>=3.7.3-1), libcurl4-shlibs, libiconv, libssh2.1-shlibs, 
    libxml2-shlibs
    <<
        Files: lib/libnc-dap.*.dylib
        Shlibs: %p/lib/libnc-dap.3.dylib 4.0.0 %n (>= 3.5.2-1)
        DocFiles: COPYING COPYRIGHT README README.* NEWS
<<

DescDetail: <<
        The netCDF Client Library is an alternative implementation of
        Unidata's netCDF 3.62 API. Our version adds the capability to
        dereference OPeNDAP URLs. You can substitute our version of
        the library when linking your application and then simply pass
        an OPeNDAP URL in where you would normally use a file name.
<<
DescPackaging: <<
Manually install manpage.
Rename 'ncdump' to 'dncdump' to avoid collisions with netcdf-bin
<<

Homepage: http://opendap.org/download/nc-dods.html

--- NEW FILE: scientificpython-py.patch ---
diff -Nurd -x'*~' ScientificPython-2.7.8.orig/Src/Scientific_netcdf.c 
ScientificPython-2.7.8/Src/Scientific_netcdf.c
--- ScientificPython-2.7.8.orig/Src/Scientific_netcdf.c 2007-10-31 
12:53:18.000000000 -0400
+++ ScientificPython-2.7.8/Src/Scientific_netcdf.c      2008-06-20 
17:59:42.000000000 -0400
@@ -19,7 +19,7 @@
 #include "Numeric/arrayobject.h"
 #endif
 #endif
-#include "netcdf.h"
+#include "libnc-dap/netcdf.h"
 
 #define _NETCDF_MODULE
 #include "Scientific/netcdfmodule.h"
diff -Nurd -x'*~' ScientificPython-2.7.8.orig/setup.py 
ScientificPython-2.7.8/setup.py
--- ScientificPython-2.7.8.orig/setup.py        2007-11-29 13:07:37.000000000 
-0500
+++ ScientificPython-2.7.8/setup.py     2008-06-23 18:07:53.000000000 -0400
@@ -91,14 +91,14 @@
     else:
         print "Using netCDF installation in ", netcdf_prefix
         netcdf_include = os.path.join(netcdf_prefix, 'include')
-        netcdf_h_file = os.path.join(netcdf_prefix, 'include', 'netcdf.h')
+        netcdf_h_file = os.path.join(netcdf_prefix, 'include', 
'libnc-dap/netcdf.h')
         netcdf_lib = os.path.join(netcdf_prefix, 'lib')
     ext_modules = [Extension('Scientific_netcdf',
                              ['Src/Scientific_netcdf.c'],
                              include_dirs=['Include', netcdf_include]
                                           + arrayobject_h_include,
                              library_dirs=[netcdf_lib],
-                             libraries = ['netcdf'],
+                             libraries = ['nc-dap','dap'],
                              extra_compile_args=extra_compile_args)]
 
 try:

--- NEW FILE: libdap9.info ---
Package: libdap9
Version: 3.8.2
Revision: 2
BuildDependsOnly: true
GCC: 4.0
Description: DAP 2.0 C++ SDK
License: LGPL
Maintainer: Alexander Hansen <alexkhan...@users.sourceforge.net>
Depends: %N-shlibs (= %v-%r), pkgconfig
BuildDepends: libcurl4 (>= 7.19.2-2), libxml2, libiconv-dev, 
system-openssl-dev, libssh2.1
Conflicts: aplus-fsf-dev
Replaces: aplus-fsf-dev

# Unpack Phase:
Source: http://www.opendap.org/pub/source/libdap-%v.tar.gz
Source-MD5: 0b6f6a1bfb6d64d87395c6581e562178
# Compile Phase
SetCPPFLAGS: -I%p/lib/system-openssl/include
SetLDFLAGS: -L%p/lib/system-openssl/lib
ConfigureParams:  --disable-dependency-tracking
CompileScript: <<
 #!/bin/sh -ev
 ./configure %c
 # for some reason, the allow_undefined_flag doesn't get set right by configure.
 perl -pi.BAK -e 's|-single_module |-single_module -undefined dynamic_lookup |' 
libtool
 make
<<

# Install Phase:
DocFiles: COPYING COPYRIGHT_* README README.* NEWS

InstallScript: <<
        make install DESTDIR=%d
        rm %i/lib/charset.alias
<<

SplitOff: <<
        Package: %N-shlibs
        Files: lib/libdap*.*.dylib
        Depends: libcurl4-shlibs (>= 7.19.2-2), libxml2-shlibs, libiconv, 
libssh2.1-shlibs
        Shlibs: <<
        %p/lib/libdap.9.dylib 10.0.0 %n (>= 3.8.2-1)
        %p/lib/libdapclient.3.dylib 4.0.0 %n (>= 3.8.2-1)
        %p/lib/libdapserver.6.dylib 7.0.0 %n (>= 3.8.2-1)
        <<
        DocFiles: COPYING COPYRIGHT_* README README.* NEWS
<<

DescDetail: <<
        A C++ SDK which contains an implementation of DAP 2.0,
        Client- and Server-side support classes and a prototype
        implementation of the AIS.
<<
DescPackaging: <<
        libcurl4 uses system-openssl, so we can also use
        system-openssl. By not inheriting or causing our own a
        dependency on fink's openssl, we can stay out of
        section:crpyto.
<<
DescPort: <<
          Had to remove a charset.alias file, as that is only supposed to
          be installed by gettextN
<<
Homepage: http://www.opendap.org/download/libdap++.html

--- NEW FILE: scientificpython-py.info ---
Info2: <<

Package: scientificpython-py%type_pkg[python]
Version: 2.9.0
Revision: 1
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, 
(%type_pkg[python] = 24) 10.5
Type: python (2.3 2.4 2.5 2.6 2.7)
Maintainer: Kurt Schwehr <goat...@users.sourceforge.net>
Depends: <<
        libdap9-shlibs,
        libnc-dap3-shlibs (>= 3.7.3-1),
        numpy-py%type_pkg[python],
        python%type_pkg[python]
<<
BuildDepends: <<
        fink (>= 0.24.12-1),
        libdap9,
        libnc-dap3 (>= 3.7.3-1)
<<
Replaces: scientificpython

#
# Warning!  There is this strange number right after the php that really 
controls what is downloaded!
#
Source: 
https://sourcesup.cru.fr/frs/download.php/2372/ScientificPython-%v.tar.gz

Source-MD5: babbbb708d235094d75478bdeb8d4c7f
PatchFile: %{ni}.patch
PatchFile-MD5: ee9fdbc23b851d11cc86b0d94b1c2270
CompileScript: <<
 %p/bin/python%type_raw[python] setup.py build --numpy --netcdf_prefix=%p
<<
InstallScript: <<
 %p/bin/python%type_raw[python] setup.py install --root %d --netcdf_prefix=%p
 mkdir -p %i/share/doc/%n/HTML
 mkdir -p %i/share/doc/%n/PDF
 mv %i/bin/bsp_virtual %i/bin/bsp_virtual%type_raw[python]
 mv %i/bin/task_manager %i/bin/task_manager%type_raw[python]
 ln -s %p/bin/bsp_virtual%type_raw[python] %i/bin/bsp_virtual
 ln -s %p/bin/task_manager%type_raw[python] %i/bin/task_manager
 cp -R Examples %i/share/doc/%n
 cp -R Doc/* %i/share/doc/%n
<<
SplitOff: <<
  Package: scientificpython-py%type_pkg[python]-bin
  Conflicts: <<
                scientificpython-py22-bin,
                scientificpython-py23-bin,
                scientificpython-py24-bin,
                scientificpython-py25-bin
        <<
  Replaces: <<
                scientificpython-py22-bin,
                scientificpython-py23-bin,
                scientificpython-py24-bin,
                scientificpython-py25-bin
        <<
  Depends: scientificpython-py%type_pkg[python] (= %v-%r)
  Files: bin/bsp_virtual bin/task_manager
  DocFiles: README LICENSE
<<
License: OSI-Approved
DocFiles: README LICENSE 
Description: Python modules for scientific computing
DescDetail: <<
In this collection you will find modules that
cover basic geometry (vectors, tensors, transformations, vector and
tensor fields), quaternions, automatic derivatives, (linear) 
interpolation, polynomials, elementary statistics, nonlinear 
least-squares fits, unit calculations, Fortran-compatible text
formatting, 3D visualization via VRML, and two Tk widgets for 
simple line plots and 3D wireframe models. 
There are also interfaces to the netCDF library.
The netCDF module is OPeNDAP enabled, that is URLs for
OPeNDAP/DODS servers can be opened like regular netCDF disk files.
<<
DescPackaging: <<
        Use libnc's netcdf instead of netcdf itself because it's better.
<<
#Homepage: http://starship.python.net/crew/hinsen/scientific.html
Homepage: http://sourcesup.cru.fr/projects/scientific-py
<<

--- NEW FILE: fftw3.patch ---
--- fftw-3.2.1/tests/Makefile.in.orig   2009-02-09 19:50:28.000000000 -0500
+++ fftw-3.2.1/tests/Makefile.in        2009-04-11 17:47:34.000000000 -0400
@@ -232,9 +232,9 @@
 @COMBINED_THREADS_FALSE@@SMP_TRUE@LIBFFTWTHREADS = 
$(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
 @SMP_FALSE@LIBFFTWTHREADS = 
 bench_SOURCES = bench.c hook.c fftw-bench.c fftw-bench.h
-bench_LDADD = $(LIBFFTWTHREADS)                                \
+bench_LDADD = $(top_builddir)/libbench2/libbench2.a $(LIBFFTWTHREADS)          
                \
 $(top_builddir)/libfftw3@PREC_SUFFIX@.la               \
-$(top_builddir)/libbench2/libbench2.a $(THREADLIBS)
+$(THREADLIBS)
 
 all: all-am
 
--- fftw-3.2.1/tools/Makefile.in.orig   2009-02-09 19:50:28.000000000 -0500
+++ fftw-3.2.1/tools/Makefile.in        2009-04-11 17:50:17.000000000 -0400
@@ -246,10 +246,10 @@
 @COMBINED_THREADS_FALSE@@SMP_TRUE@LIBFFTWTHREADS = 
$(top_builddir)/threads/libfftw3@PREC_SUFFIX@_threads.la
 @SMP_FALSE@LIBFFTWTHREADS = 
 fftw@PREC_SUFFIX@_wisdom_SOURCES = fftw-wisdom.c
-fftw@PREC_SUFFIX@_wisdom_LDADD = $(top_builddir)/tests/bench.o \
+fftw@PREC_SUFFIX@_wisdom_LDADD = $(top_builddir)/tests/bench.o 
$(top_builddir)/libbench2/libbench2.a   \
 $(top_builddir)/tests/fftw-bench.o $(LIBFFTWTHREADS)   \
 $(top_builddir)/libfftw3@PREC_SUFFIX@.la                       \
-$(top_builddir)/libbench2/libbench2.a $(THREADLIBS)
+$(THREADLIBS)
 
 all: $(BUILT_SOURCES)
        $(MAKE) $(AM_MAKEFLAGS) all-am

--- NEW FILE: fftw3.info ---
Package: fftw3
Version: 3.2.2
Revision: 3
Maintainer: Sebastien Maret <bma...@users.sourceforge.net>
Source:  ftp://ftp.fftw.org/pub/fftw/fftw-%v.tar.gz
Source-MD5: b616e5c91218cc778b5aa735fefb61ae
BuildDepends:  fink (>= 0.24.12-1), gcc46, ocaml
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
License: GPL
PatchFile: %n.patch
PatchFile-MD5: 9d79b2581d6a32989c93ff7a78b7e6a0 
ConfigureParams: --enable-shared --enable-threads --enable-fortran 
--mandir='${prefix}/share/man' --infodir='${prefix}/share/info'
GCC: 4.0
CompileScript: <<
 #!/bin/sh -ev
 gcclib=`%p/bin/gfortran --print-lib`
 FLIBDIR=`dirname $gcclib`
 if [ %m != "powerpc" ]; then 
 FC=%p/bin/gfortran FLIBS="-L${FLIBDIR}" ./configure %c --without-gcc-arch
 else
 FC=%p/bin/gfortran FLIBS="-L${FLIBDIR}" ./configure %c
 fi
 make
<<
InstallScript: <<
 #!/bin/sh -ev
 make -j1 install prefix=%i
 mkdir -p %i/share/doc/%n/html/FAQ
 cp doc/html/*html %i/share/doc/%n/html
 cp doc/FAQ/fftw-faq.html/*html %i/share/doc/%n/html/FAQ
 make clean
 if [ %m != "powerpc" ]; then 
 ./configure %c --enable-float --without-gcc-arch
 else
 ./configure %c --enable-float --enable-altivec
 fi
 make
 make -j1 install prefix=%i 
<<
SplitOff: <<
  Package: %N-shlibs
  Files: lib/libfftw3.*.dylib lib/libfftw3_threads.*.dylib 
lib/libfftw3f.*.dylib lib/libfftw3f_threads.*.dylib
  Shlibs: <<
   %p/lib/libfftw3.3.dylib 6.0.0 %n (>= 3.2.1-1)
   %p/lib/libfftw3_threads.3.dylib 6.0.0 %n (>= 3.2.1-1)
   %p/lib/libfftw3f.3.dylib 6.0.0 %n (>= 3.2.1-1)
   %p/lib/libfftw3f_threads.3.dylib 6.0.0 %n (>= 3.2.1-1)
  <<
  DocFiles: README NEWS TODO COPYING INSTALL COPYRIGHT AUTHORS CONVENTIONS
<<
DocFiles: README NEWS TODO COPYING INSTALL COPYRIGHT AUTHORS CONVENTIONS
InfoDocs: fftw3.info
Description: Discrete Fourier Transform Lib (Ver 3)
DescDetail: <<
FFTW is a C subroutine library for computing the discrete Fourier
transform (DFT) in one or more dimensions, of arbitrary input size,
and of both real and complex data (as well as of even/odd data,
i.e. the discrete cosine/sine transforms or DCT/DST).

Benchmarks, performed on on a variety of platforms, show that FFTW's
performance is typically superior to that of other publicly available
FFT software, and is even competitive with vendor-tuned codes. In
contrast to vendor-tuned codes, however, FFTW's performance is
portable: the same program will perform well on most architectures
without modification. Hence the name, "FFTW," which stands for the
somewhat whimsical title of "Fastest Fourier Transform in the West."
<<
DescUsage: <<
Version 3 API is incompatible with Version 2 API (provided by fftw package)
<<
DescPackaging: <<
Single and double precision libs built, single precision libs have
altivec support.

Originally packaged by Jeffrey Whitaker.
<<
Homepage: http://www.fftw.org


------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to