From 00768e46871447927f1da9a7df0600553df9c928 Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Tue, 11 Feb 2020 21:14:33 -0600 Subject: python: Add magic recipe The python-magic module is used by diffoscope tool to make build comparisons. (From OE-Core rev: 64560fcbe7c9658fcca86010502d00998d88f418) Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-magic_0.4.15.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-magic_0.4.15.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-magic_0.4.15.bb b/meta/recipes-devtools/python/python3-magic_0.4.15.bb new file mode 100644 index 0000000000..698016ba4c --- /dev/null +++ b/meta/recipes-devtools/python/python3-magic_0.4.15.bb @@ -0,0 +1,19 @@ +SUMMARY = "File type identification using libmagic" +DESCRIPTION = "This module uses ctypes to access the libmagic file type \ + identification library. It makes use of the local magic database and supports \ + both textual and MIME-type output." +HOMEPAGE = "http://github.com/ahupp/python-magic" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=16a934f165e8c3245f241e77d401bb88" + +PYPI_PACKAGE = "python-magic" + +inherit pypi setuptools3 + +SRC_URI[md5sum] = "e384c95a47218f66c6501cd6dd45ff59" +SRC_URI[sha256sum] = "f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5" + +RDEPENDS_${PN} += "file" + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf