Skip to contentSkip to conversation

python3: update target and native recipes to 3.5.4

PATCH New Derek Straka 1 participant 1 message Jan 30, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: update target and native recipes to 3.5.4

Use the latest 3.5 version until the 3.6 migration is complete

Removed the following upstreamed patches:
- python3/Fix-29519-weakref-spewing-exceptions-during-interp-f.patch
- python3/upstream-random-fixes.patch

Rebased the following pathes:
- python3/0001-cross-compile-support.patch

Regenerated the manifest based on the latest release version

Updated the license checksum for the latest version that updated the copyright dates

---
 ...on3-native_3.5.3.bb => python3-native_3.5.4.bb} |  12 +-
 .../python3/0001-cross-compile-support.patch       |  69 +-
 ...eakref-spewing-exceptions-during-interp-f.patch |  56 --
 .../python/python3/python3-manifest.json           |   8 +-
 .../python/python3/upstream-random-fixes.patch     | 703 ---------------------
 .../python/{python3_3.5.3.bb => python3_3.5.4.bb}  |   8 +-
 6 files changed, 52 insertions(+), 804 deletions(-)
 rename meta/recipes-devtools/python/{python3-native_3.5.3.bb => python3-native_3.5.4.bb} (90%)
 delete mode 100644 meta/recipes-devtools/python/python3/Fix-29519-weakref-spewing-exceptions-during-interp-f.patch
 delete mode 100644 meta/recipes-devtools/python/python3/upstream-random-fixes.patch
 rename meta/recipes-devtools/python/{python3_3.5.3.bb => python3_3.5.4.bb} (97%)
meta/recipes-devtools/python/python3-native_3.5.4.bb renamed from meta/recipes-devtools/python/python3-native_3.5.3.bb +9 -3
similarity index 90%
rename from meta/recipes-devtools/python/python3-native_3.5.3.bb
rename to meta/recipes-devtools/python/python3-native_3.5.4.bb
index 12f9f24..c825253 100644
@@ -27,10 +27,10 @@ file://0001-Do-not-use-the-shell-version-of-python-config-that-w.patch \
 file://support_SOURCE_DATE_EPOCH_in_py_compile.patch \
 "
 
-SRC_URI[md5sum] = "57d1f8bfbabf4f2500273fb0706e6f21"
-SRC_URI[sha256sum] = "eefe2ad6575855423ab630f5b51a8ef6e5556f774584c06beab4926f930ddbb0"
+SRC_URI[md5sum] = "fb2780baa260b4e51cbea814f111f303"
+SRC_URI[sha256sum] = "94d93bfabb3b109f8a10365a325f920f9ec98c6e2380bf228f9700a14054c84c"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b680ed99aa60d350c65a65914494207e"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f741e51de91d4eeea5930b9c3c7fa69d"
 
 # exclude pre-releases for both python 2.x and 3.x
 UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
@@ -61,6 +61,12 @@ do_configure_append() {
 	sed -i -e 's,#define HAVE_GETRANDOM 1,/\* #undef HAVE_GETRANDOM \*/,' ${B}/pyconfig.h
 }
 
+# Regenerate all of the generated files
+# This ensures that pgen and friends get created during the compile phase
+do_compile_prepend() {
+    oe_runmake regen-all
+}
+
 do_install() {
 	install -d ${D}${libdir}/pkgconfig
 	oe_runmake 'DESTDIR=${D}' install
meta/recipes-devtools/python/python3/0001-cross-compile-support.patch +36 -33

124 lines not on this page · raw message

meta/recipes-devtools/python/python3/Fix-29519-weakref-spewing-exceptions-during-interp-f.patch deleted +0 -56

56 lines not on this page · raw message

meta/recipes-devtools/python/python3/python3-manifest.json +4 -4
index 5b7b70b..b117569 100644
@@ -797,17 +797,17 @@
     },
     "numbers": {
         "cached": [
+            "${libdir}/python3.5/__pycache__/_pydecimal.*.pyc",
             "${libdir}/python3.5/__pycache__/decimal.*.pyc",
             "${libdir}/python3.5/__pycache__/fractions.*.pyc",
-            "${libdir}/python3.5/__pycache__/numbers.*.pyc",
-            "${libdir}/python3.5/__pycache__/_pydecimal.*.pyc"
+            "${libdir}/python3.5/__pycache__/numbers.*.pyc"
         ],
         "files": [
+            "${libdir}/python3.5/_pydecimal.py",
             "${libdir}/python3.5/decimal.py",
             "${libdir}/python3.5/fractions.py",
             "${libdir}/python3.5/lib-dynload/_decimal.*.so",
-            "${libdir}/python3.5/numbers.py",
-            "${libdir}/python3.5/_pydecimal.py"
+            "${libdir}/python3.5/numbers.py"
         ],
         "rdepends": [
             "core"
meta/recipes-devtools/python/python3/upstream-random-fixes.patch deleted +0 -703

703 lines not on this page · raw message

meta/recipes-devtools/python/python3_3.5.4.bb renamed from meta/recipes-devtools/python/python3_3.5.3.bb +3 -5
similarity index 97%
rename from meta/recipes-devtools/python/python3_3.5.3.bb
rename to meta/recipes-devtools/python/python3_3.5.4.bb
index 3ae0db2..4c7a225 100644
@@ -35,15 +35,13 @@ SRC_URI += "\
             file://sysconfig.py-add-_PYTHON_PROJECT_SRC.patch \
             file://setup.py-check-cross_compiling-when-get-FLAGS.patch \
             file://configure.ac-fix-LIBPL.patch \
-            file://upstream-random-fixes.patch \
             file://0001-Issue-21272-Use-_sysconfigdata.py-to-initialize-dist.patch \
-            file://Fix-29519-weakref-spewing-exceptions-during-interp-f.patch \
             file://pass-missing-libraries-to-Extension-for-mul.patch \
            "
-SRC_URI[md5sum] = "57d1f8bfbabf4f2500273fb0706e6f21"
-SRC_URI[sha256sum] = "eefe2ad6575855423ab630f5b51a8ef6e5556f774584c06beab4926f930ddbb0"
+SRC_URI[md5sum] = "fb2780baa260b4e51cbea814f111f303"
+SRC_URI[sha256sum] = "94d93bfabb3b109f8a10365a325f920f9ec98c6e2380bf228f9700a14054c84c"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b680ed99aa60d350c65a65914494207e"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f741e51de91d4eeea5930b9c3c7fa69d"
 
 # exclude pre-releases for both python 2.x and 3.x
 UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
Signature · 1 line
2.7.4