diff options
| author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2017-09-18 15:34:41 -0700 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2017-09-20 19:53:42 +0200 |
| commit | 6e6e8d37b549033c9dc2ac21ed600708a890894f (patch) | |
| tree | 9cf2df0ab3b7c65a506bb179dc211368b46d5ec3 /package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch | |
| parent | 847048c58d3639b7646eea1ef17ad42d6a68798d (diff) | |
| download | buildroot-6e6e8d37b549033c9dc2ac21ed600708a890894f.tar.gz buildroot-6e6e8d37b549033c9dc2ac21ed600708a890894f.zip | |
package/python3: bump to 3.6.2
Bump Python3 version to 3.6.2.
Patches dropped:
"Support PGEN_FOR_BUILD and FREEZE_IMPORTLIB_FOR_BUILD"
Rationale: With commit 9d02f562961efd12d3c8317a10916db7f77330cc, code
generation step of building CPython now became explicit (instead of
always performed as a part of 'make' invocation) and more granular. We
no longer need to use Parser/pgen at all and tricking the build system
into using different Programs/_freeze_importlib can be done as a part
of recipe.
Additional info about the build change can be found at
https://bugs.python.org/issue23404
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch')
| -rw-r--r-- | package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch b/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch index bf8cd925bc..76555d290f 100644 --- a/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch +++ b/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch @@ -1,4 +1,4 @@ -From 300143451b42717eb05fc8b876f25ff4b202d8c4 Mon Sep 17 00:00:00 2001 +From 2c2afc80831c518e5daf3df6c9e4c4ac0a7be001 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Date: Wed, 22 Feb 2017 16:33:22 -0800 Subject: [PATCH] Add infrastructure to disable the build of certain extensions @@ -44,10 +44,10 @@ Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index b78a765..0e06ddb 100644 +index b38bd79121..4ce917ab8d 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -188,6 +188,8 @@ FILEMODE= 644 +@@ -190,6 +190,8 @@ FILEMODE= 644 # configure script arguments CONFIG_ARGS= @CONFIG_ARGS@ @@ -56,7 +56,7 @@ index b78a765..0e06ddb 100644 # Subdirectories with code SRCDIRS= @SRCDIRS@ -@@ -606,6 +608,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o +@@ -575,6 +577,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o esac; \ $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ @@ -64,7 +64,7 @@ index b78a765..0e06ddb 100644 $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build -@@ -1433,7 +1436,8 @@ libainstall: all python-config +@@ -1436,7 +1439,8 @@ libainstall: @DEF_MAKE_RULE@ python-config # Install the dynamically loadable modules # This goes into $(exec_prefix) sharedinstall: sharedmods @@ -75,10 +75,10 @@ index b78a765..0e06ddb 100644 --install-scripts=$(BINDIR) \ --install-platlib=$(DESTSHARED) \ diff --git a/configure.ac b/configure.ac -index 250b23b..fc4e71a 100644 +index 5f87c4db5a..d5ee2aedfb 100644 --- a/configure.ac +++ b/configure.ac -@@ -2779,6 +2779,8 @@ LIBS="$withval $LIBS" +@@ -2810,6 +2810,8 @@ LIBS="$withval $LIBS" PKG_PROG_PKG_CONFIG @@ -88,7 +88,7 @@ index 250b23b..fc4e71a 100644 AC_MSG_CHECKING(for --with-system-expat) AC_ARG_WITH(system_expat, diff --git a/setup.py b/setup.py -index f04bf22..c5bce21 100644 +index fe477974bd..86643ae8bf 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,11 @@ host_platform = get_platform() @@ -105,5 +105,5 @@ index f04bf22..c5bce21 100644 def add_dir_to_list(dirlist, dir): """Add the directory 'dir' to the list 'dirlist' (after any relative -- -2.9.3 +2.13.5 |

