Skip to contentSkip to conversation

python3-magic: add missing DEPENDS

PATCH New Steve Sakoman 1 participant 1 message Nov 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-magic: add missing DEPENDS

Since file-native is ASSUME_PROVIDED magic.mgc is not being staged. As a result diffoscope-native is failing with:

magic.MagicException: b'could not find any valid magic files!

Fix this by adding dependency on file-replacement-native

---
 meta/recipes-devtools/python/python3-magic_0.4.24.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-magic_0.4.24.bb +2 -0
index ae895fbd53..fd5825dbd1 100644
@@ -13,6 +13,8 @@ inherit pypi setuptools3
 
 SRC_URI[sha256sum] = "de800df9fb50f8ec5974761054a708af6e4246b03b4bdaee993f948947b0ebcf"
 
+DEPENDS:append:class-native = " file-replacement-native"
+
 RDEPENDS:${PN} += "file \
                    ${PYTHON_PN}-ctypes \
                    ${PYTHON_PN}-io \
Signature · 1 line
2.25.1