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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu
2025-10-14 17:19:18 +08:00
committed by Khem Raj
parent 4d1a509145
commit abce3f440f

View File

@@ -0,0 +1,19 @@
DESCRIPTION = "Pyzstd module provides classes and functions for compressing and \
decompressing data, using Facebooks 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
}