15
0

- update to 0.3

* relpace nose with pytest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EasyProcess?expand=0&rev=39
This commit is contained in:
2020-07-09 00:08:24 +00:00
committed by Git OBS Bridge
parent 082af57d8a
commit fb1beca38f
4 changed files with 13 additions and 7 deletions

View File

@@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-EasyProcess%{psuffix}
Version: 0.2.10
Version: 0.3
Release: 0
Summary: Python subprocess interface
License: BSD-2-Clause
@@ -39,7 +39,7 @@ BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module PyVirtualDisplay}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
%endif
%python_subpackages
@@ -81,13 +81,13 @@ Limitations:
%check
%if %{with test}
export LANG=en_US.UTF-8
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v tests/
%pytest
%endif
%if !%{with test}
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%doc README.md
%{python_sitelib}/*
%endif