15
0

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
This commit is contained in:
Tomáš Chvátal
2020-05-04 13:02:19 +00:00
committed by Git OBS Bridge
parent ceb619b42e
commit 73567f1edb
2 changed files with 7 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 4 12:21:19 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Remove nose and use unittest instead
-------------------------------------------------------------------
Mon Oct 14 14:13:47 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@@ -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