diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2023-11-13 16:29:07 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-13 10:49:42 -0800 |
| commit | 5f2bd05add2b2ffede9cdfb714a859341397a1d9 (patch) | |
| tree | a9382a50918120162aa4a7632240f46514a05ce0 /meta-python | |
| parent | e080b9d718a3e01cbcdefd03dc9da1535f6327b5 (diff) | |
| download | meta-openembedded-5f2bd05add2b2ffede9cdfb714a859341397a1d9.tar.gz | |
python3-file-magic: add recipe
Add file-magic version 0.4.1, a Python front end for libmagic(3).
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb b/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb new file mode 100644 index 0000000000..837edf7df7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | SUMMARY = "Python front end for libmagic" | ||
| 2 | DESCRIPTION = "This library is a Python ctypes interface to libmagic." | ||
| 3 | HOMEPAGE = "https://darwinsys.com/file/" | ||
| 4 | LICENSE = "BSD-2-Clause" | ||
| 5 | SECTION = "devel/python" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=0e949c0b3fb4fd86232f00c6ee0bdef3" | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "a91d1483117f7ed48cd0238ad9be36b04824d57e9c38ea7523113989e81b9c53" | ||
| 9 | |||
| 10 | PYPI_PACKAGE="file-magic" | ||
| 11 | |||
| 12 | inherit pypi setuptools3 | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | file \ | ||
| 16 | ${PYTHON_PN}-core \ | ||
| 17 | ${PYTHON_PN}-ctypes \ | ||
| 18 | ${PYTHON_PN}-threading \ | ||
| 19 | " | ||
| 20 | |||
| 21 | BBCLASSEXTEND = "native nativesdk" | ||
