diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2019-08-05 12:03:08 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-08-05 17:55:36 -0700 |
commit | f8e1d0c17658d1b41d201c63b285d10d9aa8cfc6 (patch) | |
tree | 6306055e3ef8dabe65da303086fda78d7a6cbfb7 /meta-oe/recipes-devtools/python | |
parent | 85feefecac549b4ddaae9727ec98a9fd9f0b457c (diff) | |
download | meta-openembedded-f8e1d0c17658d1b41d201c63b285d10d9aa8cfc6.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-devtools/python')
-rw-r--r-- | meta-oe/recipes-devtools/python/python-pygobject_3.32.2.bb | 3 |
1 files changed, 1 insertions, 2 deletions
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 4d26a78ae..9c175e682 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" | |||
7 | GNOMEBASEBUILDCLASS = "meson" | 7 | GNOMEBASEBUILDCLASS = "meson" |
8 | inherit gnomebase gobject-introspection distutils-base upstream-version-is-even | 8 | inherit gnomebase gobject-introspection distutils-base upstream-version-is-even |
9 | 9 | ||
10 | DEPENDS += "python glib-2.0" | 10 | DEPENDS += "python python-setuptools glib-2.0" |
11 | 11 | ||
12 | SRCNAME = "pygobject" | 12 | SRCNAME = "pygobject" |
13 | SRC_URI = " \ | 13 | SRC_URI = " \ |
@@ -30,7 +30,6 @@ PACKAGECONFIG[python] = "-Dpython=python3, -Dpython=python2, , " | |||
30 | PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , " | 30 | PACKAGECONFIG[stagedir] = "-Dstagedir=${PYTHON_SITEPACKAGES_DIR}, -Dstagedir="", , " |
31 | 31 | ||
32 | BBCLASSEXTEND = "native" | 32 | BBCLASSEXTEND = "native" |
33 | RDEPENDS_${PN} = "python-setuptools" | ||
34 | RDEPENDS_${PN}_class-native = "" | 33 | RDEPENDS_${PN}_class-native = "" |
35 | 34 | ||
36 | do_install_append() { | 35 | do_install_append() { |