From 07f4906a97b6861d8efa016ff5e3f976469f3bf9979998026111fe45f57e7b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 3 Jun 2020 11:00:46 +0000 Subject: [PATCH] Accepting request 811058 from home:mcalabkova:branches:devel:languages:python - replace nose with pytest OBS-URL: https://build.opensuse.org/request/show/811058 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-template-remover?expand=0&rev=5 --- python-template-remover.changes | 5 +++++ python-template-remover.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-template-remover.changes b/python-template-remover.changes index 5844ab0..90a819e 100644 --- a/python-template-remover.changes +++ b/python-template-remover.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 3 09:12:40 UTC 2020 - Marketa Calabkova + +- replace nose with pytest + ------------------------------------------------------------------- Tue May 19 08:03:14 UTC 2020 - Petr Gajdos diff --git a/python-template-remover.spec b/python-template-remover.spec index 9955d9f..899c832 100644 --- a/python-template-remover.spec +++ b/python-template-remover.spec @@ -27,7 +27,7 @@ URL: https://github.com/deezer/template-remover Source: https://files.pythonhosted.org/packages/source/t/template-remover/template-remover-%{version}.tar.gz Source1: https://raw.githubusercontent.com/deezer/template-remover/master/LICENSE BuildRequires: %{python_module docopt >= 0.6.1} -BuildRequires: %{python_module nose >= 1.3} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -58,7 +58,7 @@ mv %{buildroot}%{_bindir}/remove_template.py %{buildroot}%{_bindir}/remove_templ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec -R setup.py nosetests +%pytest %post %python_install_alternative remove_template