- 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
This commit is contained in:
Tomáš Chvátal
2019-03-06 09:20:49 +00:00
committed by Git OBS Bridge
parent fbc4968736
commit bb3190eae4
4 changed files with 17 additions and 12 deletions

View File

@@ -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