From e3fd874a5b49229119c678982890f69f0442873f Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Thu, 4 Nov 2021 12:25:09 -1000 Subject: 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 (From OE-Core rev: dcd8294f826f6e061cdd01c6c3594789ed46732e) Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-magic_0.4.15.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-magic_0.4.15.bb b/meta/recipes-devtools/python/python3-magic_0.4.15.bb index 09b24fb7f3..b73310c808 100644 --- a/meta/recipes-devtools/python/python3-magic_0.4.15.bb +++ b/meta/recipes-devtools/python/python3-magic_0.4.15.bb @@ -14,6 +14,8 @@ inherit pypi setuptools3 SRC_URI[md5sum] = "e384c95a47218f66c6501cd6dd45ff59" SRC_URI[sha256sum] = "f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5" +DEPENDS_append_class-native = " file-replacement-native" + RDEPENDS_${PN} += "file \ ${PYTHON_PN}-ctypes \ ${PYTHON_PN}-io \ -- cgit v1.2.3-54-g00ecf