Files
poky/meta/recipes-devtools/python/python3-magic_0.4.25.bb
wangmy 63f18599a1 python3-magic: upgrade 0.4.24 -> 0.4.25
Changelog:
=========
  - Support os.PathLike values in Magic.from_file and magic.from_file
  - Handle some versions of libmagic that return mime string without charset
  - Fix tests for file 5.41
  - Include typing stub in package

(From OE-Core rev: ddf1cf89925ef8cb31a68041e97168959ca9b619)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00

23 lines
748 B
BlitzBasic

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=61495c152d794e6be5799a9edca149e3"
PYPI_PACKAGE = "python-magic"
inherit pypi setuptools3
SRC_URI[sha256sum] = "21f5f542aa0330f5c8a64442528542f6215c8e18d2466b399b0d9d39356d83fc"
RDEPENDS:${PN} += "file \
${PYTHON_PN}-ctypes \
${PYTHON_PN}-io \
${PYTHON_PN}-logging \
${PYTHON_PN}-shell"
BBCLASSEXTEND = "native"