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

Modified Files:
        python27.info python31.info python32.info python33.info 
Log Message:
Fix pythons for futureos.

Index: python31.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/python31.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- python31.info       25 Jun 2013 01:54:09 -0000      1.8
+++ python31.info       15 Jul 2013 22:20:07 -0000      1.9
@@ -60,8 +60,12 @@
        fi
        if [ "%m" = "x86_64" ]; then
                #perl -pi -e 's|num_missing != 2:|num_missing != 2:|g' 
./setup.py
-               # Architecture:x86_64 has tcltk-8.5.x, other arch have 8.4.x
-        perl -pi -e "s/8.4\'/8.5\'/" ./setup.py
+               # 10.7 and 10.8 have tcltk-8.5.x, 10.9 has 8.6.x
+               if [ "$darwin_vers" -ge 13 ]; then
+                       perl -pi -e "s/8.4\'/8.6\'/" ./setup.py
+               else
+                       perl -pi -e "s/8.4\'/8.5\'/" ./setup.py
+               fi
         # Test assumes that little endian Macs always return i386.
         perl -pi -e "s/i386/x86_64/" Lib/test/test_platform.py
        fi

Index: python33.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/python33.info,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- python33.info       25 Jun 2013 01:54:10 -0000      1.9
+++ python33.info       15 Jul 2013 22:20:07 -0000      1.10
@@ -68,8 +68,12 @@
        fi
        if [ "%m" = "x86_64" ]; then
                #perl -pi.bak -e 's|num_missing != 2:|num_missing != 2:|g' 
./setup.py
-               # Architecture:x86_64 has tcltk-8.5.x, other arch have 8.4.x
-        perl -pi.bak -e "s/8.4\'/8.5\'/" ./setup.py
+               # 10.7 and 10.8 have tcltk-8.5.x, 10.9 has 8.6.x
+               if [ "$darwin_vers" -ge 13 ]; then
+                       perl -pi -e "s/8.4\'/8.6\'/" ./setup.py
+               else
+                       perl -pi -e "s/8.4\'/8.5\'/" ./setup.py
+               fi
        fi
        %{default_script}
 <<

Index: python32.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/python32.info,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- python32.info       25 Jun 2013 01:54:09 -0000      1.12
+++ python32.info       15 Jul 2013 22:20:07 -0000      1.13
@@ -65,8 +65,12 @@
        fi
        if [ "%m" = "x86_64" ]; then
                #perl -pi.bak -e 's|num_missing != 2:|num_missing != 2:|g' 
./setup.py
-               # Architecture:x86_64 has tcltk-8.5.x, other arch have 8.4.x
-        perl -pi.bak -e "s/8.4\'/8.5\'/" ./setup.py
+               # 10.7 and 10.8 have tcltk-8.5.x, 10.9 has 8.6.x
+               if [ "$darwin_vers" -ge 13 ]; then
+                       perl -pi -e "s/8.4\'/8.6\'/" ./setup.py
+               else
+                       perl -pi -e "s/8.4\'/8.5\'/" ./setup.py
+               fi
        fi
        %{default_script}
 <<

Index: python27.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/python27.info,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- python27.info       15 Jul 2013 17:39:27 -0000      1.15
+++ python27.info       15 Jul 2013 22:20:07 -0000      1.16
@@ -68,7 +68,7 @@
        fi
        if [ "%m" = "x86_64" ]; then
                perl -pi -e 's|num_missing != 5:|num_missing != 7:|g; s|have 5 
missing|have 7 missing|' ./setup.py
-               # Architecture:x86_64 has tcltk-8.5.x, other arch have 8.4.x
+               # 10.7 and 10.8 have tcltk-8.5.x, 10.9 has 8.6.x
                if [ "$darwin_vers" -ge 13 ]; then
                        perl -pi -e "s/8.4\'/8.6\'/" ./setup.py
                else


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&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