Hello community,
here is the log from the commit of package python-EasyProcess for
openSUSE:Factory checked in at 2017-08-29 11:47:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-EasyProcess (Old)
and /work/SRC/openSUSE:Factory/.python-EasyProcess.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-EasyProcess"
Tue Aug 29 11:47:05 2017 rev:12 rq:519240 version:0.2.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-EasyProcess/python-EasyProcess.changes
2015-05-07 09:22:32.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-EasyProcess.new/python-EasyProcess.changes
2017-08-29 11:48:11.925494502 +0200
@@ -1,0 +2,8 @@
+Mon Aug 28 19:32:50 UTC 2017 - [email protected]
+
+- update to version 0.2.3:
+ * no changelog available
+- Implement single-spec version
+- Fix source URL
+
+-------------------------------------------------------------------
Old:
----
EasyProcess-0.1.9.tar.gz
New:
----
EasyProcess-0.2.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-EasyProcess.spec ++++++
--- /var/tmp/diff_new_pack.TFJXq3/_old 2017-08-29 11:48:12.957349064 +0200
+++ /var/tmp/diff_new_pack.TFJXq3/_new 2017-08-29 11:48:12.957349064 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-EasyProcess
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,27 +16,32 @@
#
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without test
Name: python-EasyProcess
-Version: 0.1.9
+Version: 0.2.3
Release: 0
Url: https://github.com/ponty/easyprocess
Summary: Easy to use python subprocess interface
License: BSD-2-Clause
Group: Development/Languages/Python
-Source:
http://pypi.python.org/packages/source/E/EasyProcess/EasyProcess-%{version}.tar.gz
-BuildRequires: python-devel
-BuildRequires: python-setuptools
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
-BuildArch: noarch
+Source:
https://files.pythonhosted.org/packages/source/E/EasyProcess/EasyProcess-%{version}.tar.gz
+BuildRequires: fdupes
+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.
-Features:
+Features include:
- layer on top of subprocess module
- easy to start, stop programs
- easy to get standard output/error, return code of programs
@@ -57,12 +62,23 @@
%setup -q -n EasyProcess-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%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
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%{python_sitelib}/*
++++++ EasyProcess-0.1.9.tar.gz -> EasyProcess-0.2.3.tar.gz ++++++
++++ 1669 lines of diff (skipped)