summaryrefslogtreecommitdiffstats
path: root/package/python3/0003-Make-the-build-of-pyc-files-conditional.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-08 00:00:29 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-09 22:35:30 +0100
commit63aeae6538770ab7f4eb048373b2e8d99c26d4c5 (patch)
tree47eb9da38f1747493ba5be0dcbd232314e55af22 /package/python3/0003-Make-the-build-of-pyc-files-conditional.patch
parent3c98442669f173818a8cce9479ebb0806cb9f8a2 (diff)
downloadbuildroot-63aeae6538770ab7f4eb048373b2e8d99c26d4c5.tar.gz
buildroot-63aeae6538770ab7f4eb048373b2e8d99c26d4c5.zip
python3: refresh Git formatted patches
This refreshes the set of python3 patches so they apply cleanly on the v3.5.2 tag of cpython Github repository. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python3/0003-Make-the-build-of-pyc-files-conditional.patch')
-rw-r--r--package/python3/0003-Make-the-build-of-pyc-files-conditional.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/python3/0003-Make-the-build-of-pyc-files-conditional.patch b/package/python3/0003-Make-the-build-of-pyc-files-conditional.patch
index 3251da5f3e..8ab09c09e8 100644
--- a/package/python3/0003-Make-the-build-of-pyc-files-conditional.patch
+++ b/package/python3/0003-Make-the-build-of-pyc-files-conditional.patch
@@ -1,4 +1,4 @@
-From 28f81597314ea3ed03935b519453a55cf6c3c20d Mon Sep 17 00:00:00 2001
+From 5df8e9556e8026dd19cf932fa8f2b726f56182d1 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Date: Wed, 23 Dec 2015 11:29:35 +0100
Subject: [PATCH] Make the build of pyc files conditional
@@ -13,10 +13,10 @@ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2 files changed, 8 insertions(+)
diff --git a/Makefile.pre.in b/Makefile.pre.in
-index 4d2a061..272f312 100644
+index 5a258e0..6a7d974 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
-@@ -1283,6 +1283,7 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
+@@ -1309,6 +1309,7 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
$(DESTDIR)$(LIBDEST)/distutils/tests ; \
fi
@@ -24,7 +24,7 @@ index 4d2a061..272f312 100644
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
-d $(LIBDEST) -f \
-@@ -1310,6 +1311,7 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
+@@ -1336,6 +1337,7 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
$(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
-d $(LIBDEST)/site-packages -f \
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
@@ -33,10 +33,10 @@ index 4d2a061..272f312 100644
$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
diff --git a/configure.ac b/configure.ac
-index 76b70a0..66d4642 100644
+index 8d0a43b..db0e336 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -1056,6 +1056,12 @@ fi
+@@ -1074,6 +1074,12 @@ fi
AC_MSG_CHECKING(LDLIBRARY)
@@ -50,5 +50,5 @@ index 76b70a0..66d4642 100644
# library that we build, but we do not want to link against it (we
# will find it with a -framework option). For this reason there is an
--
-2.6.4
+2.7.4
OpenPOWER on IntegriCloud