From 73567f1edb3ed21ecd49285ae01cd3aee951192b94229babdae29bc042499e68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 4 May 2020 13:02:19 +0000 Subject: [PATCH] Accepting request 800055 from home:polslinux:branches:devel:languages:python - Remove nose and use unittest instead OBS-URL: https://build.opensuse.org/request/show/800055 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-peppercorn?expand=0&rev=11 --- python-peppercorn.changes | 5 +++++ python-peppercorn.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/python-peppercorn.changes b/python-peppercorn.changes index 560217f..dcb6212 100644 --- a/python-peppercorn.changes +++ b/python-peppercorn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 4 12:21:19 UTC 2020 - Paolo Stivanin + +- Remove nose and use unittest instead + ------------------------------------------------------------------- Mon Oct 14 14:13:47 UTC 2019 - Matej Cepl diff --git a/python-peppercorn.spec b/python-peppercorn.spec index 7c8f5c9..1ed0e08 100644 --- a/python-peppercorn.spec +++ b/python-peppercorn.spec @@ -1,7 +1,7 @@ # # spec file for package python-peppercorn # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2017 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -26,8 +26,6 @@ License: BSD-4-Clause AND ZPL-2.1 AND MIT URL: https://docs.pylonsproject.org/projects/peppercorn/en/latest/ Source: https://files.pythonhosted.org/packages/source/p/peppercorn/peppercorn-%{version}.tar.gz # Testing requirements: -BuildRequires: %{python_module coverage} -BuildRequires: %{python_module nose} BuildRequires: %{python_module pylons-sphinx-themes} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -63,7 +61,7 @@ python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py nosetests --with-coverage +%python_exec -m unittest discover -v %files %{python_files} %if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320