diff options
| author | wangmy <wangmy@fujitsu.com> | 2022-02-08 18:26:36 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-10 10:32:08 +0000 |
| commit | 63f18599a186b51015d9449a401f9a56e3166357 (patch) | |
| tree | d924f8b1a28e1ab4345cc30603e28af61ed5055b /meta/recipes-devtools/python/python3-magic_0.4.25.bb | |
| parent | 3872c13296b3504b7ef76ac3b8a399a46dc6cf0a (diff) | |
| download | poky-63f18599a186b51015d9449a401f9a56e3166357.tar.gz | |
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3-magic_0.4.25.bb')
| -rw-r--r-- | meta/recipes-devtools/python/python3-magic_0.4.25.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-magic_0.4.25.bb b/meta/recipes-devtools/python/python3-magic_0.4.25.bb new file mode 100644 index 0000000000..efc8b6daaa --- /dev/null +++ b/meta/recipes-devtools/python/python3-magic_0.4.25.bb | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | SUMMARY = "File type identification using libmagic" | ||
| 2 | DESCRIPTION = "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." | ||
| 5 | HOMEPAGE = "http://github.com/ahupp/python-magic" | ||
| 6 | |||
| 7 | LICENSE = "MIT" | ||
| 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=61495c152d794e6be5799a9edca149e3" | ||
| 9 | |||
| 10 | PYPI_PACKAGE = "python-magic" | ||
| 11 | |||
| 12 | inherit pypi setuptools3 | ||
| 13 | |||
| 14 | SRC_URI[sha256sum] = "21f5f542aa0330f5c8a64442528542f6215c8e18d2466b399b0d9d39356d83fc" | ||
| 15 | |||
| 16 | RDEPENDS:${PN} += "file \ | ||
| 17 | ${PYTHON_PN}-ctypes \ | ||
| 18 | ${PYTHON_PN}-io \ | ||
| 19 | ${PYTHON_PN}-logging \ | ||
| 20 | ${PYTHON_PN}-shell" | ||
| 21 | |||
| 22 | BBCLASSEXTEND = "native" | ||
