[oe-commits] [meta-openembedded] 20/20: python-pygobject: remove build-dependency on setuptools and add dependency on pkgutil

git at git.openembedded.org git at git.openembedded.org
Wed Aug 14 23:04:39 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit e7b450445b64dcc9377ed2f70e5be386da011263
Author: Luca Boccassi <luca.boccassi at microsoft.com>
AuthorDate: Wed Aug 14 11:55:55 2019 +0100

    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: f8e1d0c17658 ("python-pygobject: move python-setuptools from RDEPENDS to DEPENDS")
    
    Signed-off-by: Luca Boccassi <luca.boccassi at microsoft.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb b/meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb
index 9c175e6..0ea70b2 100644
--- a/meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb
+++ b/meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
 GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gobject-introspection distutils-base upstream-version-is-even
 
-DEPENDS += "python python-setuptools glib-2.0"
+DEPENDS += "python glib-2.0"
 
 SRCNAME = "pygobject"
 SRC_URI = " \
@@ -30,6 +30,7 @@ PACKAGECONFIG[python] = "-Dpython=python3, -Dpython=python2, , "
 PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , "
 
 BBCLASSEXTEND = "native"
+RDEPENDS_${PN} = "python-pkgutil"
 RDEPENDS_${PN}_class-native = ""
 
 do_install_append() {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list