From abce3f440f46687a85cd04a40b61a5c38eb2bdcb Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 14 Oct 2025 17:19:18 +0800 Subject: python3-pyzstd: upgrade 0.17.0 -> 0.18.0 Changelog: ========== - Support for Python 3.14 - Deprecate the read_size and write_size parameters of ZstdFile and SeekableZstdFile - Deprecate richmem_compress and RichMemZstdCompressor - Rework documentation to suggest using compression.zstd from Python stdlib, and provide a migration guide - Include the zstd library license in package distributions Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pyzstd_0.18.0.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb (limited to 'meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.18.0.bb new file mode 100644 index 0000000000..2aee987efa --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.18.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-89.patch" +SRC_URI[sha256sum] = "81b6851ab1ca2e5f2c709e896a1362e3065a64f271f43db77fb7d5e4a78e9861" + +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