Hello community,

here is the log from the commit of package python-tqdm for openSUSE:Factory 
checked in at 2019-02-13 10:06:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tqdm (Old)
 and      /work/SRC/openSUSE:Factory/.python-tqdm.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tqdm"

Wed Feb 13 10:06:13 2019 rev:17 rq:673656 version:4.28.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tqdm/python-tqdm.changes  2019-01-03 
18:07:00.396120178 +0100
+++ /work/SRC/openSUSE:Factory/.python-tqdm.new.28833/python-tqdm.changes       
2019-02-13 10:06:33.269543541 +0100
@@ -1,0 +2,11 @@
+Tue Feb 12 10:45:37 UTC 2019 - Matej Cepl <mc...@suse.com>
+
+- Remove installed files after running the testsuite
+
+-------------------------------------------------------------------
+Sat Feb  9 13:37:08 CET 2019 - Matej Cepl <mc...@suse.com>
+
+- Switch to multibuild (with separate test) to avoid large
+  dependencies on the main package.
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-tqdm.spec ++++++
--- /var/tmp/diff_new_pack.A1IUSl/_old  2019-02-13 10:06:37.589542450 +0100
+++ /var/tmp/diff_new_pack.A1IUSl/_new  2019-02-13 10:06:37.593542449 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-tqdm
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -18,7 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         oldpython python
-Name:           python-tqdm
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define test 1
+%bcond_without test
+%define suffix -test
+%else
+%bcond_with test
+%define suffix %{nil}
+%endif
+Name:           python-tqdm%{suffix}
 Version:        4.28.1
 Release:        0
 Summary:        An extensible progress meter
@@ -33,13 +42,16 @@
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:      noarch
+%if %{with test}
 # SECTION test requirements
 BuildRequires:  %{python_module jupyter_ipython}
 BuildRequires:  %{python_module jupyter_ipywidgets}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module numpy}
 BuildRequires:  %{python_module pandas}
+BuildRequires:  %{python_module tqdm}
 # /SECTION
+%endif
 %python_subpackages
 
 %description
@@ -55,22 +67,28 @@
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/tqdm
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if !%{with test}
 %post
 %{python_install_alternative tqdm tqdm.1}
 
 %postun
 %python_uninstall_alternative tqdm
+%endif
 
+%if %{with test}
 %check
-%{python_expand export PATH="$PATH:%{buildroot}%{_bindir}"
-export PYTHONPATH=%{buildroot}%{$python_sitelib}
+%{python_expand PYTHONPATH=%{$python_sitelib}
 nosetests-%%{$python_bin_suffix} --ignore-files="tests_perf\.py" 
--ignore-files="tests_synchronisation\.py" tqdm/
 }
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc README.rst logo.png
 %doc examples/
@@ -80,5 +98,6 @@
 %{python_sitelib}/tqdm/*
 %{python_sitelib}/tqdm-%{version}-py%{py_ver}.egg-info/*
 %python_alternative %{_bindir}/tqdm
+%endif
 
 %changelog

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

Reply via email to