Accepting request 688642 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/688642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xxhash?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2019-03-27 15:20:58 +00:00 committed by Git OBS Bridge
commit fe7dec3453
4 changed files with 23 additions and 16 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Mar 26 09:21:38 UTC 2019 - pgajdos@suse.com
- version update to 1.3.0
* Wheels are now built automatically
* Split CFFI variant into a separate package
* Add oneshot functions xxh{32,64}_{,int,hex}digest
* Allow input larger than 2GB
* Release the GIL on sufficiently large input
* Drop support for Python 3.2
-------------------------------------------------------------------
Fri Nov 10 15:01:06 UTC 2017 - alarrosa@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-xxhash
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,29 +12,27 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-xxhash
Version: 1.0.1
Version: 1.3.0
Release: 0
License: BSD-2-Clause
Summary: Python binding for xxHash
Url: https://github.com/ifduyue/python-xxhash
License: BSD-2-Clause
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/x/xxhash/xxhash-%{version}.zip
BuildRequires: python-rpm-macros
Url: https://github.com/ifduyue/python-xxhash
Source: https://files.pythonhosted.org/packages/source/x/xxhash/xxhash-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
%if %{with test}
BuildRequires: %{python_module nose > 1.3.0}
%endif
# /SECTION
BuildRequires: unzip
BuildRequires: fdupes
BuildRequires: unzip
%python_subpackages
@ -52,10 +50,8 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%if %{with test}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%defattr(-,root,root,-)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7abe69c9d02374385e23d0e7d6279d5fa03899989d25b381d837fa46cf294831
size 28627

3
xxhash-1.3.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fe21f23a9d05428c75461790b670f2bf15f50a632d6c171a7e7b588269c619e6
size 25347