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>
This commit is contained in:
Leon Anavi 2023-11-13 16:29:07 +02:00 committed by Khem Raj
parent e080b9d718
commit 5f2bd05add
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -0,0 +1,21 @@
SUMMARY = "Python front end for libmagic"
DESCRIPTION = "This library is a Python ctypes interface to libmagic."
HOMEPAGE = "https://darwinsys.com/file/"
LICENSE = "BSD-2-Clause"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0e949c0b3fb4fd86232f00c6ee0bdef3"
SRC_URI[sha256sum] = "a91d1483117f7ed48cd0238ad9be36b04824d57e9c38ea7523113989e81b9c53"
PYPI_PACKAGE="file-magic"
inherit pypi setuptools3
RDEPENDS:${PN} += " \
file \
${PYTHON_PN}-core \
${PYTHON_PN}-ctypes \
${PYTHON_PN}-threading \
"
BBCLASSEXTEND = "native nativesdk"