forked from pool/python-zstd
Accepting request 907022 from devel:languages:python
- 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/request/show/907022 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstd?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 19 06:45:33 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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',
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b62b21eb850abd6b8c0046bfc1c5c773c873eeb94f1904ef1ff304e98b62b80e
|
||||
size 506197
|
||||
3
zstd-1.5.0.2.tar.gz
Normal file
3
zstd-1.5.0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8d3388a15135c481b28ca67d079cb5fd79a9691626fd9979e6b4ec00eabb9e79
|
||||
size 528892
|
||||
Reference in New Issue
Block a user