Hello community,

here is the log from the commit of package python-process-tests for 
openSUSE:Factory checked in at 2017-04-03 11:05:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-process-tests (Old)
 and      /work/SRC/openSUSE:Factory/.python-process-tests.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-process-tests"

Mon Apr  3 11:05:25 2017 rev:2 rq:484228 version:1.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-process-tests/python-process-tests.changes    
    2015-10-30 13:43:09.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-process-tests.new/python-process-tests.changes
   2017-04-03 11:06:05.683317854 +0200
@@ -1,0 +2,6 @@
+Fri Mar 31 15:05:13 UTC 2017 - [email protected]
+
+- Updated to 1.2.1
+- Converted to single-spec
+
+-------------------------------------------------------------------

Old:
----
  process-tests-1.2.0.tar.gz

New:
----
  process-tests-1.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-process-tests.spec ++++++
--- /var/tmp/diff_new_pack.z3qclM/_old  2017-04-03 11:06:06.619185631 +0200
+++ /var/tmp/diff_new_pack.z3qclM/_new  2017-04-03 11:06:06.623185066 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-process-tests
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2015 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -14,40 +14,46 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-process-tests
-Version:        1.2.0
+Version:        1.2.1
 Release:        0
-License:        BSD-2-Clause
 Summary:        Tools for testing processes
-Url:            https://github.com/ionelmc/python-process-tests
+License:        BSD-2-Clause
 Group:          Development/Languages/Python
-Source:         
https://pypi.python.org/packages/source/p/process-tests/process-tests-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+Url:            https://github.com/ionelmc/python-process-tests
+Source:         
https://pypi.io/packages/source/p/process-tests/process-tests-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  dos2unix
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 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
-%endif
+%python_subpackages
 
 %description
-Tools for testing processes.
+Testcase classes and assertions for testing processes.
 
 %prep
 %setup -q -n process-tests-%{version}
+dos2unix LICENSE src/process_tests.egg-info/dependency_links.txt
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc README.rst LICENSE
-%{python_sitelib}/*
+%pycache_only %{python_sitelib}/__pycache__
+%{python_sitelib}/process_tests.py*
+%{python_sitelib}/process_tests-%{version}-py%{python_version}.egg-info
 
 %changelog

++++++ process-tests-1.2.0.tar.gz -> process-tests-1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/process-tests-1.2.0/PKG-INFO 
new/process-tests-1.2.1/PKG-INFO
--- old/process-tests-1.2.0/PKG-INFO    2015-09-27 02:35:55.000000000 +0200
+++ new/process-tests-1.2.1/PKG-INFO    2016-08-26 17:34:18.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: process-tests
-Version: 1.2.0
+Version: 1.2.1
 Summary: Tools for testing processes
 Home-page: https://github.com/ionelmc/python-process-tests
 Author: Ionel Cristian Mărieș
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/process-tests-1.2.0/setup.py 
new/process-tests-1.2.1/setup.py
--- old/process-tests-1.2.0/setup.py    2015-09-27 02:34:55.000000000 +0200
+++ new/process-tests-1.2.1/setup.py    2016-08-26 17:33:52.000000000 +0200
@@ -5,7 +5,7 @@
 
 setup(
     name="process-tests",
-    version="1.2.0",
+    version="1.2.1",
     url='https://github.com/ionelmc/python-process-tests',
     download_url='',
     license='BSD',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/process-tests-1.2.0/src/process_tests.egg-info/PKG-INFO 
new/process-tests-1.2.1/src/process_tests.egg-info/PKG-INFO
--- old/process-tests-1.2.0/src/process_tests.egg-info/PKG-INFO 2015-09-27 
02:35:55.000000000 +0200
+++ new/process-tests-1.2.1/src/process_tests.egg-info/PKG-INFO 2016-08-26 
17:34:18.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: process-tests
-Version: 1.2.0
+Version: 1.2.1
 Summary: Tools for testing processes
 Home-page: https://github.com/ionelmc/python-process-tests
 Author: Ionel Cristian Mărieș
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/process-tests-1.2.0/src/process_tests.py 
new/process-tests-1.2.1/src/process_tests.py
--- old/process-tests-1.2.0/src/process_tests.py        2015-09-27 
02:34:18.000000000 +0200
+++ new/process-tests-1.2.1/src/process_tests.py        2016-08-26 
17:32:41.000000000 +0200
@@ -166,7 +166,8 @@
                     raise
         finally:
             try:
-                self.proc.communicate()
+                out, _ = self.proc.communicate()
+                self.buff.write(out)
             except IOError as exc:
                 if exc.errno != errno.EAGAIN:
                     print('\nFailed to cleanup process:\n', file=sys.stderr)


Reply via email to