python3-pyzstd: upgrade 0.18.0 -> 0.19.0

1. Changelog
  - The project has been completely refactored to use the Zstandard implementation from the standard library ([PEP-784](https://peps.python.org/pep-0784/))
  - The refactor has some minor impact on public APIs, such as changing the exception raised on invalid input

2. Drop 0001-Bump-setuptools-dependency-from-74-to-89.patch as setuptools in requires was removed in pyproject.toml

3. HOMEPAGE has been changed to https://github.com/Rogdham/pyzstd.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Liu Yiding
2025-12-09 15:02:26 +08:00
committed by Khem Raj
parent a5bf664a15
commit e26c6f86c8
2 changed files with 5 additions and 31 deletions

View File

@@ -0,0 +1,20 @@
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/Rogdham/pyzstd"
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e"
PYPI_PACKAGE = "pyzstd"
SRC_URI[sha256sum] = "44e7b9be7b445aac742003ddee52ca31385d52dffb8c60adf633fad8e795f10d"
inherit pypi python_setuptools_build_meta ptest-python-pytest python_hatchling
DEPENDS += "python3-hatch-vcs-native"
# 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
}