]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3: Fix distutils import error
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>
Thu, 14 May 2015 16:21:00 +0000 (16:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Jun 2015 16:32:43 +0000 (17:32 +0100)
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@linux.intel.com>
meta/recipes-devtools/python/python3_3.4.3.bb

index 5ef17e639970bb3b5030bccc5a51531fdcb35465..4bab4db81ba9e6a65839bfce9662b74c657a8060 100644 (file)
@@ -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 \