Hello community,
here is the log from the commit of package python-EasyProcess for
openSUSE:Leap:15.2 checked in at 2020-02-21 23:48:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-EasyProcess (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-EasyProcess.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-EasyProcess"
Fri Feb 21 23:48:35 2020 rev:11 rq:776294 version:0.2.8
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-EasyProcess/python-EasyProcess.changes
2020-01-15 15:45:57.523341054 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-EasyProcess.new.26092/python-EasyProcess.changes
2020-02-21 23:48:36.628478104 +0100
@@ -1,0 +2,48 @@
+Mon Jan 13 15:13:26 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- update to version 0.2.8
+ * enable_stdout_log, enable_stderr_log
+ * py38 support
+ * remove py34 support
+
+-------------------------------------------------------------------
+Tue Nov 5 09:53:44 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update with spec-cleaner
+
+-------------------------------------------------------------------
+Sun Sep 15 03:11:23 UTC 2019 - John Vandenberg <[email protected]>
+
+- Fix examples to use sys.executable
+
+-------------------------------------------------------------------
+Mon Jun 17 12:15:09 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.2.7:
+ * Small fixes only
+
+-------------------------------------------------------------------
+Fri Apr 5 23:58:47 UTC 2019 - John Vandenberg <[email protected]>
+
+- Add export LANG=en_US.UTF-8 to fix Leap builds
+
+-------------------------------------------------------------------
+Fri Mar 1 12:54:05 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.2.5:
+ * Fixes for python 3.7
+ * Many utf8 fixes
+- Switch to github tarball for tests
+
+-------------------------------------------------------------------
+Wed Dec 5 01:05:28 UTC 2018 - Jan Engelhardt <[email protected]>
+
+- Trim bias from description. Do not put limitations under
+ "features".
+
+-------------------------------------------------------------------
+Tue Dec 4 12:47:32 UTC 2018 - Matej Cepl <[email protected]>
+
+- Remove superfluous devel dependency for noarch package
+
+-------------------------------------------------------------------
Old:
----
EasyProcess-0.2.3.tar.gz
New:
----
0.2.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-EasyProcess.spec ++++++
--- /var/tmp/diff_new_pack.67ryjv/_old 2020-02-21 23:48:36.932478707 +0100
+++ /var/tmp/diff_new_pack.67ryjv/_new 2020-02-21 23:48:36.932478707 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-EasyProcess
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,54 +12,60 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without test
Name: python-EasyProcess
-Version: 0.2.3
+Version: 0.2.8
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
-Source:
https://files.pythonhosted.org/packages/source/E/EasyProcess/EasyProcess-%{version}.tar.gz
+URL: https://github.com/ponty/easyprocess
+Source: https://github.com/ponty/EasyProcess/archive/%{version}.tar.gz
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module six}
BuildRequires: fdupes
+BuildRequires: iputils
BuildRequires: python-rpm-macros
BuildRequires: python3-2to3
-BuildRequires: %{python_module devel}
-BuildRequires: %{python_module setuptools}
-%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
+ - 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
%prep
%setup -q -n EasyProcess-%{version}
+# https://github.com/ponty/EasyProcess/issues/18
+sed -i "s/from easyprocess import EasyProcess/from easyprocess import
EasyProcess;import sys/" easyprocess/examples/*.py
+sed -i "s/'python /sys.executable + ' /" easyprocess/examples/*.py
+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
@@ -68,19 +74,13 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%if %{with test}
%check
-mkdir tester
-pushd tester
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-$python -B -m nose easyprocess
-}
-popd
-%endif
+export LANG=en_US.UTF-8
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib}
nosetests-%{$python_bin_suffix} -v tests/coverage/
%files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE.txt README.rst
+%license LICENSE.txt
+%doc README.rst
%{python_sitelib}/*
%changelog
++++++ EasyProcess-0.2.3.tar.gz -> 0.2.8.tar.gz ++++++
++++ 1744 lines of diff (skipped)