15
0

Accepting request 718197 from home:pgajdos

- version update to 0.10.0
  * no upstream change log found
- turn on testsuite

OBS-URL: https://build.opensuse.org/request/show/718197
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cytoolz?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2019-07-24 11:56:12 +00:00
committed by Git OBS Bridge
parent 7010dfe74c
commit 7f90099e51
4 changed files with 22 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cytoolz
#
# Copyright (c) 2018 SUSE LINUX Products 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,25 +12,26 @@
# 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-%{**}}
Name: python-cytoolz
Version: 0.9.0.1
Version: 0.10.0
Release: 0
Summary: High performance python functional utilities in Cython
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/pytoolz/cytoolz
Source: https://files.pythonhosted.org/packages/source/c/cytoolz/cytoolz-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toolz}
Requires: python-toolz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-toolz
%python_subpackages
%description
@@ -49,6 +50,11 @@ export CFLAGS="%{optflags}"
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python setup.py nosetests --with-coverage -vvv
}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst