Hello community,
here is the log from the commit of package python-cytoolz for
openSUSE:Leap:15.2 checked in at 2020-04-08 12:48:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-cytoolz (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-cytoolz.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cytoolz"
Wed Apr 8 12:48:41 2020 rev:4 rq:790232 version:0.10.1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-cytoolz/python-cytoolz.changes
2020-03-09 18:04:22.300787912 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-cytoolz.new.3248/python-cytoolz.changes
2020-04-08 12:49:17.970370884 +0200
@@ -1,0 +2,5 @@
+Mon Mar 30 14:32:52 UTC 2020 - Paolo Stivanin <[email protected]>
+
+- Use pytest instead of nose
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cytoolz.spec ++++++
--- /var/tmp/diff_new_pack.SfTMXK/_old 2020-04-08 12:49:18.318371066 +0200
+++ /var/tmp/diff_new_pack.SfTMXK/_new 2020-04-08 12:49:18.322371068 +0200
@@ -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
@@ -22,11 +22,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
@@ -48,15 +47,17 @@
%install
%python_install
+%python_expand rm -r %{buildroot}%{$python_sitearch}/cytoolz/tests
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
- $python setup.py nosetests --with-coverage -vvv
-}
+mkdir testing
+pushd testing
+export PYTHONDONTWRITEBYTECODE=1
+%pytest_arch ../cytoolz/tests
+popd
%files %{python_files}
-%defattr(-,root,root,-)
%doc README.rst
%license LICENSE.txt
%{python_sitearch}/cytoolz/