Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37562413
en ru br
ALT Linux repos
S:4.2.0-alt1

Group :: Development/Python3
RPM: python3-module-progressbar2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname progressbar2
%def_with check

Name: python3-module-%oname
Version: 4.2.0
Release: alt1

Summary: Text progress bar library for Python

License: LGPLv2.1+ or BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/progressbar2

# https://github.com/WoLpH/python-progressbar.git

Source: %name-%version.tar
Patch1: %oname-3.34.4-alt-doc.patch

BuildRequires(pre): rpm-build-python3

%if_with check
BuildRequires: python3-module-pytest
BuildRequires: python3-module-freezegun
BuildRequires: python3-module-python_utils
%endif

BuildArch: noarch

Conflicts: python3-module-progressbar

%description
A text progress bar is typically used to display the progress of a long
running operation, providing a visual cue that processing is underway.

The ProgressBar class manages the current progress, and the format of
the line is given by a number of widgets. A widget is an object that may
display differently depending on the state of the progress bar.

%prep
%setup
%patch1 -p1

%build
%python3_build

%install
%python3_install

%check
sed -i '/cov/d' pytest.ini
export PYTHONPATH=$PWD
py.test-3 -v

%files
%doc examples.py *.rst
%python3_sitelibdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin