On Thu, 5 Feb 2015 21:38:11 -0800, Alexander Hansen
<alexanderk.han...@gmail.com> wrote:
I jumped the gun on deprecating libdap9 after putting out an update to
libnc-dap3 which uses libdap11 instead. I’ve done a quickie test of
an update to scientificpython-py27 which is slightly modified to deal
with libdap11—specifically its private directory structure.

I’ve attached the modified .info file. If there aren’t any
problems with it (I didn’t have a way to do a runtime test), then
one of us can commit it.

I’m very sorry about the rush—I had honestly thought that we’d
closed down all of the libdap9 users. I guess there’s some
consolation in the fact that most of the packages I broke were mine.
:-\

Builds fine for me on 10.8. Attached are some additional cleanups to
make sure it's sanely using only that new libdap (it doesn't use the
headers, but seemed risky not to also pass -I; and f-p-p just to be
sure).

dan

--
Daniel Macks
dma...@netspace.org

Info2: <<

Package: scientificpython-py%type_pkg[python]
Version: 2.9.1
Revision: 4
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, 
(%type_pkg[python] = 24) 10.5
Type: python (2.7)
Maintainer: Kurt Schwehr <goat...@users.sourceforge.net>
Depends: <<
        libdap11-shlibs,
        libnc-dap3-shlibs (>= 1:3.7.3-9),
        numpy-py%type_pkg[python],
        python%type_pkg[python]
<<
# FIX: Needs pyro-py for taskmanager
BuildDepends: <<
        fink-package-precedence,
        libdap11,
        libnc-dap3 (>= 1:3.7.3-9)
<<

Conflicts: scientificpython-py23-bin,  scientificpython-py24-bin,  
scientificpython-py25-bin,  scientificpython-py26-bin,  
scientificpython-py27-bin
Replaces:  scientificpython-py23-bin,  scientificpython-py24-bin,  
scientificpython-py25-bin,  scientificpython-py26-bin,  
scientificpython-py27-bin

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

Source-MD5: f27bfb3abda022b73a93cd6ada06338f
PatchFile: %{ni}.patch
PatchFile-MD5: ee9fdbc23b851d11cc86b0d94b1c2270
# libdap11 uses separate directory, %n doesn't read its .pc
SetCPPFLAGS: -MD -I%p/opt/libdap11/include
SetLDFLAGS: -L%p/opt/libdap11/lib
CompileScript: <<
 %p/bin/python%type_raw[python] setup.py build --numpy --netcdf_prefix=%p
 fink-package-precedence --depfile-ext='\.d' .
<<
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_pkg[python]
 # mv %i/bin/task_manager %i/bin/task_manager%type_pkg[python]
 # task_manager needs pyro to be packaged
 rm %i/bin/task_manager
 cp -R Examples %i/share/doc/%n
 cp -R Doc/* %i/share/doc/%n
<<

PostInstScript: <<
  # Add --verbose to update-alternatives for debugging
  update-alternatives --verbose --install %p/bin/bsp-virtual 
scientificpython-py %p/bin/bsp_virtual%type_pkg[python] %type_pkg[python]
<<

# task_manager needs pyro... not currently packaged
# --slave %p/bin/task_manager task_manager %p/bin/task_manager%type_pkg[python]


PreRmScript: <<
  if [ $1 != "upgrade" ]; then
    update-alternatives --verbose --remove scientificpython-py 
%p/bin/bsp_virtual%type_pkg[python]
  fi
<<

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
<<
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to