Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/languages
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23328

Modified Files:
        setuptools-tng-systempython.info 
Log Message:
update to the latest setuptools, enable easy_install and the test suite

Index: setuptools-tng-systempython.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/languages/setuptools-tng-systempython.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- setuptools-tng-systempython.info    20 Sep 2013 19:01:22 -0000      1.1
+++ setuptools-tng-systempython.info    20 Sep 2013 20:01:04 -0000      1.2
@@ -2,10 +2,10 @@
 Package: setuptools-tng-systempython%type_pkg[python]
 Type: python (2.5 2.6 2.7)
 Distribution: (%type_pkg[python] = 26) 10.6, (%type_pkg[python] = 26) 10.7, 
(%type_pkg[python] = 27) 10.7
-Version: 0.7.2
-Revision: 5
+Version: 1.1.6
+Revision: 2
 Source: 
http://pypi.python.org/packages/source/s/setuptools/setuptools-%v.tar.gz
-Source-MD5: de44cd90f8a1c713d6c2bff67bbca65d
+Source-MD5: ee82ea53def4480191061997409d2996
 
 BuildDepends: fink (>=0.32)
 
@@ -19,21 +19,28 @@
       --install-purelib=%p/Library/Python/%type_raw[python]/site-packages \
       --install-platlib=%p/Library/Python/%type_raw[python]/site-packages
   rm %i/bin/easy_install
-# maybe this should be easy_install-systempython%type_raw[python]
-  rm %i/bin/easy_install-%type_raw[python]
-  rmdir %i/bin
+  mv %i/bin/easy_install-%type_raw[python] 
%i/bin/easy_install-systempython%type_pkg[python]
+<<
+
+PostInstScript: <<
+  # Add --verbose to update-alternatives for debugging
+  update-alternatives --verbose --install %p/bin/easy_install easy_install 
%p/bin/easy_install-systempython%type_pkg[python] %type_pkg[python] 
+<<
+
+PreRmScript: <<
+  if [ $1 != "upgrade" ]; then
+    update-alternatives --verbose --remove easy_install 
%p/bin/easy_install-systempython%type_pkg[python]
+  fi
 <<
 
 LICENSE: OSI-Approved
 HomePage: https://pypi.python.org/pypi/setuptools
 
-# Does not pass on macosx with /tmp really being /private/tmp
-# http://bugs.python.org/setuptools/issue125
-#InfoTest: <<
-#    TestScript: <<
-#      %p/bin/python%type_raw[python] setup.py test  || exit 2
-#    <<
-#<<
+InfoTest: <<
+    TestScript: <<
+      /usr/bin/python%type_raw[python] setup.py test  || exit 2
+    <<
+<<
 
 DescDetail: <<
 Easily download, build, install, upgrade, and uninstall Python


------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to