[OE-core] [PATCH v3] python3-pygobject: move python3-setuptools from RDEPENDS to DEPENDS

Jacob Kroon jacob.kroon at mikrodidakt.se
Thu Aug 8 14:03:29 UTC 2019


Hi Luca,

On 8/8/19 3:58 PM, luca.boccassi at gmail.com wrote:
> From: Luca Boccassi <luca.boccassi at 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.
>

This commmit message should be rephrased now.
/Jacob

> Signed-off-by: Luca Boccassi <luca.boccassi at microsoft.com>
> ---
> v2: use -native suffix as requested during the code review
> v3: do not add setuptools to DEPENDS - it is optional and it builds without it
>
>   meta/recipes-devtools/python/python3-pygobject_3.32.2.bb | 2 --
>   1 file changed, 2 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..453fdac2c8 100644
> --- a/meta/recipes-devtools/python/python3-pygobject_3.32.2.bb
> +++ b/meta/recipes-devtools/python/python3-pygobject_3.32.2.bb
> @@ -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 = ""
>


[mikrodidakt]
Jacob Kroon • +46 46325040

mikrodidakt.se • Skiffervägen 48, SE-224 78 LUND, Sweden

Consultans since 1980 • SW, HW, Embedded Systems, Linux




More information about the Openembedded-core mailing list