Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages
In directory vz-cvs-3.sog:/tmp/cvs-serv1998

Modified Files:
        python27.info 
Log Message:
Fix Tkinter.__version__ and prepare for 10.7.


Index: python27.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/languages/python27.info,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- python27.info       11 Jun 2011 23:46:05 -0000      1.8
+++ python27.info       13 Jun 2011 22:17:02 -0000      1.9
@@ -1,7 +1,7 @@
 Info2: <<
 Package: python%type_pkg[python]
 Version: 2.7.2
-Revision: 1
+Revision: 2
 Epoch: 1
 Type: python 2.7
 Maintainer: Daniel Johnson <[email protected]>
@@ -42,15 +42,22 @@
 Source2-MD5: 40f0bd51b221662cae14fb0c6b6f622b
 PatchFile: %n.patch
 PatchFile-MD5: ba06c354a2ffe1d94ab41f386add2898
-PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
+PatchScript: <<
+       sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
+       perl -pi -e 's/\$Revision\$/\$Revision$/' Lib/lib-tk/Tkinter.py
+<<
 SetLDFLAGS: -L%p/lib/system-openssl/lib
 ConfigureParams: --enable-shared --with-dbmliborder=gdbm
 CompileScript: <<
 #!/bin/sh -ex
+       darwin_vers=`uname -r | cut -d. -f1`
+       if [ "$darwin_vers" = 11 ]; then
+               perl -pi -e 's/ -lSystemStubs//' ./configure
+       fi
        if [ "%m" = "x86_64" ]; then
-               perl -pi.bak -e 's|num_missing != 5:|num_missing != 7:|g; 
s|have 5 missing|have 7 missing|' ./setup.py
+               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
-                perl -pi.bak -e "s/8.4\'/8.5\'/" ./setup.py
+               perl -pi -e "s/8.4\'/8.5\'/" ./setup.py
                # Architecture:x86_64 can't build with toolbox-glue
                ./configure %c --disable-toolbox-glue
        else


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to