]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3: Add recommended modules to nativesdk install
authorTom Hochstein <tom.hochstein@nxp.com>
Mon, 9 Apr 2018 16:20:32 +0000 (11:20 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2018 15:55:24 +0000 (16:55 +0100)
The python3 installation in the SDK did not include the minimum set
of modules to be functional, particularly in the case where Python
is brought in through dependencies. Rather than requiring the user
to explicitly add the modules, it's better to pull in the modules
through RRECOMMENDS. Note that the Python 2 recipe already does
this.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python3_3.5.5.bb

index d458d32e60d0e40c6ad4280a7dedb04759e99ea2..f893b846adfc8513192ae00c734bc85fabb71e97 100644 (file)
@@ -211,6 +211,7 @@ py_package_preprocess () {
 
 # manual dependency additions
 RPROVIDES_${PN}-modules = "${PN}"
+RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules"
 RRECOMMENDS_${PN}-crypt = "openssl"
 RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"