[OE-core] [PATCH] python: make 'python' install everything instead of just the interpretter

Alejandro Enedino Hernandez Samaniego alejandro.enedino.hernandez-samaniego at xilinx.com
Mon Jun 24 20:20:17 UTC 2019


Hey Ross,

On 6/20/19 7:53 AM, Ross Burton wrote:
> Follow the python3 behaviour, and common sense, by making 'python' install
> python-modules instead of python-core.  This means a user installing python gets
> all of Python, instead of just a fraction of the library.
>
> [ YOCTO #13402 ]
>
> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>   meta/recipes-devtools/python/python_2.7.16.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/python/python_2.7.16.bb b/meta/recipes-devtools/python/python_2.7.16.bb
> index d70342fe3a6..5f387b8af11 100644
> --- a/meta/recipes-devtools/python/python_2.7.16.bb
> +++ b/meta/recipes-devtools/python/python_2.7.16.bb
> @@ -162,7 +162,7 @@ py_package_preprocess () {
>   PACKAGES_remove = "${PN}"
>   
>   # manual dependency additions
> -RPROVIDES_${PN}-core = "${PN}"
> +RPROVIDES_${PN}-modules = "${PN}"

Is it just me or we already had this?, maybe we had this only for python3


Alejandro


>   RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python-modules"
>   RRECOMMENDS_${PN}-crypt = "openssl"
>   


More information about the Openembedded-core mailing list