forked from pool/python-EasyProcess
Accepting request 788458 from home:mcalabkova:branches:devel:languages:python
- update to version 0.2.10 * test and code fixtures OBS-URL: https://build.opensuse.org/request/show/788458 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EasyProcess?expand=0&rev=36
This commit is contained in:
committed by
Git OBS Bridge
parent
11c0de9cff
commit
f0bea1853e
@@ -18,19 +18,19 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-EasyProcess
|
||||
Version: 0.2.8
|
||||
Version: 0.2.10
|
||||
Release: 0
|
||||
Summary: Python subprocess interface
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/ponty/easyprocess
|
||||
Source: https://github.com/ponty/EasyProcess/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module PyVirtualDisplay}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: iputils
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-2to3
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@@ -65,7 +65,6 @@ sed -i "s/'python'/sys.executable/" easyprocess/examples/*.py
|
||||
|
||||
# requires pyvirtualdisplay which is mostly dead package
|
||||
rm -f tests/coverage/fast/test_deadlock.py
|
||||
2to3 -w easyprocess/examples/log.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -76,7 +75,7 @@ rm -f tests/coverage/fast/test_deadlock.py
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v tests/coverage/
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v tests/
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
||||
Reference in New Issue
Block a user