14
0

Accepting request 823668 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/823668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-progressbar2?expand=0&rev=2
This commit is contained in:
2020-07-31 13:54:43 +00:00
committed by Git OBS Bridge
4 changed files with 25 additions and 10 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,16 @@
-------------------------------------------------------------------
Thu Jul 30 11:06:51 UTC 2020 - Duncan Mac-Vicar <dmacvicar@suse.com>
- Remove unnecessary python_module devel BuildRequires
- Restore conflicts with python-progressbar
- Restore BuildArch noarch
-------------------------------------------------------------------
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,9 +18,9 @@
%{?!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
@@ -33,16 +33,15 @@ 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 +55,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}