From 63f18599a186b51015d9449a401f9a56e3166357 Mon Sep 17 00:00:00 2001 From: wangmy Date: Tue, 8 Feb 2022 18:26:36 +0800 Subject: 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 Signed-off-by: Richard Purdie --- .../python/python3-magic_0.4.24.bb | 22 ---------------------- .../python/python3-magic_0.4.25.bb | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-magic_0.4.24.bb create mode 100644 meta/recipes-devtools/python/python3-magic_0.4.25.bb diff --git a/meta/recipes-devtools/python/python3-magic_0.4.24.bb b/meta/recipes-devtools/python/python3-magic_0.4.24.bb deleted file mode 100644 index ae895fbd53..0000000000 --- a/meta/recipes-devtools/python/python3-magic_0.4.24.bb +++ /dev/null @@ -1,22 +0,0 @@ -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] = "de800df9fb50f8ec5974761054a708af6e4246b03b4bdaee993f948947b0ebcf" - -RDEPENDS:${PN} += "file \ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-shell" - -BBCLASSEXTEND = "native" 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 @@ +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" -- cgit v1.2.3-54-g00ecf