1
0

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

- Switch from nose to pytest

OBS-URL: https://build.opensuse.org/request/show/793827
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mistune?expand=0&rev=24
This commit is contained in:
Tomáš Chvátal 2020-04-14 10:56:56 +00:00 committed by Git OBS Bridge
parent 2da178cdd5
commit 7743105ac5
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 14 10:24:24 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- Switch from nose to pytest
-------------------------------------------------------------------
Mon Mar 4 08:56:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-mistune
#
# 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
@ -25,7 +25,7 @@ License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/lepture/mistune
Source0: https://files.pythonhosted.org/packages/source/m/mistune/mistune-%{version}.tar.gz
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -46,7 +46,7 @@ A markdown parser in pure Python, inspired by marked.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand nosetests-%{$python_bin_suffix}
%pytest
%files %{python_files}
%license LICENSE