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

Modified Files:
        python26-2.6.6.info python26-2.6.6.patch python27.info 
        python27.patch python31.info python31.patch python32.info 
        python32.patch 
Log Message:
python family, sync. w/ 10.!4/stable, validated on powerpc-darwin8


Index: python27.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/languages/python27.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- python27.patch      31 Oct 2011 21:52:56 -0000      1.2
+++ python27.patch      5 Jan 2012 17:27:17 -0000       1.3
@@ -1,6 +1,17 @@
+diff -ru Python-2.7.2.orig/Lib/ctypes/macholib/dyld.py 
Python-2.7.2/Lib/ctypes/macholib/dyld.py
+--- Python-2.7.2.orig/Lib/ctypes/macholib/dyld.py      2011-06-11 
11:46:24.000000000 -0400
++++ Python-2.7.2/Lib/ctypes/macholib/dyld.py   2011-12-29 18:30:21.000000000 
-0500
+@@ -26,6 +26,7 @@
+ 
+ DEFAULT_LIBRARY_FALLBACK = [
+     os.path.expanduser("~/lib"),
++    "@PREFIX@/lib",
+     "/usr/local/lib",
+     "/lib",
+     "/usr/lib",
 diff -ru Python-2.7.2.orig/Lib/platform.py Python-2.7.2/Lib/platform.py
 --- Python-2.7.2.orig/Lib/platform.py  2011-06-11 11:46:25.000000000 -0400
-+++ Python-2.7.2/Lib/platform.py       2011-07-12 13:45:18.000000000 -0400
++++ Python-2.7.2/Lib/platform.py       2011-12-29 18:28:04.000000000 -0500
 @@ -810,6 +810,15 @@
      if info is not None:
          return info
@@ -19,7 +30,7 @@
  
 diff -ru Python-2.7.2.orig/Makefile.pre.in Python-2.7.2/Makefile.pre.in
 --- Python-2.7.2.orig/Makefile.pre.in  2011-06-11 11:46:26.000000000 -0400
-+++ Python-2.7.2/Makefile.pre.in       2011-07-12 13:45:18.000000000 -0400
++++ Python-2.7.2/Makefile.pre.in       2011-12-29 18:28:04.000000000 -0500
 @@ -432,8 +432,7 @@
        fi
  
@@ -62,7 +73,7 @@
        else    true; \
 diff -ru Python-2.7.2.orig/Misc/python-config.in 
Python-2.7.2/Misc/python-config.in
 --- Python-2.7.2.orig/Misc/python-config.in    2011-06-11 11:46:26.000000000 
-0400
-+++ Python-2.7.2/Misc/python-config.in 2011-07-12 13:45:18.000000000 -0400
++++ Python-2.7.2/Misc/python-config.in 2011-12-29 18:28:04.000000000 -0500
 @@ -46,11 +46,10 @@
      elif opt in ('--libs', '--ldflags'):
          libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
@@ -80,7 +91,7 @@
  
 diff -ru Python-2.7.2.orig/Misc/python.pc.in Python-2.7.2/Misc/python.pc.in
 --- Python-2.7.2.orig/Misc/python.pc.in        2011-06-11 11:46:26.000000000 
-0400
-+++ Python-2.7.2/Misc/python.pc.in     2011-07-12 13:45:18.000000000 -0400
++++ Python-2.7.2/Misc/python.pc.in     2011-12-29 18:28:04.000000000 -0500
 @@ -1,6 +1,6 @@
  prefix=@prefix@
  exec_prefix=@exec_prefix@
@@ -91,7 +102,7 @@
  Name: Python
 diff -ru Python-2.7.2.orig/Modules/_bsddb.c Python-2.7.2/Modules/_bsddb.c
 --- Python-2.7.2.orig/Modules/_bsddb.c 2011-06-11 11:46:26.000000000 -0400
-+++ Python-2.7.2/Modules/_bsddb.c      2011-07-12 13:45:18.000000000 -0400
++++ Python-2.7.2/Modules/_bsddb.c      2011-12-29 18:28:04.000000000 -0500
 @@ -9766,7 +9766,13 @@
      ADD_INT(d, DB_REP_PERMANENT);
  
@@ -108,7 +119,7 @@
      ADD_INT(d, DB_REP_CONF_NOWAIT);
 diff -ru Python-2.7.2.orig/Modules/dbmmodule.c Python-2.7.2/Modules/dbmmodule.c
 --- Python-2.7.2.orig/Modules/dbmmodule.c      2011-06-11 11:46:27.000000000 
-0400
-+++ Python-2.7.2/Modules/dbmmodule.c   2011-07-12 13:45:18.000000000 -0400
++++ Python-2.7.2/Modules/dbmmodule.c   2011-12-29 18:28:04.000000000 -0500
 @@ -19,7 +19,7 @@
  static char *which_dbm = "GNU gdbm";  /* EMX port of GDBM */
  #endif
@@ -120,7 +131,7 @@
  #include <gdbm-ndbm.h>
 diff -ru Python-2.7.2.orig/Modules/posixmodule.c 
Python-2.7.2/Modules/posixmodule.c
 --- Python-2.7.2.orig/Modules/posixmodule.c    2011-06-11 11:46:27.000000000 
-0400
-+++ Python-2.7.2/Modules/posixmodule.c 2011-07-12 13:45:18.000000000 -0400
++++ Python-2.7.2/Modules/posixmodule.c 2011-12-29 18:28:04.000000000 -0500
 @@ -457,7 +457,7 @@
  #endif
  
@@ -141,7 +152,7 @@
  #endif
 diff -ru Python-2.7.2.orig/configure Python-2.7.2/configure
 --- Python-2.7.2.orig/configure        2011-06-11 11:46:28.000000000 -0400
-+++ Python-2.7.2/configure     2011-07-12 13:45:18.000000000 -0400
++++ Python-2.7.2/configure     2011-12-29 18:28:04.000000000 -0500
 @@ -4962,7 +4962,7 @@
          ;;
      Darwin*)
@@ -211,7 +222,7 @@
  
 diff -ru Python-2.7.2.orig/setup.py Python-2.7.2/setup.py
 --- Python-2.7.2.orig/setup.py 2011-06-11 11:46:28.000000000 -0400
-+++ Python-2.7.2/setup.py      2011-07-12 13:46:06.000000000 -0400
++++ Python-2.7.2/setup.py      2011-12-29 18:28:04.000000000 -0500
 @@ -250,13 +250,17 @@
                                                longest, g)
  

Index: python31.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/languages/python31.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- python31.patch      31 Oct 2011 21:52:56 -0000      1.2
+++ python31.patch      5 Jan 2012 17:27:17 -0000       1.3
@@ -1,6 +1,17 @@
+diff -ru Python-3.1.4.orig/Lib/ctypes/macholib/dyld.py 
Python-3.1.4/Lib/ctypes/macholib/dyld.py
+--- Python-3.1.4.orig/Lib/ctypes/macholib/dyld.py      2011-06-11 
11:48:49.000000000 -0400
++++ Python-3.1.4/Lib/ctypes/macholib/dyld.py   2011-12-29 18:55:36.000000000 
-0500
+@@ -23,6 +23,7 @@
+ 
+ DEFAULT_LIBRARY_FALLBACK = [
+     os.path.expanduser("~/lib"),
++    "@PREFIX@/lib",
+     "/usr/local/lib",
+     "/lib",
+     "/usr/lib",
 diff -ru Python-3.1.4.orig/Makefile.pre.in Python-3.1.4/Makefile.pre.in
 --- Python-3.1.4.orig/Makefile.pre.in  2011-06-11 11:48:51.000000000 -0400
-+++ Python-3.1.4/Makefile.pre.in       2011-07-12 13:14:42.000000000 -0400
++++ Python-3.1.4/Makefile.pre.in       2011-12-29 18:54:50.000000000 -0500
 @@ -445,8 +445,7 @@
        fi
  
@@ -43,7 +54,7 @@
        -rm -f $(DESTDIR)$(LIBPC)/python3.pc
 diff -ru Python-3.1.4.orig/Misc/python-config.in 
Python-3.1.4/Misc/python-config.in
 --- Python-3.1.4.orig/Misc/python-config.in    2011-06-11 11:48:51.000000000 
-0400
-+++ Python-3.1.4/Misc/python-config.in 2011-07-12 13:14:42.000000000 -0400
++++ Python-3.1.4/Misc/python-config.in 2011-12-29 18:54:50.000000000 -0500
 @@ -45,9 +45,9 @@
  elif opt in ('--libs', '--ldflags'):
      libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
@@ -59,7 +70,7 @@
  
 diff -ru Python-3.1.4.orig/Misc/python.pc.in Python-3.1.4/Misc/python.pc.in
 --- Python-3.1.4.orig/Misc/python.pc.in        2011-06-11 11:48:51.000000000 
-0400
-+++ Python-3.1.4/Misc/python.pc.in     2011-07-12 13:14:42.000000000 -0400
++++ Python-3.1.4/Misc/python.pc.in     2011-12-29 18:54:50.000000000 -0500
 @@ -1,6 +1,6 @@
  prefix=@prefix@
  exec_prefix=@exec_prefix@
@@ -70,7 +81,7 @@
  Name: Python
 diff -ru Python-3.1.4.orig/Modules/_dbmmodule.c 
Python-3.1.4/Modules/_dbmmodule.c
 --- Python-3.1.4.orig/Modules/_dbmmodule.c     2011-06-11 11:48:51.000000000 
-0400
-+++ Python-3.1.4/Modules/_dbmmodule.c  2011-07-12 13:14:42.000000000 -0400
++++ Python-3.1.4/Modules/_dbmmodule.c  2011-12-29 18:54:50.000000000 -0500
 @@ -20,7 +20,7 @@
  static char *which_dbm = "GNU gdbm";  /* EMX port of GDBM */
  #endif
@@ -82,7 +93,7 @@
  #include <gdbm-ndbm.h>
 diff -ru Python-3.1.4.orig/Modules/posixmodule.c 
Python-3.1.4/Modules/posixmodule.c
 --- Python-3.1.4.orig/Modules/posixmodule.c    2011-06-11 11:48:52.000000000 
-0400
-+++ Python-3.1.4/Modules/posixmodule.c 2011-07-12 13:14:42.000000000 -0400
++++ Python-3.1.4/Modules/posixmodule.c 2011-12-29 18:54:50.000000000 -0500
 @@ -445,7 +445,7 @@
  #endif
  
@@ -103,7 +114,7 @@
  #endif
 diff -ru Python-3.1.4.orig/configure Python-3.1.4/configure
 --- Python-3.1.4.orig/configure        2011-06-11 11:48:52.000000000 -0400
-+++ Python-3.1.4/configure     2011-07-12 13:14:42.000000000 -0400
++++ Python-3.1.4/configure     2011-12-29 18:54:50.000000000 -0500
 @@ -4883,7 +4883,7 @@
          ;;
      Darwin*)
@@ -163,7 +174,7 @@
  
 diff -ru Python-3.1.4.orig/setup.py Python-3.1.4/setup.py
 --- Python-3.1.4.orig/setup.py 2011-06-11 11:48:52.000000000 -0400
-+++ Python-3.1.4/setup.py      2011-07-12 13:15:43.000000000 -0400
++++ Python-3.1.4/setup.py      2011-12-29 18:54:50.000000000 -0500
 @@ -238,13 +238,17 @@
                                                longest, g))
  

Index: python31.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/languages/python31.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- python31.info       31 Oct 2011 21:52:56 -0000      1.2
+++ python31.info       5 Jan 2012 17:27:17 -0000       1.3
@@ -1,7 +1,7 @@
 Info2: <<
 Package: python%type_pkg[python]
 Version: 3.1.4
-Revision: 2
+Revision: 3
 Type: python 3.1
 Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
 Depends: <<
@@ -37,7 +37,7 @@
 Source2: http://www.python.org/ftp/python/doc/%v/python-%v-docs-html.tar.bz2
 Source2-MD5: 0a4a56361005966cc38d1068dfd52a54
 PatchFile: %n.patch
-PatchFile-MD5: c5cb925836eca9f48750e1800c04d196
+PatchFile-MD5: 6d514a77c4d20a5485d5c563424abd97
 PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
 
 UseMaxBuildJobs: true
@@ -178,6 +178,8 @@
        
        test_ctypes fails with clang unless _ctypes/_ctypes_test.c is built
        with -O0 so force that in setup.py.
+       
+       Patch ctypes to look in %p/lib for libraries.
 <<
 License: OSI-Approved
 Homepage: http://www.python.org

Index: python32.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/languages/python32.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- python32.patch      31 Oct 2011 21:52:56 -0000      1.1
+++ python32.patch      5 Jan 2012 17:27:17 -0000       1.2
@@ -1,6 +1,17 @@
-diff -ru Python-3.2.1.orig/Makefile.pre.in Python-3.2.1/Makefile.pre.in
---- Python-3.2.1.orig/Makefile.pre.in  2011-07-09 02:58:52.000000000 -0400
-+++ Python-3.2.1/Makefile.pre.in       2011-07-12 12:16:01.000000000 -0400
+diff -ru Python-3.2.2.orig/Lib/ctypes/macholib/dyld.py 
Python-3.2.2/Lib/ctypes/macholib/dyld.py
+--- Python-3.2.2.orig/Lib/ctypes/macholib/dyld.py      2011-09-03 
12:16:40.000000000 -0400
++++ Python-3.2.2/Lib/ctypes/macholib/dyld.py   2011-12-29 19:02:03.000000000 
-0500
+@@ -23,6 +23,7 @@
+ 
+ DEFAULT_LIBRARY_FALLBACK = [
+     os.path.expanduser("~/lib"),
++    "@PREFIX@/lib",
+     "/usr/local/lib",
+     "/lib",
+     "/usr/lib",
+diff -ru Python-3.2.2.orig/Makefile.pre.in Python-3.2.2/Makefile.pre.in
+--- Python-3.2.2.orig/Makefile.pre.in  2011-09-03 12:16:45.000000000 -0400
++++ Python-3.2.2/Makefile.pre.in       2011-12-29 19:00:45.000000000 -0500
 @@ -463,8 +463,7 @@
        $(BLDSHARED) $(NO_AS_NEEDED) -o $@ -Wl,-h$@ $^
  
@@ -48,9 +59,9 @@
        -if test "$(VERSION)" != "$(LDVERSION)"; then \
                rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-config; \
                (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(LDVERSION)-config 
python$(VERSION)-config); \
-diff -ru Python-3.2.1.orig/Misc/python-config.in 
Python-3.2.1/Misc/python-config.in
---- Python-3.2.1.orig/Misc/python-config.in    2011-07-09 02:58:52.000000000 
-0400
-+++ Python-3.2.1/Misc/python-config.in 2011-07-12 12:16:01.000000000 -0400
+diff -ru Python-3.2.2.orig/Misc/python-config.in 
Python-3.2.2/Misc/python-config.in
+--- Python-3.2.2.orig/Misc/python-config.in    2011-09-03 12:16:45.000000000 
-0400
++++ Python-3.2.2/Misc/python-config.in 2011-12-29 19:00:45.000000000 -0500
 @@ -47,12 +47,10 @@
      elif opt in ('--libs', '--ldflags'):
          libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
@@ -67,9 +78,9 @@
          print(' '.join(libs))
  
      elif opt == '--extension-suffix':
-diff -ru Python-3.2.1.orig/Misc/python.pc.in Python-3.2.1/Misc/python.pc.in
---- Python-3.2.1.orig/Misc/python.pc.in        2011-07-09 02:58:52.000000000 
-0400
-+++ Python-3.2.1/Misc/python.pc.in     2011-07-12 12:16:01.000000000 -0400
+diff -ru Python-3.2.2.orig/Misc/python.pc.in Python-3.2.2/Misc/python.pc.in
+--- Python-3.2.2.orig/Misc/python.pc.in        2011-09-03 12:16:45.000000000 
-0400
++++ Python-3.2.2/Misc/python.pc.in     2011-12-29 19:00:45.000000000 -0500
 @@ -1,7 +1,7 @@
  # See: man pkg-config
  prefix=@prefix@
@@ -79,9 +90,9 @@
  includedir=@includedir@
  
  Name: Python
-diff -ru Python-3.2.1.orig/Modules/_dbmmodule.c 
Python-3.2.1/Modules/_dbmmodule.c
---- Python-3.2.1.orig/Modules/_dbmmodule.c     2011-07-09 02:58:53.000000000 
-0400
-+++ Python-3.2.1/Modules/_dbmmodule.c  2011-07-12 12:16:01.000000000 -0400
+diff -ru Python-3.2.2.orig/Modules/_dbmmodule.c 
Python-3.2.2/Modules/_dbmmodule.c
+--- Python-3.2.2.orig/Modules/_dbmmodule.c     2011-09-03 12:16:46.000000000 
-0400
++++ Python-3.2.2/Modules/_dbmmodule.c  2011-12-29 19:00:45.000000000 -0500
 @@ -20,7 +20,7 @@
  static char *which_dbm = "GNU gdbm";  /* EMX port of GDBM */
  #endif
@@ -91,10 +102,10 @@
  static char *which_dbm = "GNU gdbm";
  #elif defined(HAVE_GDBM_DASH_NDBM_H)
  #include <gdbm-ndbm.h>
-diff -ru Python-3.2.1.orig/Modules/posixmodule.c 
Python-3.2.1/Modules/posixmodule.c
---- Python-3.2.1.orig/Modules/posixmodule.c    2011-07-09 02:58:54.000000000 
-0400
-+++ Python-3.2.1/Modules/posixmodule.c 2011-07-12 12:16:01.000000000 -0400
-@@ -503,7 +503,7 @@
+diff -ru Python-3.2.2.orig/Modules/posixmodule.c 
Python-3.2.2/Modules/posixmodule.c
+--- Python-3.2.2.orig/Modules/posixmodule.c    2011-09-03 12:16:46.000000000 
-0400
++++ Python-3.2.2/Modules/posixmodule.c 2011-12-29 19:00:45.000000000 -0500
+@@ -501,7 +501,7 @@
  #endif /* MS_WINDOWS */
  
  /* Return a dictionary corresponding to the POSIX environment table */
@@ -103,7 +114,7 @@
  /* On Darwin/MacOSX a shared library or framework has no access to
  ** environ directly, we must obtain it with _NSGetEnviron().
  */
-@@ -530,7 +530,7 @@
+@@ -528,7 +528,7 @@
      d = PyDict_New();
      if (d == NULL)
          return NULL;
@@ -112,10 +123,10 @@
      if (environ == NULL)
          environ = *_NSGetEnviron();
  #endif
-diff -ru Python-3.2.1.orig/configure Python-3.2.1/configure
---- Python-3.2.1.orig/configure        2011-07-09 02:58:56.000000000 -0400
-+++ Python-3.2.1/configure     2011-07-12 12:16:01.000000000 -0400
-@@ -4992,7 +4992,7 @@
+diff -ru Python-3.2.2.orig/configure Python-3.2.2/configure
+--- Python-3.2.2.orig/configure        2011-09-03 12:16:50.000000000 -0400
++++ Python-3.2.2/configure     2011-12-29 19:00:45.000000000 -0500
+@@ -4993,7 +4993,7 @@
          ;;
      Darwin*)
        LDLIBRARY='libpython$(LDVERSION).dylib'
@@ -124,7 +135,7 @@
        RUNSHARED='DYLD_LIBRARY_PATH=`pwd`:${DYLD_LIBRARY_PATH}'
        ;;
      AIX*)
-@@ -7509,8 +7509,8 @@
+@@ -7510,8 +7510,8 @@
        #ARCH_RUN_32BIT="true"
      fi
  
@@ -135,7 +146,7 @@
      LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) 
-current_version $(VERSION)';;
  esac
  
-@@ -7626,15 +7626,6 @@
+@@ -7627,15 +7627,6 @@
                # Use -undefined dynamic_lookup whenever possible (10.3 and 
later).
                # This allows an extension to be used in any Python
  
@@ -151,7 +162,7 @@
                        LDSHARED='$(CC) -bundle'
                        LDCXXSHARED='$(CXX) -bundle'
                        if test "$enable_framework" ; then
-@@ -7644,11 +7635,10 @@
+@@ -7645,11 +7636,10 @@
                                LDCXXSHARED="$LDCXXSHARED 
"'$(PYTHONFRAMEWORKPREFIX)/$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
                        else
                                # No framework, use the Python app as 
bundle-loader
@@ -166,7 +177,7 @@
                ;;
        Linux*|GNU*|QNX*)
                LDSHARED='$(CC) -shared'
-@@ -7757,7 +7747,7 @@
+@@ -7758,7 +7748,7 @@
        Linux*|GNU*) LINKFORSHARED="-Xlinker -export-dynamic";;
        # -u libsys_s pulls in all symbols in libsys
        Darwin/*)
@@ -175,7 +186,7 @@
                if test "$enable_framework"
                then
                        LINKFORSHARED="$LINKFORSHARED 
"'$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
-@@ -13689,7 +13679,7 @@
+@@ -13686,7 +13676,7 @@
  
  if test $ac_sys_system = Darwin
  then
@@ -184,9 +195,9 @@
  fi
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for %zd printf() format 
support" >&5
-diff -ru Python-3.2.1.orig/setup.py Python-3.2.1/setup.py
---- Python-3.2.1.orig/setup.py 2011-07-09 02:58:56.000000000 -0400
-+++ Python-3.2.1/setup.py      2011-07-12 12:44:09.000000000 -0400
+diff -ru Python-3.2.2.orig/setup.py Python-3.2.2/setup.py
+--- Python-3.2.2.orig/setup.py 2011-09-03 12:16:50.000000000 -0400
++++ Python-3.2.2/setup.py      2011-12-29 19:00:45.000000000 -0500
 @@ -269,13 +269,17 @@
                                                longest, g))
  

Index: python26-2.6.6.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/languages/python26-2.6.6.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- python26-2.6.6.info 11 Jul 2011 04:08:32 -0000      1.1
+++ python26-2.6.6.info 5 Jan 2012 17:27:17 -0000       1.2
@@ -1,7 +1,7 @@
 Info2: <<
 Package: python%type_pkg[python]
 Version: 2.6.6
-Revision: 2
+Revision: 3
 Epoch: 1
 Type: python 2.6
 Maintainer: Daniel Macks <dma...@netspace.org>
@@ -40,7 +40,7 @@
 Source2: http://www.python.org/ftp/python/doc/%v/python-%v-docs-html.tar.bz2
 Source2-MD5: d963121537cd6e295ef91301b660633a
 PatchFile: %n-%v.patch
-PatchFile-MD5: c38f81ac18263570e038255839db24f3
+PatchFile-MD5: 3493a12459bffe7c4a56d51bac5d2eec
 PatchScript: <<
        sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
 <<
@@ -185,6 +185,8 @@
 
        Fix language-encoding bug for japanese locale. See:
        
https://trac.macports.org/attachment/ticket/21517/patch-locale-from-apple-darwinsource.diff
+       
+       Patch ctypes to look in %p/lib for libraries.
 <<
 License: OSI-Approved
 Homepage: http://www.python.org

Index: python26-2.6.6.patch
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/languages/python26-2.6.6.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- python26-2.6.6.patch        11 Jul 2011 04:08:32 -0000      1.1
+++ python26-2.6.6.patch        5 Jan 2012 17:27:17 -0000       1.2
@@ -40,6 +40,17 @@
              gid = adapt(gid %i)
              self.db.put(i, gid, txn=txn, flags=db.DB_APPEND)
              txns.add(gid)
+diff -Nurd -x'*~' Python-2.6.6.orig/Lib/ctypes/macholib/dyld.py 
Python-2.6.6/Lib/ctypes/macholib/dyld.py
+--- Python-2.6.6.orig/Lib/ctypes/macholib/dyld.py      2008-02-21 
13:52:20.000000000 -0500
++++ Python-2.6.6/Lib/ctypes/macholib/dyld.py   2012-01-02 14:38:39.000000000 
-0500
+@@ -26,6 +26,7 @@
+ 
+ DEFAULT_LIBRARY_FALLBACK = [
+     os.path.expanduser("~/lib"),
++    "@PREFIX@/lib",
+     "/usr/local/lib",
+     "/lib",
+     "/usr/lib",
 diff -Nurd -x'*~' Python-2.6.6.orig/Lib/locale.py Python-2.6.6/Lib/locale.py
 --- Python-2.6.6.orig/Lib/locale.py    2009-05-06 09:21:17.000000000 -0400
 +++ Python-2.6.6/Lib/locale.py 2010-12-31 16:01:06.000000000 -0500

Index: python32.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/languages/python32.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- python32.info       31 Oct 2011 21:52:56 -0000      1.1
+++ python32.info       5 Jan 2012 17:27:17 -0000       1.2
@@ -1,7 +1,7 @@
 Info2: <<
 Package: python%type_pkg[python]
 Version: 3.2.2
-Revision: 1
+Revision: 2
 Type: python 3.2
 Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
 Depends: <<
@@ -38,7 +38,7 @@
 Source2: http://www.python.org/ftp/python/doc/%v/python-%v-docs-html.tar.bz2
 Source2-MD5: 55af06e320f35920ea9fed1f143e1286
 PatchFile: %n.patch
-PatchFile-MD5: c545d3975a69d0f1cbcaca4cf3a70257
+PatchFile-MD5: a334045fec09646d0d45fed7ad19d1ae
 PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
 
 UseMaxBuildJobs: true
@@ -179,6 +179,8 @@
        
        test_ctypes fails with clang unless _ctypes/_ctypes_test.c is built
        with -O0 so force that in setup.py.
+       
+       Patch ctypes to look in %p/lib for libraries.
 <<
 License: OSI-Approved
 Homepage: http://www.python.org

Index: python27.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/stable/main/finkinfo/10.4-EOL/languages/python27.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- python27.info       31 Oct 2011 21:52:56 -0000      1.2
+++ python27.info       5 Jan 2012 17:27:17 -0000       1.3
@@ -1,7 +1,7 @@
 Info2: <<
 Package: python%type_pkg[python]
 Version: 2.7.2
-Revision: 4
+Revision: 5
 Epoch: 1
 Type: python 2.7
 Maintainer: Daniel Johnson <dan...@daniel-johnson.org>
@@ -41,7 +41,7 @@
 Source2: http://www.python.org/ftp/python/doc/%v/python-%v-docs-html.tar.bz2
 Source2-MD5: 40f0bd51b221662cae14fb0c6b6f622b
 PatchFile: %n.patch
-PatchFile-MD5: 3a5d07b5d43fcf018d2d75ca05e63451
+PatchFile-MD5: 59e2d3591fa061bec69abb4cdae725fd
 PatchScript: <<
        sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
        perl -pi -e 's/\$Revision/$&: 81008 /' Lib/lib-tk/Tkinter.py
@@ -184,6 +184,8 @@
        
        test_ctypes fails with clang unless _ctypes/_ctypes_test.c is built
        with -O0 so force that in setup.py.
+       
+       Patch ctypes to look in %p/lib for libraries.
 <<
 License: OSI-Approved
 Homepage: http://www.python.org


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to