mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 22:35:25 +01:00
python-pygobject: move python-setuptools from RDEPENDS to DEPENDS
python-setuptools is necessary to build pygobject but not to run it, as also documented by the upstream packaging guide: https://gitlab.gnome.org/GNOME/pygobject/blob/master/docs/packagingguide.rst Move it to DEPENDS to shrink the runtime dependency chain, as setuptools includes scripts to download other packages, which might not be desired on a minimal image. Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
85feefecac
commit
f8e1d0c176
|
|
@ -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 glib-2.0"
|
||||
DEPENDS += "python python-setuptools glib-2.0"
|
||||
|
||||
SRCNAME = "pygobject"
|
||||
SRC_URI = " \
|
||||
|
|
@ -30,7 +30,6 @@ PACKAGECONFIG[python] = "-Dpython=python3, -Dpython=python2, , "
|
|||
PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , "
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
RDEPENDS_${PN} = "python-setuptools"
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
|
||||
do_install_append() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user