[Armadeus-commitlog] armadeus branch, master, updated. armadeus-4.0-2669-gdb782fc
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2012-01-11 15:58:59
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via db782fcd5332a5f0188ce3860cbad28e9f0d1870 (commit)
via 078a59104047f8d609c9f4bdc33a3d22b50f832d (commit)
via 6ef478dab5b2f5c92d4a01f018db29ccad054a99 (commit)
via 604887284d975eed8f62d286bf21d9dfb9f89241 (commit)
from 31b1647ad9f1b128e738beb85bfe7070d6b3d556 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit db782fcd5332a5f0188ce3860cbad28e9f0d1870
Author: Julien Boibessot <jul...@ar...>
Date: Wed Jan 11 16:58:27 2012 +0100
[BUILD] merge buildroot-clean with clean target and update help of main Makefile
commit 078a59104047f8d609c9f4bdc33a3d22b50f832d
Author: Julien Boibessot <jul...@ar...>
Date: Wed Jan 11 16:55:06 2012 +0100
[BUILD] Updates cleanup_buildroot.sh
commit 6ef478dab5b2f5c92d4a01f018db29ccad054a99
Merge: 6048872 31b1647
Author: Julien Boibessot <jul...@ar...>
Date: Wed Jan 11 15:21:37 2012 +0100
Merge branch 'master' of ssh://armadeus.git.sourceforge.net/gitroot/armadeus/armadeus
commit 604887284d975eed8f62d286bf21d9dfb9f89241
Author: Julien Boibessot <jul...@ar...>
Date: Wed Jan 11 15:21:05 2012 +0100
[BUILDROOT] Update python package to BR state of the art
-----------------------------------------------------------------------
Summary of changes:
Makefile | 25 +-
.../169-python-update_from_BR_mainline.patch | 1356 ++++++++++++++++++++
patches/buildroot/2011.05/cleanup_buildroot.sh | 1 +
3 files changed, 1371 insertions(+), 11 deletions(-)
create mode 100644 patches/buildroot/2011.05/169-python-update_from_BR_mainline.patch
diff --git a/Makefile b/Makefile
index db47cc3..fdb3385 100644
--- a/Makefile
+++ b/Makefile
@@ -56,26 +56,25 @@ ARMADEUS_BSP_VERSION=$(shell cat $(BUILDROOT_DIR)/target/device/armadeus/rootfs/
default: all
help:
- @echo 'First, choose the platform:'
+ @echo
+ @echo 'First, choose your platform and adjust configuration:'
@echo ' apf9328_defconfig - get default config for an APF9328+Dev kit'
@echo ' apf28_defconfig - get default config for an APF28+Dev kit'
@echo ' apf27_defconfig - get default config for an APF27+Dev kit'
@echo ' pps_defconfig - get default config for an APF27+PPS system'
@echo ' apf51_defconfig - get default config for an APF51+Dev kit'
@echo ''
+ @echo 'Build:'
+ @echo ' all - make world '
+ @echo ' <package> - a single package (ex: u-boot, linux, sdl, etc...)'
+ @echo
@echo 'Cleaning:'
- @echo ' buildroot-clean - delete all non-source files in buildroot'
- @echo ' clean - delete temporary files created by build'
+ @echo ' clean - delete files created by build'
@echo ' distclean - delete all non-source files (including .config)'
@echo
- @echo 'Build:'
- @echo ' all - make world '
- @echo ' <Package> - a single package (ex: u-boot linux or buildroot'
- @echo
@echo 'Configuration:'
@echo ' Global:'
@echo ' menuconfig - interactive curses-based configurator'
- @echo ' oldconfig - resolve any unresolved symbols in .config'
@echo ' Specific (after first build was successful):'
@echo ' linux-menuconfig - configure Linux parameters'
@echo ' uclibc-menuconfig - configure uClibc library parameters'
@@ -86,8 +85,8 @@ help:
@echo ' source-check - check all packages for valid download URLs'
@echo
@echo 'See http://www.armadeus.org for further details'
- @echo 'See ./buildroot/docs/README and ./buildroot/docs/buildroot.html'
- @echo ' for further Buildroot details'
+ @echo 'See http://www.buildroot.net/downloads/buildroot.html for'
+ @echo 'further Buildroot details'
@echo
@@ -178,8 +177,12 @@ menuconfig: $(BUILDROOT_DIR)/.configured
fi
@$(MAKE) -C $(BUILDROOT_DIR) $@
-buildroot-clean:
+clean:
+ @echo "Are you sure you want to delete all generated files (toolchain, kernel & Co) ?"
+ @echo " Ctrl+c to stop now"
+ @read answer
rm -rf $(BUILDROOT_DIR)/output
+ rm -f armadeus_env.sh
buildroot-dirclean:
rm -rf $(BUILDROOT_DIR)
diff --git a/patches/buildroot/2011.05/169-python-update_from_BR_mainline.patch b/patches/buildroot/2011.05/169-python-update_from_BR_mainline.patch
new file mode 100644
index 0000000..8cd7039
--- /dev/null
+++ b/patches/buildroot/2011.05/169-python-update_from_BR_mainline.patch
@@ -0,0 +1,1356 @@
+Updates python package by taking BR mainline as reference
+
+Can be removed when migrating BR to 2012.02
+
+diff -urN buildroot/package/python/python-2.7-001-support-for-build.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-001-support-for-build.patch
+--- buildroot/package/python/python-2.7-001-support-for-build.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-001-support-for-build.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -22,11 +22,11 @@
+ configure.in | 17 +++++++++++++++++
+ 2 files changed, 34 insertions(+), 15 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -178,7 +178,8 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -181,7 +181,8 @@
+ UNICODE_OBJS= @UNICODE_OBJS@
+
+ PYTHON= python$(EXE)
+@@ -36,7 +36,7 @@
+
+ # The task to run while instrument when building the profile-opt target
+ PROFILE_TASK= $(srcdir)/Tools/pybench/pybench.py -n 2 --with-gc --with-syscheck
+-@@ -210,7 +211,8 @@
++@@ -213,7 +214,8 @@
+
+ ##########################################################################
+ # Parser
+@@ -46,7 +46,7 @@
+
+ POBJS= \
+ Parser/acceler.o \
+-@@ -404,8 +406,8 @@
++@@ -407,8 +409,8 @@
+ # Build the shared modules
+ sharedmods: $(BUILDPYTHON)
+ @case $$MAKEFLAGS in \
+@@ -57,15 +57,16 @@
+ esac
+
+ # Build static library
+-@@ -536,12 +538,12 @@
+- $(MAINCC) -c $(PY_CFLAGS) -o $@ $(srcdir)/Modules/python.c
++@@ -540,13 +542,13 @@
+
+-
+--$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN) $(GRAMMAR_INPUT)
+-+$(GRAMMAR_H) $(GRAMMAR_C): $(PGEN_FOR_BUILD) $(GRAMMAR_INPUT)
++ # Use a stamp file to prevent make -j invoking pgen twice
++ $(GRAMMAR_H) $(GRAMMAR_C): Parser/pgen.stamp
++-Parser/pgen.stamp: $(PGEN) $(GRAMMAR_INPUT)
+++Parser/pgen.stamp: $(PGEN_FOR_BUILD) $(GRAMMAR_INPUT)
+ -@$(INSTALL) -d Include
+-- -$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
+-+ -$(PGEN_FOR_BUILD) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
++- $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
+++ $(PGEN_FOR_BUILD) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
++ -touch Parser/pgen.stamp
+
+ -$(PGEN): $(PGENOBJS)
+ - $(CC) $(OPT) $(LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN)
+@@ -74,7 +75,7 @@
+
+ Parser/grammar.o: $(srcdir)/Parser/grammar.c \
+ $(srcdir)/Include/token.h \
+-@@ -921,25 +923,25 @@
++@@ -926,25 +928,25 @@
+ done
+ $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
+ PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+@@ -105,7 +106,7 @@
+
+ # Create the PLATDIR source directory, if one wasn't distributed..
+ $(srcdir)/Lib/$(PLATDIR):
+-@@ -1044,7 +1046,7 @@
++@@ -1049,7 +1051,7 @@
+ # Install the dynamically loadable modules
+ # This goes into $(exec_prefix)
+ sharedinstall: sharedmods
+@@ -114,20 +115,20 @@
+ --prefix=$(prefix) \
+ --install-scripts=$(BINDIR) \
+ --install-platlib=$(DESTSHARED) \
+-@@ -1183,7 +1185,7 @@
++@@ -1188,7 +1190,7 @@
+ find . -name '*.gc??' -exec rm -f {} ';'
+
+ clobber: clean profile-removal
+ - -rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
+ + -rm -f $(BUILDPYTHON) $(BUILDPGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
+- tags TAGS \
++ tags TAGS Parser/pgen.stamp \
+ config.cache config.log pyconfig.h Modules/config.c
+ -rm -rf build platform
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -4291,6 +4291,23 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -4305,6 +4305,23 @@
+ done
+ AC_MSG_RESULT(done)
+
+diff -urN buildroot/package/python/python-2.7-002-cross-compile-variable.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-002-cross-compile-variable.patch
+--- buildroot/package/python/python-2.7-002-cross-compile-variable.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-002-cross-compile-variable.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -15,11 +15,11 @@
+ configure.in | 3 +++
+ 2 files changed, 6 insertions(+), 3 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -406,8 +406,8 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -409,8 +409,8 @@
+ # Build the shared modules
+ sharedmods: $(BUILDPYTHON)
+ @case $$MAKEFLAGS in \
+@@ -30,7 +30,7 @@
+ esac
+
+ # Build static library
+-@@ -1046,7 +1046,7 @@
++@@ -1051,7 +1051,7 @@
+ # Install the dynamically loadable modules
+ # This goes into $(exec_prefix)
+ sharedinstall: sharedmods
+@@ -39,11 +39,11 @@
+ --prefix=$(prefix) \
+ --install-scripts=$(BINDIR) \
+ --install-platlib=$(DESTSHARED) \
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -4308,6 +4308,9 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -4322,6 +4322,9 @@
+ AC_ARG_VAR(PYTHON_FOR_BUILD,[build system Python])
+ AC_ARG_VAR(PGEN_FOR_BUILD,[build system Python pgen])
+
+diff -urN buildroot/package/python/python-2.7-003-no-import-when-cross-compiling.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-003-no-import-when-cross-compiling.patch
+--- buildroot/package/python/python-2.7-003-no-import-when-cross-compiling.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-003-no-import-when-cross-compiling.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -9,10 +9,10 @@
+ setup.py | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
+ @@ -304,6 +304,10 @@
+ self.announce('WARNING: skipping import check for Cygwin-based "%s"'
+ % ext.name)
+diff -urN buildroot/package/python/python-2.7-004-no-host-headers-libs.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-004-no-host-headers-libs.patch
+--- buildroot/package/python/python-2.7-004-no-host-headers-libs.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-004-no-host-headers-libs.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -10,23 +10,37 @@
+ setup.py | 39 +++++++++++++++++++++------------------
+ 1 file changed, 21 insertions(+), 18 deletions(-)
+
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
+-@@ -351,8 +351,9 @@
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
++@@ -373,9 +373,10 @@
+
+ def detect_modules(self):
+ # Ensure that /usr/local is always used
+ - add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
+ - add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
++- self.add_multiarch_paths()
+ + if os.environ.get('CROSS_COMPILING') != 'yes':
+ + add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
+ + add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+++ self.add_multiarch_paths()
+
+ # Add paths specified in the environment variables LDFLAGS and
+ # CPPFLAGS for header and library files.
+-@@ -388,17 +389,6 @@
++@@ -383,10 +384,7 @@
++ # directly since an inconsistently reproducible issue comes up where
++ # the environment variable is not set even though the value were passed
++ # into configure and stored in the Makefile (issue found on OS X 10.3).
++- for env_var, arg_name, dir_list in (
++- ('LDFLAGS', '-R', self.compiler.runtime_library_dirs),
++- ('LDFLAGS', '-L', self.compiler.library_dirs),
++- ('CPPFLAGS', '-I', self.compiler.include_dirs)):
+++ for env_var, arg_name, dir_list in ():
++ env_val = sysconfig.get_config_var(env_var)
++ if env_val:
++ # To prevent optparse from raising an exception about any
++@@ -411,17 +409,6 @@
+ for directory in reversed(options.dirs):
+ add_dir_to_list(dir_list, directory)
+
+@@ -44,7 +58,7 @@
+ try:
+ have_unicode = unicode
+ except NameError:
+-@@ -407,11 +397,16 @@
++@@ -430,11 +417,16 @@
+ # lib_dirs and inc_dirs are used to search for files;
+ # if a file is found in one of those directories, it can
+ # be assumed that no additional -I,-L directives are needed.
+@@ -66,7 +80,7 @@
+ exts = []
+ missing = []
+
+-@@ -844,6 +839,9 @@
++@@ -867,6 +859,9 @@
+ db_inc_paths.append('/pkg/db-3.%d/include' % x)
+ db_inc_paths.append('/opt/db-3.%d/include' % x)
+
+@@ -76,7 +90,7 @@
+ # Add some common subdirectories for Sleepycat DB to the list,
+ # based on the standard include directories. This way DB3/4 gets
+ # picked up when it is installed in a non-standard prefix and
+-@@ -996,6 +994,9 @@
++@@ -1019,6 +1014,9 @@
+ MIN_SQLITE_VERSION = ".".join([str(x)
+ for x in MIN_SQLITE_VERSION_NUMBER])
+
+@@ -86,7 +100,7 @@
+ # Scan the default include directories before the SQLite specific
+ # ones. This allows one to override the copy of sqlite on OSX,
+ # where /usr/include contains an old version of sqlite.
+-@@ -1095,6 +1096,8 @@
++@@ -1118,6 +1116,8 @@
+ # the more recent berkeleydb's db.h file first in the include path
+ # when attempting to compile and it will fail.
+ f = "/usr/include/db.h"
+diff -urN buildroot/package/python/python-2.7-005-staging-headers-libs.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-005-staging-headers-libs.patch
+--- buildroot/package/python/python-2.7-005-staging-headers-libs.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-005-staging-headers-libs.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -12,12 +12,12 @@
+ setup.py | 13 +++++++++++++
+ 1 file changed, 13 insertions(+)
+
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
+-@@ -350,6 +350,19 @@
+- return sys.platform
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
++@@ -372,6 +372,19 @@
++ os.unlink(tmpfile)
+
+ def detect_modules(self):
+ + try:
+diff -urN buildroot/package/python/python-2.7-006-disable-extensions.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-006-disable-extensions.patch
+--- buildroot/package/python/python-2.7-006-disable-extensions.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-006-disable-extensions.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -38,11 +38,11 @@
+ setup.py | 5 ++++-
+ 3 files changed, 11 insertions(+), 4 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -141,6 +141,8 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -144,6 +144,8 @@
+ # configure script arguments
+ CONFIG_ARGS= @CONFIG_ARGS@
+
+@@ -51,7 +51,7 @@
+
+ # Subdirectories with code
+ SRCDIRS= @SRCDIRS@
+-@@ -406,8 +408,8 @@
++@@ -409,8 +411,8 @@
+ # Build the shared modules
+ sharedmods: $(BUILDPYTHON)
+ @case $$MAKEFLAGS in \
+@@ -62,7 +62,7 @@
+ esac
+
+ # Build static library
+-@@ -1046,7 +1048,7 @@
++@@ -1051,7 +1053,7 @@
+ # Install the dynamically loadable modules
+ # This goes into $(exec_prefix)
+ sharedinstall: sharedmods
+@@ -71,11 +71,11 @@
+ --prefix=$(prefix) \
+ --install-scripts=$(BINDIR) \
+ --install-platlib=$(DESTSHARED) \
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2084,6 +2084,8 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2098,6 +2098,8 @@
+
+ AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
+
+@@ -84,10 +84,10 @@
+ # Check for use of the system expat library
+ AC_MSG_CHECKING(for --with-system-expat)
+ AC_ARG_WITH(system_expat,
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
+ @@ -21,7 +21,10 @@
+ COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount')
+
+diff -urN buildroot/package/python/python-2.7-007-do-not-generate-pyo-files.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-007-do-not-generate-pyo-files.patch
+--- buildroot/package/python/python-2.7-007-do-not-generate-pyo-files.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-007-do-not-generate-pyo-files.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -13,11 +13,11 @@
+ Makefile.pre.in | 9 ---------
+ 1 file changed, 9 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -929,20 +929,11 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -934,20 +934,11 @@
+ -d $(LIBDEST) -f \
+ -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+ $(DESTDIR)$(LIBDEST)
+diff -urN buildroot/package/python/python-2.7-008-reread-environment.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-008-reread-environment.patch
+--- buildroot/package/python/python-2.7-008-reread-environment.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-008-reread-environment.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -25,11 +25,11 @@
+ setup.py | 3 +++
+ 2 files changed, 6 insertions(+), 3 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -408,8 +408,8 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -411,8 +411,8 @@
+ # Build the shared modules
+ sharedmods: $(BUILDPYTHON)
+ @case $$MAKEFLAGS in \
+@@ -40,7 +40,7 @@
+ esac
+
+ # Build static library
+-@@ -1039,7 +1039,7 @@
++@@ -1044,7 +1044,7 @@
+ # Install the dynamically loadable modules
+ # This goes into $(exec_prefix)
+ sharedinstall: sharedmods
+@@ -49,10 +49,10 @@
+ --prefix=$(prefix) \
+ --install-scripts=$(BINDIR) \
+ --install-platlib=$(DESTSHARED) \
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
+ @@ -20,6 +20,9 @@
+ # Were we compiled --with-pydebug or with #define Py_DEBUG?
+ COMPILED_WITH_PYDEBUG = hasattr(sys, 'gettotalrefcount')
+diff -urN buildroot/package/python/python-2.7-009-python-symlink.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-009-python-symlink.patch
+--- buildroot/package/python/python-2.7-009-python-symlink.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-009-python-symlink.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -10,11 +10,11 @@
+ Makefile.pre.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -791,7 +791,7 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -796,7 +796,7 @@
+ then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
+ else true; \
+ fi
+diff -urN buildroot/package/python/python-2.7-010-change-pyconfig-h-location.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-010-change-pyconfig-h-location.patch
+--- buildroot/package/python/python-2.7-010-change-pyconfig-h-location.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-010-change-pyconfig-h-location.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -26,10 +26,10 @@
+ Makefile.pre.in | 3 ++-
+ 3 files changed, 5 insertions(+), 3 deletions(-)
+
+-Index: Python-2.7.1/Lib/distutils/sysconfig.py
++Index: Python-2.7.2/Lib/distutils/sysconfig.py
+ ===================================================================
+---- Python-2.7.1.orig/Lib/distutils/sysconfig.py
+-+++ Python-2.7.1/Lib/distutils/sysconfig.py
++--- Python-2.7.2.orig/Lib/distutils/sysconfig.py
+++++ Python-2.7.2/Lib/distutils/sysconfig.py
+ @@ -193,7 +193,8 @@
+ else:
+ inc_dir = project_base
+@@ -40,11 +40,11 @@
+ if get_python_version() < '2.2':
+ config_h = 'config.h'
+ else:
+-Index: Python-2.7.1/Lib/sysconfig.py
++Index: Python-2.7.2/Lib/sysconfig.py
+ ===================================================================
+---- Python-2.7.1.orig/Lib/sysconfig.py
+-+++ Python-2.7.1/Lib/sysconfig.py
+-@@ -371,7 +371,7 @@
++--- Python-2.7.2.orig/Lib/sysconfig.py
+++++ Python-2.7.2/Lib/sysconfig.py
++@@ -356,7 +356,7 @@
+ else:
+ inc_dir = _PROJECT_BASE
+ else:
+@@ -53,11 +53,11 @@
+ return os.path.join(inc_dir, 'pyconfig.h')
+
+ def get_scheme_names():
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -967,7 +967,6 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -972,7 +972,6 @@
+ echo $(INSTALL_DATA) $$i $(INCLUDEPY); \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(INCLUDEPY); \
+ done
+@@ -65,7 +65,7 @@
+
+ # Install the library and miscellaneous stuff needed for extending/embedding
+ # This goes into $(exec_prefix)
+-@@ -1001,6 +1000,8 @@
++@@ -1006,6 +1005,8 @@
+ $(INSTALL_DATA) Modules/python.o $(DESTDIR)$(LIBPL)/python.o
+ $(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config.c.in
+ $(INSTALL_DATA) Makefile $(DESTDIR)$(LIBPL)/Makefile
+diff -urN buildroot/package/python/python-2.7-011-no-rpath.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-011-no-rpath.patch
+--- buildroot/package/python/python-2.7-011-no-rpath.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-011-no-rpath.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -13,11 +13,11 @@
+ setup.py | 21 ++++++++++++++++++---
+ 1 file changed, 18 insertions(+), 3 deletions(-)
+
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
+-@@ -977,6 +977,12 @@
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
++@@ -997,6 +997,12 @@
+ print "bsddb lib dir:", dblib_dir, " inc dir:", db_incdir
+ db_incs = [db_incdir]
+ dblibs = [dblib]
+@@ -30,7 +30,7 @@
+ # We add the runtime_library_dirs argument because the
+ # BerkeleyDB lib we're linking against often isn't in the
+ # system dynamic library search path. This is usually
+-@@ -986,7 +992,7 @@
++@@ -1006,7 +1012,7 @@
+ exts.append(Extension('_bsddb', ['_bsddb.c'],
+ depends = ['bsddb.h'],
+ library_dirs=dblib_dir,
+@@ -39,7 +39,7 @@
+ include_dirs=db_incs,
+ libraries=dblibs))
+ else:
+-@@ -1092,12 +1098,17 @@
++@@ -1112,12 +1118,17 @@
+ else:
+ sqlite_extra_link_args = ()
+
+@@ -58,7 +58,7 @@
+ extra_link_args=sqlite_extra_link_args,
+ libraries=["sqlite3",]))
+ else:
+-@@ -1198,9 +1209,13 @@
++@@ -1218,9 +1229,13 @@
+ elif cand == "bdb":
+ if db_incs is not None:
+ print "building dbm using bdb"
+diff -urN buildroot/package/python/python-2.7-012-correct-32bit-64bit-check.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-012-correct-32bit-64bit-check.patch
+--- buildroot/package/python/python-2.7-012-correct-32bit-64bit-check.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-012-correct-32bit-64bit-check.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -16,10 +16,10 @@
+ setup.py | 12 ++++++++++--
+ 1 file changed, 10 insertions(+), 2 deletions(-)
+
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
+ @@ -29,6 +29,14 @@
+ except KeyError:
+ disabled_module_list = list()
+@@ -35,7 +35,7 @@
+ def add_dir_to_list(dirlist, dir):
+ """Add the directory 'dir' to the list 'dirlist' (at the front) if
+ 1) 'dir' is not already in 'dirlist'
+-@@ -608,7 +616,7 @@
++@@ -628,7 +636,7 @@
+ exts.append( Extension('audioop', ['audioop.c']) )
+
+ # Disabled on 64-bit platforms
+@@ -44,7 +44,7 @@
+ # Operations on images
+ exts.append( Extension('imageop', ['imageop.c']) )
+ else:
+-@@ -1424,7 +1432,7 @@
++@@ -1444,7 +1452,7 @@
+ missing.append('_codecs_%s' % loc)
+
+ # Dynamic loading module
+diff -urN buildroot/package/python/python-2.7-013-fix-linux-3-compilation.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-013-fix-linux-3-compilation.patch
+--- buildroot/package/python/python-2.7-013-fix-linux-3-compilation.patch 1970-01-01 01:00:00.000000000 +0100
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-013-fix-linux-3-compilation.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -0,0 +1,24 @@
++Index: Python-2.7.2/configure
++===================================================================
++--- Python-2.7.2.orig/configure
+++++ Python-2.7.2/configure
++@@ -3007,6 +3007,7 @@
++ darwin*) MACHDEP="darwin";;
++ atheos*) MACHDEP="atheos";;
++ irix646) MACHDEP="irix6";;
+++ linux*) MACHDEP="linux2";;
++ '') MACHDEP="unknown";;
++ esac
++ fi
++Index: Python-2.7.2/configure.in
++===================================================================
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -297,6 +297,7 @@
++ darwin*) MACHDEP="darwin";;
++ atheos*) MACHDEP="atheos";;
++ irix646) MACHDEP="irix6";;
+++ linux*) MACHDEP="linux2";;
++ '') MACHDEP="unknown";;
++ esac
++ fi
+diff -urN buildroot/package/python/python-2.7-014-verbose-module-build.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-014-verbose-module-build.patch
+--- buildroot/package/python/python-2.7-014-verbose-module-build.patch 1970-01-01 01:00:00.000000000 +0100
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-014-verbose-module-build.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -0,0 +1,19 @@
++Enables verbose output when building modules
++
++Patch borrowed from OpenBricks.
++
++Signed-off-by: Thomas Petazzoni <tho...@fr...>
++
++Index: Python-2.7.2/Makefile.pre.in
++===================================================================
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -411,7 +411,7 @@
++ # Build the shared modules
++ sharedmods: $(BUILDPYTHON)
++ @case $$MAKEFLAGS in \
++- *s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' CROSS_COMPILING=@CROSS_COMPILING@ DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" CONFIG_ARGS="$(CONFIG_ARGS)" $(PYTHON_FOR_BUILD) -E $(srcdir)/setup.py -q build;; \
+++ *s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' CROSS_COMPILING=@CROSS_COMPILING@ DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" CONFIG_ARGS="$(CONFIG_ARGS)" $(PYTHON_FOR_BUILD) -E $(srcdir)/setup.py build;; \
++ *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' CROSS_COMPILING=@CROSS_COMPILING@ DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" CONFIG_ARGS="$(CONFIG_ARGS)" $(PYTHON_FOR_BUILD) -E $(srcdir)/setup.py build;; \
++ esac
++
+diff -urN buildroot/package/python/python-2.7-015-distutils-cross-compilation-support.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-015-distutils-cross-compilation-support.patch
+--- buildroot/package/python/python-2.7-015-distutils-cross-compilation-support.patch 1970-01-01 01:00:00.000000000 +0100
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-015-distutils-cross-compilation-support.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -0,0 +1,84 @@
++Add some cross-compilation fixes to distutils
++
++Inspired by work done by Marc Kleine-Budde <mk...@pe...> in
++PTXdist.
++
++Signed-off-by: Thomas Petazzoni <tho...@fr...>
++---
++ Lib/distutils/sysconfig.py | 7 ++++---
++ 1 files changed, 4 insertions(+), 3 deletions(-)
++
++Index: Python-2.7.2/Lib/distutils/sysconfig.py
++===================================================================
++--- Python-2.7.2.orig/Lib/distutils/sysconfig.py
+++++ Python-2.7.2/Lib/distutils/sysconfig.py
++@@ -19,13 +19,22 @@
++ from distutils.errors import DistutilsPlatformError
++
++ # These are needed in a couple of spots, so just compute them once.
++-PREFIX = os.path.normpath(sys.prefix)
++-EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
+++EXECUTABLE_DIRNAME = os.path.dirname(os.path.realpath(sys.executable))
+++if os.environ.get('CROSS_COMPILING') == 'yes':
+++ _sysroot=os.environ.get('_python_sysroot')
+++ PREFIX = os.path.normpath(_sysroot + os.environ.get('_python_prefix'))
+++ EXEC_PREFIX = os.path.normpath(_sysroot + os.environ.get('_python_exec_prefix'))
+++ if '_python_srcdir' in os.environ:
+++ EXECUTABLE_DIRNAME = os.path.normpath(os.environ['_python_srcdir'])
+++else:
+++ PREFIX = os.path.normpath(sys.prefix)
+++ EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
+++
++
++ # Path to the base directory of the project. On Windows the binary may
++ # live in project/PCBuild9. If we're dealing with an x64 Windows build,
++ # it'll live in project/PCbuild/amd64.
++-project_base = os.path.dirname(os.path.abspath(sys.executable))
+++project_base = EXECUTABLE_DIRNAME
++ if os.name == "nt" and "pcbuild" in project_base[-8:].lower():
++ project_base = os.path.abspath(os.path.join(project_base, os.path.pardir))
++ # PC/VS7.1
++@@ -74,7 +83,7 @@
++
++ if os.name == "posix":
++ if python_build:
++- buildir = os.path.dirname(sys.executable)
+++ buildir = EXECUTABLE_DIRNAME
++ if plat_specific:
++ # python.h is located in the buildir
++ inc_dir = buildir
++@@ -206,7 +215,7 @@
++ def get_makefile_filename():
++ """Return full pathname of installed Makefile from the Python build."""
++ if python_build:
++- return os.path.join(os.path.dirname(sys.executable), "Makefile")
+++ return os.path.join(EXECUTABLE_DIRNAME, "Makefile")
++ lib_dir = get_python_lib(plat_specific=1, standard_lib=1)
++ return os.path.join(lib_dir, "config", "Makefile")
++
++Index: Python-2.7.2/configure.in
++===================================================================
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -4328,6 +4328,21 @@
++ CROSS_COMPILING=$cross_compiling
++ AC_SUBST(CROSS_COMPILING)
++
+++#
+++# Cross compiling
+++#
+++# special RUNSHARED
+++if test "$cross_compiling" = "yes"; then
+++ RUNSHARED="\
+++ CROSS_COMPILING=yes \
+++ _python_cross_host=${ac_cv_host} \
+++ _python_sysroot=\"\$(sysroot)\" \
+++ _python_srcdir=\"\$(srcdir)\" \
+++ _python_prefix=\"\$(prefix)\" \
+++ _python_exec_prefix=\"\$(exec_prefix)\""
+++fi
+++
+++
++ # generate output files
++ AC_CONFIG_FILES(Makefile.pre Modules/Setup.config Misc/python.pc)
++ AC_CONFIG_FILES([Modules/ld_so_aix], [chmod +x Modules/ld_so_aix])
+diff -urN buildroot/package/python/python-2.7-100-optional-test-modules.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-100-optional-test-modules.patch
+--- buildroot/package/python/python-2.7-100-optional-test-modules.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-100-optional-test-modules.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -10,20 +10,19 @@
+ configure.in | 6 ++++++
+ 2 files changed, 33 insertions(+), 13 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -851,23 +851,37 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -856,23 +856,30 @@
+ plat-mac/lib-scriptpackages/SystemEvents \
+ plat-mac/lib-scriptpackages/Terminal
+ PLATMACPATH=:plat-mac:plat-mac/lib-scriptpackages
+ -LIBSUBDIRS= lib-tk lib-tk/test lib-tk/test/test_tkinter \
+-- lib-tk/test/test_ttk site-packages test test/data \
+-- test/decimaltestdata test/xmltestdata \
++- lib-tk/test/test_ttk site-packages test test/data \
++- test/cjkencodings test/decimaltestdata test/xmltestdata test/subprocessdata \
+ - test/tracedmodules \
+-+LIBSUBDIRS= lib-tk \
+-+ site-packages \
+++LIBSUBDIRS= lib-tk site-packages \
+ encodings compiler hotshot \
+ - email email/mime email/test email/test/data \
+ - json json/tests \
+@@ -38,8 +37,8 @@
+ + sqlite3 \
+ + logging bsddb csv importlib wsgiref \
+ + lib2to3 lib2to3/fixes lib2to3/pgen2 \
+-+ ctypes ctypes/macholib idlelib idlelib/Icons \
+-+ distutils distutils/command $(XMLLIBSUBDIRS) \
+++ ctypes ctypes/macholib idlelib idlelib/Icons \
+++ distutils distutils/command $(XMLLIBSUBDIRS) \
+ multiprocessing multiprocessing/dummy \
+ - unittest unittest/test \
+ + unittest \
+@@ -47,29 +46,23 @@
+ curses pydoc_data $(MACHDEPS)
+ +
+ +ifeq (@TEST_MODULES@,yes)
+-+LIBSUBDIRS += lib-tk/test lib-tk/test/test_tkinter \
+-+ lib-tk/test/test_ttk test test/data \
+-+ test/decimaltestdata test/xmltestdata \
+-+ test/tracedmodules \
+-+ email/test email/test/data \
+-+ sqlite3/test \
+-+ bsddb/test \
+-+ lib2to3/tests \
+-+ lib2to3/tests/data \
+-+ lib2to3/tests/data/fixers \
+-+ lib2to3/tests/data/fixers/myfixes \
+-+ ctypes/test distutils/tests \
+-+ unittest/test
+++LIBSUBDIRS += lib-tk/test lib-tk/test/test_tkinter \
+++ lib-tk/test/test_ttk test test/data \
+++ test/cjkencodings test/decimaltestdata test/xmltestdata test/subprocessdata \
+++ test/tracedmodules email/test email/test/data \
+++ json/tests sqlite3/test bsddb/test lib2to3/tests \
+++ lib2to3/tests/data lib2to3/tests/data/fixers lib2to3/tests/data/fixers/myfixes \
+++ ctypes/test distutils/tests unittest/test
+ +endif
+ +
+ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
+ @for i in $(SCRIPTDIR) $(LIBDEST); \
+ do \
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2393,6 +2393,12 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2408,6 +2408,12 @@
+ fi
+
+
+diff -urN buildroot/package/python/python-2.7-101-optional-pydoc.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-101-optional-pydoc.patch
+--- buildroot/package/python/python-2.7-101-optional-pydoc.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-101-optional-pydoc.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -11,11 +11,11 @@
+ setup.py | 10 +++++++---
+ 3 files changed, 17 insertions(+), 4 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -864,7 +864,7 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -868,7 +868,7 @@
+ multiprocessing multiprocessing/dummy \
+ unittest \
+ lib-old \
+@@ -23,9 +23,9 @@
+ + curses $(MACHDEPS)
+
+ ifeq (@TEST_MODULES@,yes)
+- LIBSUBDIRS += lib-tk/test lib-tk/test/test_tkinter \
+-@@ -882,6 +882,10 @@
+- unittest/test
++ LIBSUBDIRS += lib-tk/test lib-tk/test/test_tkinter \
++@@ -880,6 +880,10 @@
++ ctypes/test distutils/tests unittest/test
+ endif
+
+ +ifeq (@PYDOC@,yes)
+@@ -35,11 +35,11 @@
+ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
+ @for i in $(SCRIPTDIR) $(LIBDEST); \
+ do \
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2392,6 +2392,11 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2407,6 +2407,11 @@
+ esac])
+ fi
+
+@@ -51,11 +51,11 @@
+
+ AC_SUBST(TEST_MODULES)
+
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
+-@@ -2072,6 +2072,12 @@
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
++@@ -2092,6 +2092,12 @@
+ # turn off warnings when deprecated modules are imported
+ import warnings
+ warnings.filterwarnings("ignore",category=DeprecationWarning)
+@@ -68,7 +68,7 @@
+ setup(# PyPI Metadata (PEP 301)
+ name = "Python",
+ version = sys.version.split()[0],
+-@@ -2092,9 +2098,7 @@
++@@ -2112,9 +2118,7 @@
+ ext_modules=[Extension('_struct', ['_struct.c'])],
+
+ # Scripts to install
+diff -urN buildroot/package/python/python-2.7-102-optional-2to3.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-102-optional-2to3.patch
+--- buildroot/package/python/python-2.7-102-optional-2to3.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-102-optional-2to3.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -11,34 +11,29 @@
+ setup.py | 5 +++--
+ 3 files changed, 26 insertions(+), 9 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -856,9 +856,7 @@
+- encodings compiler hotshot \
+- email email/mime \
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -862,7 +862,6 @@
+ json \
+-- sqlite3 \
++ sqlite3 \
+ logging bsddb csv importlib wsgiref \
+ - lib2to3 lib2to3/fixes lib2to3/pgen2 \
+- ctypes ctypes/macholib idlelib idlelib/Icons \
+- distutils distutils/command $(XMLLIBSUBDIRS) \
++ ctypes ctypes/macholib idlelib idlelib/Icons \
++ distutils distutils/command $(XMLLIBSUBDIRS) \
+ multiprocessing multiprocessing/dummy \
+-@@ -872,12 +870,7 @@
+- test/decimaltestdata test/xmltestdata \
+- test/tracedmodules \
+- email/test email/test/data \
+-- sqlite3/test \
+- bsddb/test \
+-- lib2to3/tests \
+-- lib2to3/tests/data \
+-- lib2to3/tests/data/fixers \
+-- lib2to3/tests/data/fixers/myfixes \
+- ctypes/test distutils/tests \
+- unittest/test
++@@ -875,8 +874,7 @@
++ lib-tk/test/test_ttk test test/data \
++ test/cjkencodings test/decimaltestdata test/xmltestdata test/subprocessdata \
++ test/tracedmodules email/test email/test/data \
++- json/tests sqlite3/test bsddb/test lib2to3/tests \
++- lib2to3/tests/data lib2to3/tests/data/fixers lib2to3/tests/data/fixers/myfixes \
+++ json/tests sqlite3/test bsddb/test \
++ ctypes/test distutils/tests unittest/test
+ endif
+-@@ -886,6 +879,23 @@
++
++@@ -884,6 +882,23 @@
+ LIBSUBDIRS += pydoc_data
+ endif
+
+@@ -62,11 +57,11 @@
+ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
+ @for i in $(SCRIPTDIR) $(LIBDEST); \
+ do \
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2404,6 +2404,12 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2419,6 +2419,12 @@
+ AS_HELP_STRING([--disable-test-modules], [disable test modules]),
+ [ TEST_MODULES="${enableval}" ], [ TEST_MODULES=yes ])
+
+@@ -79,11 +74,11 @@
+ # Check for enable-ipv6
+ AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified])
+ AC_MSG_CHECKING([if --enable-ipv6 is specified])
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
+-@@ -2073,10 +2073,11 @@
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
++@@ -2093,10 +2093,11 @@
+ import warnings
+ warnings.filterwarnings("ignore",category=DeprecationWarning)
+
+diff -urN buildroot/package/python/python-2.7-103-optional-sqlite.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-103-optional-sqlite.patch
+--- buildroot/package/python/python-2.7-103-optional-sqlite.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-103-optional-sqlite.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -6,11 +6,11 @@
+ configure.in | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2392,6 +2392,15 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2407,6 +2407,15 @@
+ esac])
+ fi
+
+diff -urN buildroot/package/python/python-2.7-104-optional-tk.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-104-optional-tk.patch
+--- buildroot/package/python/python-2.7-104-optional-tk.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-104-optional-tk.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -7,31 +7,30 @@
+ configure.in | 9 +++++++++
+ 2 files changed, 19 insertions(+), 4 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -851,8 +851,7 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -856,7 +856,7 @@
+ plat-mac/lib-scriptpackages/SystemEvents \
+ plat-mac/lib-scriptpackages/Terminal
+ PLATMACPATH=:plat-mac:plat-mac/lib-scriptpackages
+--LIBSUBDIRS= lib-tk \
+-- site-packages \
++-LIBSUBDIRS= lib-tk site-packages \
+ +LIBSUBDIRS= site-packages \
+ encodings compiler hotshot \
+ email email/mime \
+ json \
+-@@ -865,8 +864,7 @@
++@@ -870,8 +870,7 @@
+ curses $(MACHDEPS)
+
+ ifeq (@TEST_MODULES@,yes)
+--LIBSUBDIRS += lib-tk/test lib-tk/test/test_tkinter \
+-- lib-tk/test/test_ttk test test/data \
+-+LIBSUBDIRS += test test/data \
+- test/decimaltestdata test/xmltestdata \
+- test/tracedmodules \
+- email/test email/test/data \
+-@@ -896,6 +894,14 @@
++-LIBSUBDIRS += lib-tk/test lib-tk/test/test_tkinter \
++- lib-tk/test/test_ttk test test/data \
+++LIBSUBDIRS += test test/data \
++ test/cjkencodings test/decimaltestdata test/xmltestdata test/subprocessdata \
++ test/tracedmodules email/test email/test/data \
++ json/tests sqlite3/test bsddb/test \
++@@ -899,6 +898,14 @@
+ endif
+ endif
+
+@@ -46,11 +45,11 @@
+ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
+ @for i in $(SCRIPTDIR) $(LIBDEST); \
+ do \
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2401,6 +2401,15 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2416,6 +2416,15 @@
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3"
+ fi
+
+diff -urN buildroot/package/python/python-2.7-105-optional-curses.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-105-optional-curses.patch
+--- buildroot/package/python/python-2.7-105-optional-curses.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-105-optional-curses.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -7,11 +7,11 @@
+ configure.in | 9 +++++++++
+ 2 files changed, 14 insertions(+), 1 deletion(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -861,7 +861,7 @@
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -867,7 +867,7 @@
+ multiprocessing multiprocessing/dummy \
+ unittest \
+ lib-old \
+@@ -19,8 +19,8 @@
+ + $(MACHDEPS)
+
+ ifeq (@TEST_MODULES@,yes)
+- LIBSUBDIRS += test test/data \
+-@@ -902,6 +902,10 @@
++ LIBSUBDIRS += test test/data \
++@@ -906,6 +906,10 @@
+ endif
+ endif
+
+@@ -31,11 +31,11 @@
+ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
+ @for i in $(SCRIPTDIR) $(LIBDEST); \
+ do \
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2410,6 +2410,15 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2425,6 +2425,15 @@
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _tkinter"
+ fi
+
+diff -urN buildroot/package/python/python-2.7-106-optional-expat.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-106-optional-expat.patch
+--- buildroot/package/python/python-2.7-106-optional-expat.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-106-optional-expat.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -14,20 +14,20 @@
+ setup.py | 2 +-
+ 3 files changed, 19 insertions(+), 7 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -857,7 +857,7 @@
+- json \
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -863,7 +863,7 @@
++ sqlite3 \
+ logging bsddb csv importlib wsgiref \
+- ctypes ctypes/macholib idlelib idlelib/Icons \
+-- distutils distutils/command $(XMLLIBSUBDIRS) \
++ ctypes ctypes/macholib idlelib idlelib/Icons \
++- distutils distutils/command $(XMLLIBSUBDIRS) \
+ + distutils distutils/command \
+ multiprocessing multiprocessing/dummy \
+ unittest \
+ lib-old \
+-@@ -906,6 +906,10 @@
++@@ -910,6 +910,10 @@
+ LIBSUBDIRS += curses
+ endif
+
+@@ -38,11 +38,11 @@
+ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
+ @for i in $(SCRIPTDIR) $(LIBDEST); \
+ do \
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2087,13 +2087,21 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2102,13 +2102,21 @@
+ AC_SUBST(DISABLED_EXTENSIONS)
+
+ # Check for use of the system expat library
+@@ -69,11 +69,11 @@
+
+ # Check for use of the system libffi library
+ AC_MSG_CHECKING(for --with-system-ffi)
+-Index: Python-2.7.1/setup.py
++Index: Python-2.7.2/setup.py
+ ===================================================================
+---- Python-2.7.1.orig/setup.py
+-+++ Python-2.7.1/setup.py
+-@@ -1383,7 +1383,7 @@
++--- Python-2.7.2.orig/setup.py
+++++ Python-2.7.2/setup.py
++@@ -1403,7 +1403,7 @@
+ #
+ # More information on Expat can be found at www.libexpat.org.
+ #
+diff -urN buildroot/package/python/python-2.7-107-optional-codecs-cjk.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-107-optional-codecs-cjk.patch
+--- buildroot/package/python/python-2.7-107-optional-codecs-cjk.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-107-optional-codecs-cjk.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -6,11 +6,11 @@
+ configure.in | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2409,6 +2409,12 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2424,6 +2424,12 @@
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3"
+ fi
+
+diff -urN buildroot/package/python/python-2.7-108-optional-nis.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-108-optional-nis.patch
+--- buildroot/package/python/python-2.7-108-optional-nis.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-108-optional-nis.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -9,11 +9,11 @@
+ configure.in | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2415,6 +2415,12 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2430,6 +2430,12 @@
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk"
+ fi])
+
+diff -urN buildroot/package/python/python-2.7-109-optional-unicodedata.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-109-optional-unicodedata.patch
+--- buildroot/package/python/python-2.7-109-optional-unicodedata.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-109-optional-unicodedata.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -6,11 +6,11 @@
+ configure.in | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2421,6 +2421,12 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2436,6 +2436,12 @@
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
+ fi])
+
+diff -urN buildroot/package/python/python-2.7-110-optional-db.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-110-optional-db.patch
+--- buildroot/package/python/python-2.7-110-optional-db.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-110-optional-db.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -11,28 +11,29 @@
+ configure.in | 22 ++++++++++++++++++++++
+ 2 files changed, 30 insertions(+), 2 deletions(-)
+
+-Index: Python-2.7.1/Makefile.pre.in
++Index: Python-2.7.2/Makefile.pre.in
+ ===================================================================
+---- Python-2.7.1.orig/Makefile.pre.in
+-+++ Python-2.7.1/Makefile.pre.in
+-@@ -855,7 +855,7 @@
+- encodings compiler hotshot \
++--- Python-2.7.2.orig/Makefile.pre.in
+++++ Python-2.7.2/Makefile.pre.in
++@@ -861,7 +861,7 @@
+ email email/mime \
+ json \
++ sqlite3 \
+ - logging bsddb csv importlib wsgiref \
+ + logging csv importlib wsgiref \
+- ctypes ctypes/macholib idlelib idlelib/Icons \
++ ctypes ctypes/macholib idlelib idlelib/Icons \
+ distutils distutils/command \
+ multiprocessing multiprocessing/dummy \
+-@@ -868,7 +868,6 @@
+- test/decimaltestdata test/xmltestdata \
+- test/tracedmodules \
+- email/test email/test/data \
+-- bsddb/test \
+- ctypes/test distutils/tests \
+- unittest/test
++@@ -873,7 +873,7 @@
++ LIBSUBDIRS += test test/data \
++ test/cjkencodings test/decimaltestdata test/xmltestdata test/subprocessdata \
++ test/tracedmodules email/test email/test/data \
++- json/tests sqlite3/test bsddb/test \
+++ json/tests sqlite3/test \
++ ctypes/test distutils/tests unittest/test
+ endif
+-@@ -910,6 +909,13 @@
++
++@@ -914,6 +914,13 @@
+ LIBSUBDIRS += $(XMLLIBSUBDIRS)
+ endif
+
+@@ -46,11 +47,11 @@
+ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
+ @for i in $(SCRIPTDIR) $(LIBDEST); \
+ do \
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2421,6 +2421,28 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2436,6 +2436,28 @@
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
+ fi])
+
+diff -urN buildroot/package/python/python-2.7-111-optional-ssl.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-111-optional-ssl.patch
+--- buildroot/package/python/python-2.7-111-optional-ssl.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-111-optional-ssl.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -6,11 +6,11 @@
+ configure.in | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2421,6 +2421,12 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2436,6 +2436,12 @@
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
+ fi])
+
+diff -urN buildroot/package/python/python-2.7-112-optional-bzip2.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-112-optional-bzip2.patch
+--- buildroot/package/python/python-2.7-112-optional-bzip2.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-112-optional-bzip2.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -5,11 +5,11 @@
+ configure.in | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2427,6 +2427,12 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2442,6 +2442,12 @@
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl"
+ fi])
+
+diff -urN buildroot/package/python/python-2.7-113-optional-zlib.patch /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-113-optional-zlib.patch
+--- buildroot/package/python/python-2.7-113-optional-zlib.patch 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python-2.7-113-optional-zlib.patch 2011-09-30 17:12:38.000000000 +0200
+@@ -5,11 +5,11 @@
+ configure.in | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+-Index: Python-2.7.1/configure.in
++Index: Python-2.7.2/configure.in
+ ===================================================================
+---- Python-2.7.1.orig/configure.in
+-+++ Python-2.7.1/configure.in
+-@@ -2433,6 +2433,12 @@
++--- Python-2.7.2.orig/configure.in
+++++ Python-2.7.2/configure.in
++@@ -2448,6 +2448,12 @@
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bz2"
+ fi])
+
+diff -urN buildroot/package/python/python.mk /home/julien/workspace/buildroot_git_dev/package/python/python.mk
+--- buildroot/package/python/python.mk 2011-05-27 16:18:21.000000000 +0200
++++ /home/julien/workspace/buildroot_git_dev/package/python/python.mk 2012-01-10 16:28:47.000000000 +0100
+@@ -4,7 +4,7 @@
+ #
+ #############################################################
+ PYTHON_VERSION_MAJOR = 2.7
+-PYTHON_VERSION = $(PYTHON_VERSION_MAJOR).1
++PYTHON_VERSION = $(PYTHON_VERSION_MAJOR).2
+ PYTHON_SOURCE = Python-$(PYTHON_VERSION).tar.bz2
+ PYTHON_SITE = http://python.org/ftp/python/$(PYTHON_VERSION)
+
+@@ -28,7 +28,6 @@
+ --disable-bsddb \
+ --disable-test-modules \
+ --disable-bz2 \
+- --disable-zlib \
+ --disable-ssl
+
+ HOST_PYTHON_MAKE_ENV = \
+@@ -37,9 +36,22 @@
+
+ HOST_PYTHON_AUTORECONF = YES
+
++define HOST_PYTHON_CONFIGURE_CMDS
++ (cd $(@D) && rm -rf config.cache; \
++ $(HOST_CONFIGURE_OPTS) \
++ CFLAGS="$(HOST_CFLAGS)" \
++ LDFLAGS="$(HOST_LDFLAGS)" \
++ $(HOST_PYTHON_CONF_ENV) \
++ ./configure \
++ --prefix="$(HOST_DIR)/usr" \
++ --sysconfdir="$(HOST_DIR)/etc" \
++ $(HOST_PYTHON_CONF_OPT) \
++ )
++endef
++
+ PYTHON_DEPENDENCIES = host-python libffi
+
+-HOST_PYTHON_DEPENDENCIES = host-expat
++HOST_PYTHON_DEPENDENCIES = host-expat host-zlib
+
+ PYTHON_INSTALL_STAGING = YES
+
diff --git a/patche...
[truncated message content] |