Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] python3-pygobject: move python3-setuptools from RDEPENDS to DEPENDS
@ 2019-08-05 10:52 luca.boccassi
  2019-08-05 11:32 ` Ross Burton
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: luca.boccassi @ 2019-08-05 10:52 UTC (permalink / raw)
  To: openembedded-core

From: Luca Boccassi <luca.boccassi@microsoft.com>

python3-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>
---
 meta/recipes-devtools/python/python3-pygobject_3.32.2.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pygobject_3.32.2.bb b/meta/recipes-devtools/python/python3-pygobject_3.32.2.bb
index 05688be603..58a251f8eb 100644
--- a/meta/recipes-devtools/python/python3-pygobject_3.32.2.bb
+++ b/meta/recipes-devtools/python/python3-pygobject_3.32.2.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
 GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase distutils3-base gobject-introspection upstream-version-is-even
 
-DEPENDS += "python3 glib-2.0"
+DEPENDS += "python3 python3-setuptools glib-2.0"
 
 SRCNAME="pygobject"
 
@@ -27,7 +27,5 @@ PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', [ 'directfb', 'wa
 # we don't link against python3-pycairo -> RDEPENDS
 PACKAGECONFIG[cairo] = "-Dpycairo=true,-Dpycairo=false, cairo python3-pycairo, python3-pycairo"
 
-RDEPENDS_${PN} += "python3-setuptools"
-
 BBCLASSEXTEND = "native"
 PACKAGECONFIG_class-native = ""
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-08-08 14:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-05 10:52 [PATCH] python3-pygobject: move python3-setuptools from RDEPENDS to DEPENDS luca.boccassi
2019-08-05 11:32 ` Ross Burton
2019-08-08 11:47 ` [PATCH v2] " luca.boccassi
2019-08-08 12:03   ` Alexander Kanavin
2019-08-08 13:57     ` Luca Boccassi
2019-08-08 11:48 ` [PATCH] " Luca Boccassi
2019-08-08 13:58 ` [PATCH v3] " luca.boccassi
2019-08-08 14:03   ` Jacob Kroon
2019-08-08 14:37     ` Luca Boccassi
2019-08-08 14:02 ` [PATCH v4] python3-pygobject: remove python3-setuptools from RDEPENDS luca.boccassi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox