summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2020-02-11 21:14:33 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-14 13:07:23 +0000
commit00768e46871447927f1da9a7df0600553df9c928 (patch)
tree481300d304a1a3464ff5c2e57139f6bb936c8827 /meta/recipes-devtools
parent8382def8d0e7f0beeabbcfa73d800cfd54c13089 (diff)
downloadpoky-00768e46871447927f1da9a7df0600553df9c928.tar.gz
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 <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python3-magic_0.4.15.bb19
1 files changed, 19 insertions, 0 deletions
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 @@
1SUMMARY = "File type identification using libmagic"
2DESCRIPTION = "This module uses ctypes to access the libmagic file type \
3 identification library. It makes use of the local magic database and supports \
4 both textual and MIME-type output."
5HOMEPAGE = "http://github.com/ahupp/python-magic"
6
7LICENSE = "MIT"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=16a934f165e8c3245f241e77d401bb88"
9
10PYPI_PACKAGE = "python-magic"
11
12inherit pypi setuptools3
13
14SRC_URI[md5sum] = "e384c95a47218f66c6501cd6dd45ff59"
15SRC_URI[sha256sum] = "f3765c0f582d2dfc72c15f3b5a82aecfae9498bd29ca840d72f37d7bd38bfcd5"
16
17RDEPENDS_${PN} += "file"
18
19BBCLASSEXTEND = "native"