Skip to contentSkip to conversation

python3-misc: add python3-audio to RDEPENDS

PATCH New Trevor Gamblin 1 participant 1 message Nov 9, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-misc: add python3-audio to RDEPENDS

Import issues are encountered for the python3 aifc module, on images with python3-misc installed:

|>>> import aifc
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.7/aifc.py", line 254, in <module>
|from chunk import Chunk
|ModuleNotFoundError: No module named 'chunk'
|>>>

The chunk module is part of python3-audio. Add python3-audio to RDEPENDS for python3-misc to fix the error.

---
 meta/recipes-devtools/python/python3_3.7.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3_3.7.5.bb +1 -1
index 0338fa4ba8..90914f9053 100644
@@ -324,7 +324,7 @@ INSANE_SKIP_${PN}-dev += "dev-elf"
 
 # catch all the rest (unsorted)
 PACKAGES += "${PN}-misc"
-RDEPENDS_${PN}-misc += "python3-core python3-email python3-codecs python3-pydoc python3-pickle"
+RDEPENDS_${PN}-misc += "python3-core python3-email python3-codecs python3-pydoc python3-pickle python3-audio"
 RDEPENDS_${PN}-modules_append_class-target = " python3-misc"
 RDEPENDS_${PN}-modules_append_class-nativesdk = " python3-misc"
 FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN} ${libdir}/python${PYTHON_MAJMIN}/lib-dynload"
Signature · 1 line
2.23.0