summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/python
diff options
context:
space:
mode:
authorNiko Mauno <niko.mauno@iki.fi>2018-12-01 19:57:08 +0200
committerKhem Raj <raj.khem@gmail.com>2018-12-02 11:05:02 -0800
commit500434ccbaba7e9ab617f269f67bd42b7076c16e (patch)
tree1542752e39c02215135686b34e0a780c3132f81d /meta-oe/recipes-devtools/python
parent331b717b862e3599b99942acb64c1d6b03806042 (diff)
downloadmeta-openembedded-500434ccbaba7e9ab617f269f67bd42b7076c16e.tar.gz
python-pygobject: Fix invalid install path
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=1dccb37d89f54d7284b6a81957ab228906f24e1c has replaced PYTHON_PN references with hardcoded 'python' and 'python3' strings in pythonnative.bbclass and python3native.bbclass, respectively. Associated commit message states: "If both are inherited then both native Pythons are available, but the last to be inherited will be the one to set PYTHON." Since after the above-mentioned commit this Pythonv2 recipe installs wrongly into /usr/lib/python3.5/ directory, move inherit of distutils-base.bbclass (which inherits pythonnative.bbclass) to right hand side of gobject-introspection.bbclass (which inherits python3native.bbclass) which changes the install path back to /usr/lib/python2.7/ mitigating the issue. Signed-off-by: Niko Mauno <niko.mauno@iki.fi> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/python')
-rw-r--r--meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
index c444fbf05..70c7b9eb5 100644
--- a/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
+++ b/meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb
@@ -4,7 +4,7 @@ SECTION = "devel/python"
4LICENSE = "LGPLv2.1" 4LICENSE = "LGPLv2.1"
5LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" 5LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
6 6
7inherit autotools pkgconfig gnomebase distutils-base gobject-introspection 7inherit autotools pkgconfig gnomebase gobject-introspection distutils-base
8 8
9PYTHON_BASEVERSION = "2.7" 9PYTHON_BASEVERSION = "2.7"
10PYTHON_PN = "python" 10PYTHON_PN = "python"