mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
python-pygobject: remove build-dependency on setuptools and add dependency on pkgutil
Sync python-pygobject recipe with poky's python3-pygobject:
Setuptools is not a mandatory build-dependency, so remove it.
Pkgutil from the core library is needed at runtime, so add a
dependency on it.
Fixes: f8e1d0c176 ("python-pygobject: move python-setuptools from RDEPENDS to DEPENDS")
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
|
|||||||
GNOMEBASEBUILDCLASS = "meson"
|
GNOMEBASEBUILDCLASS = "meson"
|
||||||
inherit gnomebase gobject-introspection distutils-base upstream-version-is-even
|
inherit gnomebase gobject-introspection distutils-base upstream-version-is-even
|
||||||
|
|
||||||
DEPENDS += "python python-setuptools glib-2.0"
|
DEPENDS += "python glib-2.0"
|
||||||
|
|
||||||
SRCNAME = "pygobject"
|
SRCNAME = "pygobject"
|
||||||
SRC_URI = " \
|
SRC_URI = " \
|
||||||
@@ -30,6 +30,7 @@ PACKAGECONFIG[python] = "-Dpython=python3, -Dpython=python2, , "
|
|||||||
PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , "
|
PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , "
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
BBCLASSEXTEND = "native"
|
||||||
|
RDEPENDS_${PN} = "python-pkgutil"
|
||||||
RDEPENDS_${PN}_class-native = ""
|
RDEPENDS_${PN}_class-native = ""
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
|
|||||||
Reference in New Issue
Block a user