]> code.ossystems Code Review - openembedded-core.git/commitdiff
python: remove the PN package entirely
authorRoss Burton <ross.burton@intel.com>
Mon, 15 Oct 2018 18:13:02 +0000 (19:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Oct 2018 22:19:37 +0000 (23:19 +0100)
Nothing should be in this package, so remove it entirely to be sure nothing does
end up in there.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3_3.5.6.bb
meta/recipes-devtools/python/python_2.7.15.bb

index 72478f8663d2daeaecc34e36a3669c337944c23d..2a4547694ae416495c3dcd23effc21f0c1319a12 100644 (file)
@@ -215,6 +215,8 @@ py_package_preprocess () {
        mv ${PKGD}/${bindir}/python${PYTHON_BINABI}-config ${PKGD}/${bindir}/python${PYTHON_BINABI}-config-${MULTILIB_SUFFIX}
 }
 
+PACKAGES_remove = "${PN}"
+
 # manual dependency additions
 RPROVIDES_${PN}-modules = "${PN}"
 RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules"
@@ -249,8 +251,6 @@ RDEPENDS_${PN}-dev = ""
 
 BBCLASSEXTEND = "nativesdk"
 
-RPROVIDES_${PN} += "${PN}-modules"
-
 # We want bytecode precompiled .py files (.pyc's) by default
 # but the user may set it on their own conf
 INCLUDE_PYCS ?= "1"
index d78400b6e611af4df28f91ecbd8ca2311b2e1810..b402ad6f1e7ec2839b7f6ffd091fe87449898906 100644 (file)
@@ -152,6 +152,7 @@ py_package_preprocess () {
        (cd ${PKGD}; python -m py_compile ./${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py)
 }
 
+PACKAGES_remove = "${PN}"
 
 # manual dependency additions
 RPROVIDES_${PN}-core = "${PN}"
@@ -181,8 +182,6 @@ RDEPENDS_${PN}-dev = ""
 
 BBCLASSEXTEND = "nativesdk"
 
-RPROVIDES_${PN} += "${PN}-modules"
-
 # We want bytecode precompiled .py files (.pyc's) by default
 # but the user may set it on their own conf