summaryrefslogtreecommitdiffstats
path: root/package/python3/0023-Add-an-option-to-disable-IDLE.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-02-05 07:08:42 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-02-05 07:08:42 +0100
commite2c03d54bb11a405255e8a2a0bbb22a7ac80d512 (patch)
treec7cb8a044450b565f4988af164f31986007c6ff3 /package/python3/0023-Add-an-option-to-disable-IDLE.patch
parent9385bc05208397feefb68518b31d560b2d6dee6c (diff)
downloadbuildroot-e2c03d54bb11a405255e8a2a0bbb22a7ac80d512.tar.gz
buildroot-e2c03d54bb11a405255e8a2a0bbb22a7ac80d512.zip
Revert "python3: bump to 2.6.4"
This reverts commit 233202597d9411399aeaded2f9a7cd14f2e29833, which causes a lot of build failures. Part of the Python build process tries to use os.replace(), which is only available since Python 3.3. It should work if the host-python being built was used, but unfortunately the system Python ends up being used, causing the build failure. Fixes: http://autobuild.buildroot.net/results/ed95a7ded6bd6c17bd0820b3a96862487b71eb2b/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python3/0023-Add-an-option-to-disable-IDLE.patch')
-rw-r--r--package/python3/0023-Add-an-option-to-disable-IDLE.patch10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/python3/0023-Add-an-option-to-disable-IDLE.patch b/package/python3/0023-Add-an-option-to-disable-IDLE.patch
index a1913d54de..da77c44899 100644
--- a/package/python3/0023-Add-an-option-to-disable-IDLE.patch
+++ b/package/python3/0023-Add-an-option-to-disable-IDLE.patch
@@ -9,8 +9,6 @@ much sense to have it into our build.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
[ Andrey Smirnov: ported to Python 3.6 ]
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
-[aduskett@gmail.com: Update for python 3.6.4]
-Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
Makefile.pre.in | 7 ++++++-
configure.ac | 6 ++++++
@@ -21,7 +19,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in
index dc4b92b6fe..3e43066d90 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -1194,7 +1194,9 @@ bininstall: altbininstall
+@@ -1162,7 +1162,9 @@ bininstall: altbininstall
-rm -f $(DESTDIR)$(LIBPC)/python3.pc
(cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python3.pc)
-rm -f $(DESTDIR)$(BINDIR)/idle3
@@ -31,7 +29,7 @@ index dc4b92b6fe..3e43066d90 100644
-rm -f $(DESTDIR)$(BINDIR)/pydoc3
ifeq (@PYDOC@,yes)
(cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3)
-@@ -1239,7 +1241,6 @@ LIBSUBDIRS= site-packages \
+@@ -1207,7 +1209,6 @@ LIBSUBDIRS= site-packages \
html json http dbm xmlrpc \
logging csv wsgiref urllib \
ctypes ctypes/macholib \
@@ -39,7 +37,7 @@ index dc4b92b6fe..3e43066d90 100644
distutils distutils/command \
importlib \
turtledemo \
-@@ -1309,6 +1310,10 @@ ifeq (@EXPAT@,yes)
+@@ -1275,6 +1276,10 @@ ifeq (@EXPAT@,yes)
LIBSUBDIRS += $(XMLLIBSUBDIRS)
endif
@@ -71,7 +69,7 @@ diff --git a/setup.py b/setup.py
index 38aa5e605e..d642825c1e 100644
--- a/setup.py
+++ b/setup.py
-@@ -2324,11 +2324,13 @@ def main():
+@@ -2282,11 +2282,13 @@ def main():
import warnings
warnings.filterwarnings("ignore",category=DeprecationWarning)
OpenPOWER on IntegriCloud