Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv12966

Modified Files:
        3to2-py.info 
Log Message:
New upstream version.


Index: 3to2-py.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/pythonmods/3to2-py.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 3to2-py.info        19 Feb 2010 23:32:01 -0000      1.1
+++ 3to2-py.info        12 Jun 2010 23:04:22 -0000      1.2
@@ -1,7 +1,7 @@
 Info2: <<
 Package: 3to2-py%type_pkg[python]
 Version: 0.1
-Revision: 0.a3.1
+Revision: 0.b1.1
 Type: python (3.1)
 Description: Refactor python 3.x syntax into 2.x syntax
 DescDetail: <<
@@ -14,7 +14,7 @@
        branches.
 <<
 DescUsage: <<
-       Run "3to2_31" to convert stdin ("-"), files or directories given as
+       Run "3to2" to convert stdin ("-"), files or directories given as
        arguments.  By default, the tool outputs a unified diff-formatted patch
        on standard output and a "what was changed" summary on standard error,
        but the "-w" option can be given to write back converted files,
@@ -22,10 +22,10 @@
 <<
 Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
 License: BSD
-Homepage: http://pypi.python.org/pypi/3to2_31
+Homepage: http://pypi.python.org/pypi/3to2_py3k
 
-Source: http://pypi.python.org/packages/source/3/3to2_31/3to2_31-%{v}a3.tar.gz
-Source-MD5: 127f6195b72f60972d102212b6a95a4d
+Source: 
http://pypi.python.org/packages/source/3/3to2_py3k/3to2_py3k-%{v}b1.tar.gz
+Source-MD5: d05ab373a6f95e0bf4933e207a1fb82c
 
 Depends: python%type_pkg[python]
 BuildDepends: fink (>= 0.24.12)
@@ -37,6 +37,17 @@
 InstallScript: <<
  %p/bin/python%type_raw[python] setup.py install \
        --root=%d
+ mv %i/bin/3to2 %i/bin/3to2-%type_pkg[python]
+<<
+
+PostInstScript: <<
+       update-alternatives --install %p/bin/3to2 3to2 
%p/bin/3to2-%type_pkg[python] %type_pkg[python]
+<<
+
+PreRmScript: <<
+       if [ $1 != "upgrade" ]; then
+               update-alternatives --remove 3to2 %p/bin/3to2-%type_pkg[python]
+       fi
 <<
 
 DocFiles: PKG-INFO README


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to