[oe-commits] Alejandro Hernandez : python3: Fix distutils import error

git at git.openembedded.org git at git.openembedded.org
Mon Jun 8 16:34:48 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: e4dd43cb88a582e4b5116c499ea8131539a3c5b9
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e4dd43cb88a582e4b5116c499ea8131539a3c5b9

Author: Alejandro Hernandez <alejandro.hernandez at linux.intel.com>
Date:   Thu May 14 16:21:00 2015 +0000

python3: Fix distutils import error

The patch 12-distutils-prefix-is-inside-staging-area.patch is used
to fix problems when trying to get some environmental variables
but it is only necessary for python3-native, on python3-core it
causes an error when importing distutils since env variables of
the likes of HOST_SYS and such do not exist on target, this removes
the patch from python3-core so distutils can be imported correctly.

[YOCTO #7766]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez at linux.intel.com>

---

 meta/recipes-devtools/python/python3_3.4.3.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python3_3.4.3.bb b/meta/recipes-devtools/python/python3_3.4.3.bb
index 5ef17e6..4bab4db 100644
--- a/meta/recipes-devtools/python/python3_3.4.3.bb
+++ b/meta/recipes-devtools/python/python3_3.4.3.bb
@@ -7,7 +7,6 @@ PYTHON_BINABI= "${PYTHON_MAJMIN}m"
 DISTRO_SRC_URI ?= "file://sitecustomize.py"
 DISTRO_SRC_URI_linuxstdbase = ""
 SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \
-file://12-distutils-prefix-is-inside-staging-area.patch \
 file://python-config.patch \
 file://000-cross-compile.patch \
 file://020-dont-compile-python-files.patch \



More information about the Openembedded-commits mailing list