15
0

Accepting request 789797 from home:polslinux:branches:devel:languages:python

- Use pytest instead of nose

OBS-URL: https://build.opensuse.org/request/show/789797
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cytoolz?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2020-03-31 07:05:27 +00:00
committed by Git OBS Bridge
parent 7f255df9d0
commit 5a68ea8fbe
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 30 14:32:52 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Use pytest instead of nose
-------------------------------------------------------------------
Fri Nov 8 18:10:49 UTC 2019 - marec@detebe.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cytoolz
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,10 +23,10 @@ Release: 0
Summary: High performance python functional utilities in Cython
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/pytoolz/cytoolz
URL: https://github.com/pytoolz/cytoolz
Source: https://files.pythonhosted.org/packages/source/c/cytoolz/cytoolz-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toolz}
BuildRequires: fdupes
@@ -52,7 +52,7 @@ export CFLAGS="%{optflags}"
%check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
$python setup.py nosetests --with-coverage -vvv
%pytest %{buildroot}%{$python_sitearch}/cytoolz
}
%files %{python_files}