From 9badea2d058a75182f2a37bbefa0aaf48020575d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 28 Dec 2014 21:54:54 +0100 Subject: python: bump to 2.7.9 In addition to doing the bump, this commit also: - Refreshes all the patches - Removes python-003-properly-detect-if-python-build.patch, which has been applied upstream. - Passes the --without-ensurepip option, like is done in Python 3, to avoid having Python use PIP to automatically download stuff when it is being built. - PYTHON_LIBTOOL_PATH = NO is added to prevent Buildroot from trying to patch a version of libtool for which we don't have matching patches, which isn't a problem since we're anyway not using the part of the Python sources that uses libtool (it's the built-in copy of libffi, and we use the external libffi). Signed-off-by: Thomas Petazzoni Tested-by: "Yann E. MORIN" Reviewed-by: "Yann E. MORIN" --- package/python/python-101-optional-pydoc.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'package/python/python-101-optional-pydoc.patch') diff --git a/package/python/python-101-optional-pydoc.patch b/package/python/python-101-optional-pydoc.patch index cb8631affd..d5dc3d72f9 100644 --- a/package/python/python-101-optional-pydoc.patch +++ b/package/python/python-101-optional-pydoc.patch @@ -16,7 +16,7 @@ Index: b/Makefile.pre.in =================================================================== --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -941,7 +941,7 @@ +@@ -974,7 +974,7 @@ multiprocessing multiprocessing/dummy \ unittest \ lib-old \ @@ -24,8 +24,8 @@ Index: b/Makefile.pre.in + curses $(MACHDEPS) TESTSUBDIRS = lib-tk/test lib-tk/test/test_tkinter \ - lib-tk/test/test_ttk test test/audiodata test/data \ -@@ -964,6 +964,10 @@ + lib-tk/test/test_ttk test test/audiodata test/capath test/data \ +@@ -997,6 +997,10 @@ LIBSUBDIRS += $(TESTSUBDIRS) endif @@ -40,7 +40,7 @@ Index: b/configure.ac =================================================================== --- a/configure.ac +++ b/configure.ac -@@ -2624,6 +2624,11 @@ +@@ -2627,6 +2627,11 @@ AC_CHECK_FUNCS(pthread_atfork) fi @@ -56,7 +56,7 @@ Index: b/setup.py =================================================================== --- a/setup.py +++ b/setup.py -@@ -2219,6 +2219,12 @@ +@@ -2222,6 +2222,12 @@ # turn off warnings when deprecated modules are imported import warnings warnings.filterwarnings("ignore",category=DeprecationWarning) @@ -69,7 +69,7 @@ Index: b/setup.py setup(# PyPI Metadata (PEP 301) name = "Python", version = sys.version.split()[0], -@@ -2239,9 +2245,7 @@ +@@ -2242,9 +2248,7 @@ ext_modules=[Extension('_struct', ['_struct.c'])], # Scripts to install -- cgit v1.2.3