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

Modified Files:
        scientificpython-py.info 
Log Message:
Updated version works on 10.7, too.

Index: scientificpython-py.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/sci/scientificpython-py.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- scientificpython-py.info    24 Jul 2011 01:15:12 -0000      1.1
+++ scientificpython-py.info    24 Jul 2011 22:55:52 -0000      1.2
@@ -1,7 +1,7 @@
 Info2: <<
 
 Package: scientificpython-py%type_pkg[python]
-Version: 2.9.0
+Version: 2.9.1
 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)
@@ -12,19 +12,22 @@
        numpy-py%type_pkg[python],
        python%type_pkg[python]
 <<
+# FIX: Needs pyro-py for taskmanager
 BuildDepends: <<
        fink (>= 0.24.12-1),
        libdap9,
        libnc-dap3 (>= 3.7.3-1)
 <<
-Replaces: scientificpython
+
+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/2372/ScientificPython-%v.tar.gz
+Source: 
https://sourcesup.cru.fr/frs/download.php/3420/ScientificPython-%v.tar.gz
 
-Source-MD5: babbbb708d235094d75478bdeb8d4c7f
+Source-MD5: f27bfb3abda022b73a93cd6ada06338f
 PatchFile: %{ni}.patch
 PatchFile-MD5: ee9fdbc23b851d11cc86b0d94b1c2270
 CompileScript: <<
@@ -34,31 +37,29 @@
  %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
+ 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
 <<
-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
+
+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/scientificpython%type_pkg[python]
+  fi
 <<
+
 License: OSI-Approved
 DocFiles: README LICENSE 
 Description: Python modules for scientific computing


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