The python-magic module is used by diffoscope tool to make
build comparisons.

Signed-off-by: Joshua Watt <[email protected]>
---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../python/python3-magic_0.4.15.bb            | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-magic_0.4.15.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index abbdb74a0d3..171a43615e3 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -580,6 +580,7 @@ RECIPE_MAINTAINER_pn-python3-git = "Oleksandr Kravchuk 
<open.source@oleksandr-kr
 RECIPE_MAINTAINER_pn-python3-gitdb = "Oleksandr Kravchuk 
<[email protected]>"
 RECIPE_MAINTAINER_pn-python3-iniparse = "Oleksandr Kravchuk 
<[email protected]>"
 RECIPE_MAINTAINER_pn-python3-libarchive-c = "Joshua Watt 
<[email protected]>"
+RECIPE_MAINTAINER_pn-python3-magic = "Joshua Watt <[email protected]>"
 RECIPE_MAINTAINER_pn-python3-mako = "Oleksandr Kravchuk 
<[email protected]>"
 RECIPE_MAINTAINER_pn-python3-nose = "Oleksandr Kravchuk 
<[email protected]>"
 RECIPE_MAINTAINER_pn-python3-numpy = "Oleksandr Kravchuk 
<[email protected]>"
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 00000000000..698016ba4c2
--- /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"
-- 
2.23.0

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to