]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3-magic: add missing DEPENDS
authorSteve Sakoman <steve@sakoman.com>
Thu, 4 Nov 2021 22:25:09 +0000 (12:25 -1000)
committerSteve Sakoman <steve@sakoman.com>
Tue, 9 Nov 2021 02:25:10 +0000 (16:25 -1000)
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

Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/python/python3-magic_0.4.15.bb

index 09b24fb7f3fa37ee936453a2016715deb3abe07e..b73310c808271d34ab01009d02539bcc932367ba 100644 (file)
@@ -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 \