[meta-oe,1/7] python-pygobject: Fix invalid install path

Submitted by Niko Mauno on Dec. 1, 2018, 5:57 p.m. | Patch ID: 156781


Message ID 20181201175714.119435-1-niko.mauno@iki.fi
State Accepted
Commit 500434ccbaba7e9ab617f269f67bd42b7076c16e
Headers show

Commit Message

Niko Mauno Dec. 1, 2018, 5:57 p.m.
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>
 meta-oe/recipes-devtools/python/python-pygobject_3.28.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
-inherit autotools pkgconfig gnomebase distutils-base gobject-introspection
+inherit autotools pkgconfig gnomebase gobject-introspection distutils-base
 PYTHON_PN = "python"