From b2b9fb536507b5404f6cfe9f869880be4b47166e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 21 May 2025 16:59:19 +0800 Subject: python3-pyzstd: upgrade 0.16.2 -> 0.17.0 Changelog: =========== - Upgrade zstd source code from v1.5.6 to v1.5.7 - Raise an exception when attempting to decompress empty data - Add ZstdFile.name property - Deprecate (de)compress_stream functions - Use a leading _ for private objects - Build wheels for Windows ARM64 - Support for PyPy 3.11 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pyzstd_0.16.2.bb | 19 ------------------- .../recipes-devtools/python/python3-pyzstd_0.17.0.bb | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyzstd_0.17.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb deleted file mode 100644 index e1c24404e8..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyzstd_0.16.2.bb +++ /dev/null @@ -1,19 +0,0 @@ -DESCRIPTION = "Pyzstd module provides classes and functions for compressing and \ -decompressing data, using Facebook’s Zstandard (or zstd as short name) algorithm." -HOMEPAGE = "https://github.com/animalize/pyzstd" -SECTION = "devel/python" - -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e" - -PYPI_PACKAGE = "pyzstd" - -SRC_URI += "file://0001-Bump-setuptools-dependency-from-74-to-79.patch" -SRC_URI[sha256sum] = "179c1a2ea1565abf09c5f2fd72f9ce7c54b2764cf7369e05c0bfd8f1f67f63d2" - -inherit pypi python_setuptools_build_meta ptest-python-pytest - -# clang-16 with -flto segfaults on arm, therefore ignore flto for now -do_configure:append:arm:toolchain-clang() { - sed -i -e "s|'-flto'|''|" ${S}/setup.py -} diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.17.0.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.17.0.bb new file mode 100644 index 0000000000..d842a92caf --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.17.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Pyzstd module provides classes and functions for compressing and \ +decompressing data, using Facebook’s Zstandard (or zstd as short name) algorithm." +HOMEPAGE = "https://github.com/animalize/pyzstd" +SECTION = "devel/python" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e" + +PYPI_PACKAGE = "pyzstd" + +SRC_URI += "file://0001-Bump-setuptools-dependency-from-74-to-79.patch" +SRC_URI[sha256sum] = "d84271f8baa66c419204c1dd115a4dec8b266f8a2921da21b81764fa208c1db6" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +# clang-16 with -flto segfaults on arm, therefore ignore flto for now +do_configure:append:arm:toolchain-clang() { + sed -i -e "s|'-flto'|''|" ${S}/setup.py +} -- cgit v1.2.3-54-g00ecf