@@ -179,6 +179,7 @@
"io",
"math",
"mime",
+ "misc",
"numbers",
"pkgutil",
"stringold"
@@ -413,9 +413,6 @@ python(){
pn = 'python3'
rprovides = (d.getVar('RPROVIDES') or "").split()
- # ${PN}-misc-native is not in the manifest
- rprovides.append(pn + '-misc-native')
-
for key in python_manifest:
pypackage = pn + '-' + key + '-native'
if pypackage not in rprovides:
@@ -438,8 +435,6 @@ python(){
pypackage = pn + '-' + key
if pypackage not in packages:
- # We need to prepend, otherwise python-misc gets everything
- # so we use a new variable
newpackages.append(pypackage)
# "Build" python's manifest FILES, RDEPENDS and SUMMARY
@@ -464,7 +459,6 @@ python(){
d.setVar('SUMMARY:' + pypackage, python_manifest[key]['summary'])
- # Prepending so to avoid python-misc getting everything
packages = newpackages + packages
d.setVar('PACKAGES', ' '.join(packages))
d.setVar('ALLOW_EMPTY:${PN}-modules', '1')
@@ -517,21 +511,7 @@ FILES:libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_
INSANE_SKIP:${PN}-dev += "dev-elf"
INSANE_SKIP:${PN}-ptest = "dev-deps"
-# catch all the rest (unsorted)
-PACKAGES += "${PN}-misc"
-RDEPENDS:${PN}-misc += "\
- ${PN}-audio \
- ${PN}-codecs \
- ${PN}-core \
- ${PN}-email \
- ${PN}-numbers \
- ${PN}-pickle \
- ${PN}-pydoc \
-"
-RDEPENDS:${PN}-modules:append:class-target = " ${MLPREFIX}python3-misc"
-RDEPENDS:${PN}-modules:append:class-nativesdk = " ${MLPREFIX}python3-misc"
RDEPENDS:${PN}-modules:append:class-target = " ${@bb.utils.contains('PACKAGECONFIG', 'gdbm', '${MLPREFIX}python3-gdbm', '', d)}"
-FILES:${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload"
# catch manpage
PACKAGES += "${PN}-man"
By removing the catch-all -misc package we ensure that new files added to Python are explicitly packaged. A provides is added to preserve compatibility. Signed-off-by: Ross Burton <ross.burton@arm.com> --- .../python/python3/python3-manifest.json | 1 + .../recipes-devtools/python/python3_3.15.2.bb | 20 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-)