diff options
author | Ross Burton <ross.burton@intel.com> | 2018-10-15 19:13:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-10-16 20:35:43 +0100 |
commit | e349b239c8833bcdad9b1ff1a0702ace2db71959 (patch) | |
tree | 9c0c71b6f1f0068ac0941f3337a921e7141eb6d6 /meta/recipes-devtools/python | |
parent | 04370c671eafb193d03ed1d48584c6aa218965ae (diff) | |
download | poky-e349b239c8833bcdad9b1ff1a0702ace2db71959.tar.gz |
python: remove the PN package entirely
Nothing should be in this package, so remove it entirely to be sure nothing does
end up in there.
(From OE-Core rev: b4ea23adf58d664f3cc5abe6d04b507fc000426e)
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.6.bb | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.15.bb | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.6.bb b/meta/recipes-devtools/python/python3_3.5.6.bb index 72478f8663..2a4547694a 100644 --- a/meta/recipes-devtools/python/python3_3.5.6.bb +++ b/meta/recipes-devtools/python/python3_3.5.6.bb | |||
@@ -215,6 +215,8 @@ py_package_preprocess () { | |||
215 | mv ${PKGD}/${bindir}/python${PYTHON_BINABI}-config ${PKGD}/${bindir}/python${PYTHON_BINABI}-config-${MULTILIB_SUFFIX} | 215 | mv ${PKGD}/${bindir}/python${PYTHON_BINABI}-config ${PKGD}/${bindir}/python${PYTHON_BINABI}-config-${MULTILIB_SUFFIX} |
216 | } | 216 | } |
217 | 217 | ||
218 | PACKAGES_remove = "${PN}" | ||
219 | |||
218 | # manual dependency additions | 220 | # manual dependency additions |
219 | RPROVIDES_${PN}-modules = "${PN}" | 221 | RPROVIDES_${PN}-modules = "${PN}" |
220 | RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules" | 222 | RRECOMMENDS_${PN}-core_append_class-nativesdk = " nativesdk-python3-modules" |
@@ -249,8 +251,6 @@ RDEPENDS_${PN}-dev = "" | |||
249 | 251 | ||
250 | BBCLASSEXTEND = "nativesdk" | 252 | BBCLASSEXTEND = "nativesdk" |
251 | 253 | ||
252 | RPROVIDES_${PN} += "${PN}-modules" | ||
253 | |||
254 | # We want bytecode precompiled .py files (.pyc's) by default | 254 | # We want bytecode precompiled .py files (.pyc's) by default |
255 | # but the user may set it on their own conf | 255 | # but the user may set it on their own conf |
256 | INCLUDE_PYCS ?= "1" | 256 | INCLUDE_PYCS ?= "1" |
diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb index d78400b6e6..b402ad6f1e 100644 --- a/meta/recipes-devtools/python/python_2.7.15.bb +++ b/meta/recipes-devtools/python/python_2.7.15.bb | |||
@@ -152,6 +152,7 @@ py_package_preprocess () { | |||
152 | (cd ${PKGD}; python -m py_compile ./${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py) | 152 | (cd ${PKGD}; python -m py_compile ./${libdir}/python${PYTHON_MAJMIN}/_sysconfigdata.py) |
153 | } | 153 | } |
154 | 154 | ||
155 | PACKAGES_remove = "${PN}" | ||
155 | 156 | ||
156 | # manual dependency additions | 157 | # manual dependency additions |
157 | RPROVIDES_${PN}-core = "${PN}" | 158 | RPROVIDES_${PN}-core = "${PN}" |
@@ -181,8 +182,6 @@ RDEPENDS_${PN}-dev = "" | |||
181 | 182 | ||
182 | BBCLASSEXTEND = "nativesdk" | 183 | BBCLASSEXTEND = "nativesdk" |
183 | 184 | ||
184 | RPROVIDES_${PN} += "${PN}-modules" | ||
185 | |||
186 | # We want bytecode precompiled .py files (.pyc's) by default | 185 | # We want bytecode precompiled .py files (.pyc's) by default |
187 | # but the user may set it on their own conf | 186 | # but the user may set it on their own conf |
188 | 187 | ||