python: make 'python' install everything instead of just the interpretter
PATCH 1/1 python: make 'python' install everything instead of just the interpretter
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 ]
--- meta/recipes-devtools/python/python_2.7.16.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python_2.7.16.bb +1 -1
@@ -162,7 +162,7 @@ py_package_preprocess () { PACKAGES_remove = "${PN}" # manual dependency additions -RPROVIDES_${PN}-core = "${PN}" +RPROVIDES_${PN}-modules = "${PN}" RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python-modules" RRECOMMENDS_${PN}-crypt = "openssl"
Signature · 1 line
2.11.0
Hey Ross,
Quoted 16 lines · Ross Burton
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 <[email protected]>--- meta/recipes-devtools/python/python_2.7.16.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-devtools/python/python_2.7.16.bb +0
-0
meta/recipes-devtools/python/python_2.7.16.bb py_package_preprocess () { · line 165
Quoted 5 lines
meta/recipes-devtools/python/python_2.7.16.bb +1
-1@@ -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
Quoted 3 lines
meta/recipes-devtools/python/python_2.7.16.bb +0
-0RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python-modules" RRECOMMENDS_${PN}-crypt = "openssl"
Quoted 5 lines · Alejandro Enedino Hernandez Samaniego
meta/recipes-devtools/python/python_2.7.16.bb py_package_preprocess () { · line 165
Quoted 3 lines
# manual dependency additionsmeta/recipes-devtools/python/python_2.7.16.bb +1
-1-RPROVIDES_${PN}-core = "${PN}" +RPROVIDES_${PN}-modules = "${PN}"Is it just me or we already had this?, maybe we had this only for python3
It was only for Py3! Swore I already fixed this too...
Ross