forked from pool/python-template-remover
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
This commit is contained in:
committed by
Git OBS Bridge
parent
f5b970452e
commit
07f4906a97
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 3 09:12:40 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- replace nose with pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 19 08:03:14 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user