diff --git a/meta/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch b/meta/recipes-devtools/python/python3-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch similarity index 100% rename from meta/recipes-devtools/python/python-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch rename to meta/recipes-devtools/python/python3-pygobject/0001-configure.ac-add-sysroot-path-to-GI_DATADIR-don-t-se.patch diff --git a/meta/recipes-devtools/python/python-pygobject_3.18.2.bb b/meta/recipes-devtools/python/python3-pygobject_3.18.2.bb similarity index 72% rename from meta/recipes-devtools/python/python-pygobject_3.18.2.bb rename to meta/recipes-devtools/python/python3-pygobject_3.18.2.bb index 00c50795a1..4ddae81f29 100644 --- a/meta/recipes-devtools/python/python-pygobject_3.18.2.bb +++ b/meta/recipes-devtools/python/python3-pygobject_3.18.2.bb @@ -3,9 +3,9 @@ SECTION = "devel/python" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7" -inherit autotools pkgconfig gnomebase distutils-base gobject-introspection +inherit autotools pkgconfig gnomebase distutils3-base gobject-introspection -DEPENDS += "python glib-2.0" +DEPENDS += "python3 glib-2.0" SRCNAME="pygobject" SRC_URI = " \ @@ -20,6 +20,6 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" BBCLASSEXTEND = "native" -EXTRA_OECONF = "--disable-cairo --with-python=python2.7" +EXTRA_OECONF = "--disable-cairo" -RDEPENDS_${PN} += "python-setuptools python-importlib" +RDEPENDS_${PN} += "python3-setuptools python3-importlib"