14
0

Accepting request 823009 from home:dmacvicar:branches:devel:languages:python

- Update to v3.51.4
- Fix build (pytest)

- initial version

(btw, Leap 15.1 also builds when adding the :Update repository)

OBS-URL: https://build.opensuse.org/request/show/823009
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-progressbar2?expand=0&rev=3
This commit is contained in:
2020-07-29 12:47:29 +00:00
committed by Git OBS Bridge
parent b8c436d85c
commit 9e8341d579
4 changed files with 19 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ecf687696dd449067f69ef6730c4d4a0189db1f8d1aad9e376358354631d5b2c
size 314478

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13f228cf357f94cdef933c91c1e771e52e1b1931dbae48267be8fcdc2ae2ce36
size 206005

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jul 25 09:43:04 UTC 2020 - Duncan Mac-Vicar <dmacvicar@suse.com>
- Update to v3.51.4
- Fix build (pytest)
-------------------------------------------------------------------
Wed May 6 12:29:51 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -18,31 +18,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-progressbar2
Version: 3.51.3
Version: 3.51.4
Release: 0
Summary: Python progressbar library
Summary: Python library to provide visual text-based progress to long running operations
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/WoLpH/python-progressbar
Source: https://files.pythonhosted.org/packages/source/p/progressbar2/progressbar2-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-python-utils >= 2.3.0
Requires: python-six
Conflicts: python-progressbar
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module freezegun >= 0.3.11}
BuildRequires: %{python_module pytest >= 4.3.1}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-utils >= 2.3.0}
BuildRequires: %{python_module six}
# /SECTION
%python_subpackages
%description
A Python Progressbar library to provide visual (yet text based)
progress to long running operations.
A Python Progressbar library to provide visual (yet text based) progress to long running operations.
%prep
%setup -q -n progressbar2-%{version}
@@ -56,6 +54,9 @@ rm pytest.ini
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# remove problematic section from pytest.ini
export PYTEST_ADDOPTS="--doctest-modules"
export PYTHONPATH=$PWD
%pytest
%files %{python_files}