14
0

Accepting request 1143266 from devel:languages:python

- update to 4.3.2:
  * disabling run-command until it is properly finished
- update to 4.3.1:
  * fixed typeerror on Windows thanks to @eachimei, excluded docs
    from install thanks to @mgorny and added readthedocs
    configuration file
- update to 4.3.0:
  * Added support for multithreading, multiprocessing, colors
    (16, 256 and full color) and many interactive terminal
    features such as continuous printing for a live ETA

- Update to version 4.2.0
- Update to version 4.1.0
  *

OBS-URL: https://build.opensuse.org/request/show/1143266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-progressbar2?expand=0&rev=5
This commit is contained in:
2024-02-01 17:05:53 +00:00
committed by Git OBS Bridge
4 changed files with 31 additions and 11 deletions

View File

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

View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Feb 1 08:47:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.3.2:
* disabling run-command until it is properly finished
- update to 4.3.1:
* fixed typeerror on Windows thanks to @eachimei, excluded docs
from install thanks to @mgorny and added readthedocs
configuration file
- update to 4.3.0:
* Added support for multithreading, multiprocessing, colors
(16, 256 and full color) and many interactive terminal
features such as continuous printing for a live ETA
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 7 06:29:07 UTC 2023 - pgajdos@suse.com Tue Mar 7 06:29:07 UTC 2023 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-progressbar2 # spec file for package python-progressbar2
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-progressbar2 Name: python-progressbar2
Version: 4.2.0 Version: 4.3.2
Release: 0 Release: 0
Summary: Python library to provide visual text-based progress to long running operations Summary: Python library to provide visual text-based progress to long running operations
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/WoLpH/python-progressbar URL: https://github.com/WoLpH/python-progressbar
Source: https://files.pythonhosted.org/packages/source/p/progressbar2/progressbar2-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/progressbar2/progressbar2-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-python-utils >= 2.3.0 Requires: python-python-utils >= 2.3.0
Conflicts: python-progressbar Conflicts: python-progressbar
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module dill}
BuildRequires: %{python_module freezegun} BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pygments}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-utils >= 2.3.0} BuildRequires: %{python_module python-utils >= 2.3.0}
# /SECTION # /SECTION
@@ -46,21 +50,23 @@ A Python Progressbar library to provide visual (yet text based) progress to long
rm pytest.ini rm pytest.ini
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# remove problematic section from pytest.ini # remove problematic section from pytest.ini
export PYTEST_ADDOPTS="--doctest-modules" export PYTEST_ADDOPTS="--doctest-modules"
export PYTHONPATH=$PWD export PYTHONPATH=$PWD
rm -v progressbar/terminal/os_specific/windows.py
%pytest %pytest
%files %{python_files} %files %{python_files}
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/progressbar
%{python_sitelib}/progressbar2-%{version}.dist-info
%changelog %changelog