Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv24603

Modified Files:
        gdal-py.info 
Log Message:
installs the python scripts... still need to do update-alternatives


Index: gdal-py.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods/gdal-py.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gdal-py.info        23 Mar 2008 22:08:57 -0000      1.3
+++ gdal-py.info        27 Mar 2008 17:26:00 -0000      1.4
@@ -2,15 +2,12 @@
 
 Package: gdal-py%type_pkg[python]
 Version: 1.5.1
-#SourceDirectory: gdal-1.5.1
 
 
-Revision: 1
-# Sorry, but I am not going to test 10.4 right now
+Revision: 2
 Distribution: 10.4, 10.5
 Homepage: http://www.gdal.org
 Maintainer: Kurt Schwehr <[EMAIL PROTECTED]>
-# I am not supporting 2.4 any more
 Type: python (2.5)
 Depends: python%type_pkg[python], gdal (>= %v), numpy-py%type_pkg[python]
 BuildDepends: gdal-dev (>= %v)
@@ -36,7 +33,22 @@
   #!/bin/bash -ev
   cd swig/python && python%type_raw[python] setup.py build 
 <<
-InstallScript: cd swig/python && python%type_raw[python] setup.py install 
--root=%d
+
+InstallScript: <<
+  #!/bin/bash -ev
+  pushd swig/python 
+    python%type_raw[python] setup.py install --root=%d
+    mkdir -p %i/bin
+    pushd scripts
+    for file in *py; do
+        cp $file %i/bin/${file}%type_pkg[python]
+        echo cp $file %i/bin/${file}%type_pkg[python]
+    done
+    popd
+  popd
+  exit
+<<
+
 DocFiles: <<
   swig/python/README.txt
   LICENSE.TXT


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to