diff options
author | Ross Burton <ross.burton@intel.com> | 2017-04-24 15:43:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-11 16:59:19 +0100 |
commit | 62b28136c0114e4e9c19d3b62714bae23d73bc81 (patch) | |
tree | 65cb609317403d40830c3514ae39425ae26df38a /meta/recipes-devtools/python | |
parent | f9eff2eebf119d8b1894af2b658a9147f5901727 (diff) | |
download | poky-62b28136c0114e4e9c19d3b62714bae23d73bc81.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.5.2.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.2.bb b/meta/recipes-devtools/python/python3_3.5.2.bb index 2ff7c9e278..7f2bc7186f 100644 --- a/meta/recipes-devtools/python/python3_3.5.2.bb +++ b/meta/recipes-devtools/python/python3_3.5.2.bb | |||
@@ -193,7 +193,7 @@ py_package_preprocess () { | |||
193 | require python-${PYTHON_MAJMIN}-manifest.inc | 193 | require python-${PYTHON_MAJMIN}-manifest.inc |
194 | 194 | ||
195 | # manual dependency additions | 195 | # manual dependency additions |
196 | RPROVIDES_${PN}-core = "${PN}" | 196 | RPROVIDES_${PN}-modules = "${PN}" |
197 | RRECOMMENDS_${PN}-core = "${PN}-readline" | 197 | RRECOMMENDS_${PN}-core = "${PN}-readline" |
198 | RRECOMMENDS_${PN}-crypt = "openssl" | 198 | RRECOMMENDS_${PN}-crypt = "openssl" |
199 | RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl" | 199 | RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl" |