python3-zstandard: update to 0.22.0.

This commit is contained in:
Evgeny Ermakov 2024-03-30 12:10:42 +11:00 committed by Leah Neukirchen
parent 635e02124f
commit 5ccf1c66a1
2 changed files with 14 additions and 3 deletions

View file

@ -0,0 +1,11 @@
--- a/c-ext/backend_c.c 2023-11-01 02:58:34.000000000 -0300
+++ b/c-ext/backend_c.c 2024-03-29 21:32:40.694372789 -0300
@@ -152,7 +152,7 @@
PyObject *features = NULL;
PyObject *feature = NULL;
unsigned zstd_ver_no = ZSTD_versionNumber();
- unsigned our_hardcoded_version = 10505;
+ unsigned our_hardcoded_version = ZSTD_VERSION_NUMBER;
if (ZSTD_VERSION_NUMBER != our_hardcoded_version ||
zstd_ver_no != our_hardcoded_version) {
PyErr_Format(

View file

@ -1,7 +1,7 @@
# Template file for 'python3-zstandard'
pkgname=python3-zstandard
version=0.21.0
revision=3
version=0.22.0
revision=1
build_style=python3-module
make_build_args="--system-zstd"
hostmakedepends="python3-setuptools"
@ -14,7 +14,7 @@ license="BSD-3-Clause"
homepage="https://github.com/indygreg/python-zstandard"
changelog="https://raw.githubusercontent.com/indygreg/python-zstandard/main/docs/news.rst"
distfiles="https://github.com/indygreg/python-zstandard/archive/${version}.tar.gz"
checksum=15adc6bfa629d48b0bb658e9eae94c484adb66a28738fa780478eebeb41599a5
checksum=34ce7ef020afca1344c538a778e2a2e30dc43b11509aa4cb5cf076228d959ca7
pre_check() {
# The skipped test ignored due to failure, see: