Merge branch 'f33' into f34

This commit is contained in:
Dominik 'Rathann' Mierzejewski 2021-03-01 13:45:50 +01:00
commit 011314818d
3 changed files with 9 additions and 18 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/zstandard-0.13.0.tar.gz
/zstandard-0.15.1.tar.gz
/zstandard-0.15.2.tar.gz

View File

@ -13,13 +13,14 @@
compression library. A C extension and CFFI interface are provided.
Name: python-%{pypi_name}
Version: 0.15.1
Version: 0.15.2
Release: 1%{?dist}
Summary: Zstandard bindings for Python
License: BSD and GPLv2
URL: https://github.com/indygreg/python-zstandard
Source0: %{pypi_source}
Patch0: %{name}-fix-estimated_compression_context_size-tolerance-i686.patch
Patch1: %{name}-issue-105.patch
%description
%{desc}
@ -44,6 +45,7 @@ Provides: bundled(zstd) = 1.4.8
%prep
%setup -q -n %{pypi_name}-%{version}
%patch0 -p1
%patch1 -p1
rm -r %{pypi_name}.egg-info
%build
@ -57,22 +59,6 @@ rm -r %{pypi_name}.egg-info
mv zstandard{,.src}
export ZSTD_SLOW_TESTS=1
%pytest -v\
%ifarch s390x
-k "not test_constant_methods\
and not test_no_context_manager\
and not test_read_closed\
and not test_close\
and not test_read_after_exit\
and not test_read_buffer\
and not test_read_stream\
and not test_read_binary_filename\
and not test_read_binary_fileobj\
and not test_read_text_filename\
and not test_read_text_fileobj\
and not test_write_binary_filename\
and not test_write_binary_fileobj\
and not test_write_text_filename"\
%endif
--numprocesses=auto
mv zstandard{.src,}
%endif
@ -84,6 +70,10 @@ mv zstandard{.src,}
%{python3_sitearch}/%{pypi_name}
%changelog
* Mon Mar 01 2021 Dominik Mierzejewski <dominik@greysector.net> 0.15.2-1
- update to 0.15.2 (#1933476)
- fix tests on s390x
* Wed Feb 03 2021 Dominik Mierzejewski <dominik@greysector.net> 0.15.1-1
- update to 0.15.1 (#1924620)
- work around weird test failure

View File

@ -1 +1 @@
SHA512 (zstandard-0.15.1.tar.gz) = 7aabe647fa8c9a696084da6544c27287fe7d57e3a0ce2594c061fd20136e147ded4ea3da3648f6ef93c49636edc1d04ca4f29561514fb13f1a5d0340cd51996b
SHA512 (zstandard-0.15.2.tar.gz) = 0102f3522145c80ec096e9dfac34a5bdd2a98b43b50b8c1e99bcfb0057904c551ababeeb82ced5f8b65945d42b39479cbc29472058679af1f8f91b68ae79f70f