Accepting request 732155 from devel:languages:python
- Update to 0.12.0: * Fix ZstdDecompressor.__init__ on 64-bit big-endian systems (#91). * Fix memory leak in ZstdDecompressionReader.seek() (#82). * CI transitioned to Azure Pipelines (from AppVeyor and Travis CI). * Switched to pytest for running tests (from nose). OBS-URL: https://build.opensuse.org/request/show/732155 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-zstandard?expand=0&rev=3
This commit is contained in:
commit
451cd5b4d6
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 20 12:09:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 0.12.0:
|
||||||
|
* Fix ZstdDecompressor.__init__ on 64-bit big-endian systems (#91).
|
||||||
|
* Fix memory leak in ZstdDecompressionReader.seek() (#82).
|
||||||
|
* CI transitioned to Azure Pipelines (from AppVeyor and Travis CI).
|
||||||
|
* Switched to pytest for running tests (from nose).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 24 13:39:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Fri May 24 13:39:30 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-zstandard
|
Name: python-zstandard
|
||||||
Version: 0.11.1
|
Version: 0.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Zstandard bindings for Python
|
Summary: Zstandard bindings for Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -36,7 +36,7 @@ Requires: zstd
|
|||||||
Conflicts: python-zstd
|
Conflicts: python-zstd
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module cffi >= 1.11}
|
BuildRequires: %{python_module cffi >= 1.11}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -55,15 +55,8 @@ export CFLAGS="%{optflags}"
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
mkdir tester
|
|
||||||
cp -r tests tester/
|
|
||||||
pushd tester
|
|
||||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
|
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
rm -rf build _build*
|
%pytest_arch
|
||||||
nosetests-%{$python_bin_suffix} -v
|
|
||||||
}
|
|
||||||
popd
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc NEWS.rst README.rst
|
%doc NEWS.rst README.rst
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3c31da5d78a7b07e722e8a3e0b1295bc9b316b7e90a1666659c451a42750ffe4
|
|
||||||
size 641453
|
|
3
zstandard-0.12.0.tar.gz
Normal file
3
zstandard-0.12.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a110fb3ad1db344fbb563942d314ec5f0f3bdfd6753ec6331dded03ad6c2affb
|
||||||
|
size 648827
|
Loading…
x
Reference in New Issue
Block a user