From bb3190eae458bb6113eb03e2b259e294d5570acabaf83a5dc2fc33da5d7df96b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 6 Mar 2019 09:20:49 +0000 Subject: [PATCH] - Update to 2.11.2: * Fixes issue where new lines are printed upon iterating over a completed progress bar object. - Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyPrind?expand=0&rev=5 --- PyPrind-2.11.1.tar.gz | 3 --- PyPrind-2.11.2.tar.gz | 3 +++ python-PyPrind.changes | 7 +++++++ python-PyPrind.spec | 16 +++++++--------- 4 files changed, 17 insertions(+), 12 deletions(-) delete mode 100644 PyPrind-2.11.1.tar.gz create mode 100644 PyPrind-2.11.2.tar.gz diff --git a/PyPrind-2.11.1.tar.gz b/PyPrind-2.11.1.tar.gz deleted file mode 100644 index 88ee955..0000000 --- a/PyPrind-2.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d277923dfe3bde7d28cffa6cd334977ff8c7a4c71e217e8052b9084fc76191b4 -size 10902 diff --git a/PyPrind-2.11.2.tar.gz b/PyPrind-2.11.2.tar.gz new file mode 100644 index 0000000..e31b0a8 --- /dev/null +++ b/PyPrind-2.11.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c46cab453b805852853dfe29fd933aa88a2a516153909c695b098e9161a9e675 +size 11134 diff --git a/python-PyPrind.changes b/python-PyPrind.changes index b66e046..6b9f167 100644 --- a/python-PyPrind.changes +++ b/python-PyPrind.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 6 09:17:35 UTC 2019 - Tomáš Chvátal + +- Update to 2.11.2: + * Fixes issue where new lines are printed upon iterating over a completed progress bar object. +- Run tests + ------------------------------------------------------------------- Fri Jul 7 09:41:54 UTC 2017 - aloisio@gmx.com diff --git a/python-PyPrind.spec b/python-PyPrind.spec index b33c3ce..80f23b2 100644 --- a/python-PyPrind.spec +++ b/python-PyPrind.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyPrind # -# Copyright (c) 2017 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 @@ -12,25 +12,25 @@ # 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-%{**}} Name: python-PyPrind -Version: 2.11.1 +Version: 2.11.2 Release: 0 Summary: Python progress bar and percent indicator utility License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/rasbt/pyprind +URL: https://github.com/rasbt/pyprind Source0: https://files.pythonhosted.org/packages/source/P/PyPrind/PyPrind-%{version}.tar.gz -BuildRequires: %{python_module psutil} +BuildRequires: %{python_module psutil >= 3.2.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: python-psutil >= 3.2.0 BuildArch: noarch %python_subpackages @@ -53,12 +53,10 @@ computation progress. %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python %{_bindir}/py.test -v tests +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v tests %files %{python_files} -%defattr(-,root,root,-) %doc README.md %{python_sitelib}/* %changelog -