mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
python3: add python3 metapackage
Many new users add "python3" to their image using IMAGE_INSTALL and are then surprised that they can't import any of the standard library. This is because we split up the standard library into a number of packages, and python3-core (the interpreter and essential modules only) RPROVIDES 'python3'. Solve this by moving the RPROVIDES of 'python3' to python3-modules, so that the entire Python standard library is installed. [ YOCTO #11182 ] (From OE-Core rev: 54a2549802a911cad2475a6aa379315a834419d8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f9eff2eebf
commit
62b28136c0
@@ -193,7 +193,7 @@ py_package_preprocess () {
|
||||
require python-${PYTHON_MAJMIN}-manifest.inc
|
||||
|
||||
# manual dependency additions
|
||||
RPROVIDES_${PN}-core = "${PN}"
|
||||
RPROVIDES_${PN}-modules = "${PN}"
|
||||
RRECOMMENDS_${PN}-core = "${PN}-readline"
|
||||
RRECOMMENDS_${PN}-crypt = "openssl"
|
||||
RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"
|
||||
|
||||
Reference in New Issue
Block a user