Skip to contentSkip to conversation

python3: forward-port a few patches from 3.5.6

PATCH New Alexander Kanavin 1 participant 1 message Feb 7, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: forward-port a few patches from 3.5.6

There were a few other patches where it was difficult to decide if the patch is still relevant, and how to test that it works correctly; please add those as-needed by testing the new python.

---
 ...fig-append-STAGING_LIBDIR-python-sys.patch |   2 +-
 ...asename-to-replace-CC-for-checking-c.patch | 120 +++++++++++
 ...runtime-test-to-get-float-byte-order.patch | 199 ++++++++++++++++++
 ...ssing-libraries-to-Extension-for-mul.patch |  80 +++++++
 ...tutils-prefix-is-inside-staging-area.patch |   2 +-
 .../python-sanity/python3_3.7.2.bb            |   3 +
 6 files changed, 404 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-devtools/python-sanity/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
 create mode 100644 meta/recipes-devtools/python-sanity/python3/0002-Don-t-do-runtime-test-to-get-float-byte-order.patch
 create mode 100644 meta/recipes-devtools/python-sanity/python3/0003-setup.py-pass-missing-libraries-to-Extension-for-mul.patch
meta/recipes-devtools/python-sanity/python3/0001-distutils-sysconfig-append-STAGING_LIBDIR-python-sys.patch +1 -1
index 56f7f713112..8083345a4e0 100644
@@ -1,4 +1,4 @@
-From 5b2885fd3eaf05b4397385195872d4ec8240a47c Mon Sep 17 00:00:00 2001
+From 4865615a2bc2b78c739e4c33f536712c7f9af061 Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
 Date: Thu, 31 Jan 2019 16:46:30 +0100
 Subject: [PATCH] distutils/sysconfig: append
meta/recipes-devtools/python-sanity/python3/0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch new file +120 -0

120 lines not on this page · raw message

meta/recipes-devtools/python-sanity/python3/0002-Don-t-do-runtime-test-to-get-float-byte-order.patch new file +199 -0

199 lines not on this page · raw message

meta/recipes-devtools/python-sanity/python3/0003-setup.py-pass-missing-libraries-to-Extension-for-mul.patch new file +80 -0

80 lines not on this page · raw message

meta/recipes-devtools/python-sanity/python3/12-distutils-prefix-is-inside-staging-area.patch +1 -1
index 28c9cc93c03..dcc0932c7f2 100644
@@ -1,4 +1,4 @@
-From 58ad4e8033f5b1c1b6e4a5ab0d262b29451d49e8 Mon Sep 17 00:00:00 2001
+From 1397979ee445ff6826aa5469511e003539f77bb2 Mon Sep 17 00:00:00 2001
 From: Khem Raj <[email protected]>
 Date: Tue, 14 May 2013 15:00:26 -0700
 Subject: [PATCH] python3: Add target and native recipes
meta/recipes-devtools/python-sanity/python3_3.7.2.bb +3 -0
index 31da9944e77..e05ab42b0ca 100644
@@ -18,6 +18,9 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
            file://python-config.patch \
            file://0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch \
            file://0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch \
+           file://0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch \
+           file://0002-Don-t-do-runtime-test-to-get-float-byte-order.patch \
+           file://0003-setup.py-pass-missing-libraries-to-Extension-for-mul.patch \
            "
 
 SRC_URI_append_class-native = " \
Signature · 1 line
2.17.1