15
0

Accepting request 655545 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/655545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-EasyProcess?expand=0&rev=13
This commit is contained in:
2018-12-13 18:47:31 +00:00
committed by Git OBS Bridge
2 changed files with 29 additions and 18 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Dec 5 01:05:28 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Trim bias from description. Do not put limitations under
"features".
-------------------------------------------------------------------
Tue Dec 4 12:47:32 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Mon Aug 28 19:32:50 UTC 2017 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-EasyProcess
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -21,43 +21,43 @@
Name: python-EasyProcess
Version: 0.2.3
Release: 0
Url: https://github.com/ponty/easyprocess
Summary: Easy to use python subprocess interface
Summary: Python subprocess interface
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/ponty/easyprocess
Source: https://files.pythonhosted.org/packages/source/E/EasyProcess/EasyProcess-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-2to3
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module nose}
%endif
BuildArch: noarch
%python_subpackages
%description
EasyProcess is an easy to use python subprocess interface.
EasyProcess is a Python subprocess interface.
Features include:
- layer on top of subprocess module
- easy to start, stop programs
- easy to get standard output/error, return code of programs
- starting and stopping of programs
- retrieval of standard output/error, return code of programs
- command can be list or string
- logging
- timeout
- unit-tests
- cross-platform, development on linux
- global config file with program aliases
- global config file with program aliases
- unicode support
- supported python versions: 2.5, 2.6, 2.7, 3.1, 3.2, PyPy
Limitations:
- shell is not supported
- pipes are not supported
- stdout/stderr is set only after the subprocess has finished
- stop() does not kill whole subprocess tree
- unicode support
- supported python versions: 2.5, 2.6, 2.7, 3.1, 3.2, PyPy
- stop() does not kill whole subprocess tree
%prep
%setup -q -n EasyProcess-%{version}
@@ -79,8 +79,8 @@ popd
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%license LICENSE.txt
%doc README.rst
%{python_sitelib}/*
%changelog