Hello community,

here is the log from the commit of package python-EasyProcess for 
openSUSE:Factory checked in at 2020-03-27 00:30:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-EasyProcess (Old)
 and      /work/SRC/openSUSE:Factory/.python-EasyProcess.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-EasyProcess"

Fri Mar 27 00:30:25 2020 rev:20 rq:788605 version:0.2.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-EasyProcess/python-EasyProcess.changes    
2020-01-16 18:15:08.356767728 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-EasyProcess.new.3160/python-EasyProcess.changes
  2020-03-27 00:30:32.180416029 +0100
@@ -1,0 +2,11 @@
+Thu Mar 26 16:00:25 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Switch to multibuild in order to avoid cycle
+
+-------------------------------------------------------------------
+Thu Mar 26 09:06:42 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com>
+
+- update to version 0.2.10
+  * test and code fixtures
+
+-------------------------------------------------------------------

Old:
----
  0.2.8.tar.gz

New:
----
  0.2.10.tar.gz
  _multibuild

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

Other differences:
------------------
++++++ python-EasyProcess.spec ++++++
--- /var/tmp/diff_new_pack.zaRwmO/_old  2020-03-27 00:30:33.076416483 +0100
+++ /var/tmp/diff_new_pack.zaRwmO/_new  2020-03-27 00:30:33.080416485 +0100
@@ -17,21 +17,31 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-EasyProcess
-Version:        0.2.8
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:           python-EasyProcess%{psuffix}
+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 nose}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  iputils
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-2to3
 BuildArch:      noarch
+%if %{with test}
+BuildRequires:  %{python_module PyVirtualDisplay}
+BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module six}
+%endif
 %python_subpackages
 
 %description
@@ -58,29 +68,27 @@
 
 %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
 
 %install
+%if !%{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %check
+%if %{with test}
 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/
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %license LICENSE.txt
 %doc README.rst
 %{python_sitelib}/*
+%endif
 
 %changelog

++++++ 0.2.8.tar.gz -> 0.2.10.tar.gz ++++++
++++ 1806 lines of diff (skipped)

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

Reply via email to