From 6bf2c928c4b892e2b32528d8ee991c1fd51233eaa618e9c2abb116a99ce3ab32 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 19 Jul 2021 06:46:57 +0000 Subject: [PATCH] - update to 1.5.0.2: * simplify tests * add new function for them: ZSTD_external(): 0/1 * fix build - missing new file: zstd_errors.h * Removed old function which generated custom block header * Updated zstd to new upstream version 1.5.0 - drop test-once.patch: not needed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstd?expand=0&rev=21 --- python-zstd.changes | 11 +++++++++++ python-zstd.spec | 6 ++---- test-once.patch | 10 ---------- zstd-1.4.8.1.tar.gz | 3 --- zstd-1.5.0.2.tar.gz | 3 +++ 5 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 test-once.patch delete mode 100644 zstd-1.4.8.1.tar.gz create mode 100644 zstd-1.5.0.2.tar.gz diff --git a/python-zstd.changes b/python-zstd.changes index ad2aeea..525f573 100644 --- a/python-zstd.changes +++ b/python-zstd.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Jul 19 06:45:33 UTC 2021 - Dirk Müller + +- update to 1.5.0.2: + * simplify tests + * add new function for them: ZSTD_external(): 0/1 + * fix build - missing new file: zstd_errors.h + * Removed old function which generated custom block header + * Updated zstd to new upstream version 1.5.0 +- drop test-once.patch: not needed + ------------------------------------------------------------------- Mon Feb 1 22:30:19 UTC 2021 - Dirk Müller diff --git a/python-zstd.spec b/python-zstd.spec index c9d38bf..5c4f81a 100644 --- a/python-zstd.spec +++ b/python-zstd.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-zstd -Version: 1.4.8.1 +Version: 1.5.0.2 Release: 0 Summary: ZSTD Bindings for Python License: BSD-2-Clause @@ -26,7 +26,6 @@ Group: Development/Languages/Python URL: https://github.com/sergey-dryabzhinsky/python-zstd Source: https://files.pythonhosted.org/packages/source/z/zstd/zstd-%{version}.tar.gz Patch0: test-external.patch -Patch1: test-once.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -42,7 +41,6 @@ ZSTD Bindings for Python. %prep %setup -q -n zstd-%{version} %patch0 -p1 -%patch1 -p1 rm -rf zstd/ # do not test the version matching, we don't really need exact version of # zstd here @@ -51,7 +49,7 @@ sed -i -e '/test_version/d' tests/__init__.py %build export CFLAGS="%{optflags}" -%python_build --legacy --pyzstd-legacy --external +%python_build --legacy --external %install %python_install diff --git a/test-once.patch b/test-once.patch deleted file mode 100644 index 185380c..0000000 --- a/test-once.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- zstd-1.3.8.1/setup.py.orig 2019-03-04 17:40:51.208528890 +0700 -+++ zstd-1.3.8.1/setup.py 2019-03-04 17:58:37.644953996 +0700 -@@ -171,7 +173,6 @@ - Extension('zstd', zstdFiles, libraries=ext_libraries) - ], - cmdclass = {'build_ext': ZstdBuildExt }, -- test_suite='setup.my_test_suite', - classifiers=[ - 'License :: OSI Approved :: BSD License', - 'Intended Audience :: Developers', diff --git a/zstd-1.4.8.1.tar.gz b/zstd-1.4.8.1.tar.gz deleted file mode 100644 index 4d9e31a..0000000 --- a/zstd-1.4.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b62b21eb850abd6b8c0046bfc1c5c773c873eeb94f1904ef1ff304e98b62b80e -size 506197 diff --git a/zstd-1.5.0.2.tar.gz b/zstd-1.5.0.2.tar.gz new file mode 100644 index 0000000..3c4682a --- /dev/null +++ b/zstd-1.5.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d3388a15135c481b28ca67d079cb5fd79a9691626fd9979e6b4ec00eabb9e79 +size 528892