From 22463f2e42bb75a0b492d84ded5b0e42fd9adfdd Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sat, 4 Dec 2021 19:50:18 +0100 Subject: [PATCH] New upstream release Resolves: rhbz#1987117 Version: 1.6-1 --- 0001-fixup-moving-average-window.patch | 10 +++++----- python-progress.spec | 4 ++-- sources | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/0001-fixup-moving-average-window.patch b/0001-fixup-moving-average-window.patch index 769c68f..8b9de8e 100644 --- a/0001-fixup-moving-average-window.patch +++ b/0001-fixup-moving-average-window.patch @@ -36,7 +36,7 @@ index ef7c4cb..0c73842 100644 include README.rst LICENSE -include test_*.py diff --git a/progress/__init__.py b/progress/__init__.py -index e434c25..1cbdce6 100644 +index b434b30..71b2039 100644 --- a/progress/__init__.py +++ b/progress/__init__.py @@ -18,10 +18,7 @@ from collections import deque @@ -50,7 +50,7 @@ index e434c25..1cbdce6 100644 +from time import time - __version__ = '1.5' + __version__ = '1.6' @@ -30,19 +27,55 @@ HIDE_CURSOR = '\x1b[?25l' SHOW_CURSOR = '\x1b[?25h' @@ -113,7 +113,7 @@ index e434c25..1cbdce6 100644 for key, val in kwargs.items(): setattr(self, key, val) -@@ -62,23 +95,19 @@ class Infinite(object): +@@ -67,23 +100,19 @@ class Infinite(object): @property def elapsed(self): @@ -145,8 +145,8 @@ index e434c25..1cbdce6 100644 def update(self): pass -@@ -112,10 +141,7 @@ class Infinite(object): - return self.file.isatty() if self.check_tty else True +@@ -116,10 +145,7 @@ class Infinite(object): + raise AttributeError(msg) def next(self, n=1): - now = monotonic() diff --git a/python-progress.spec b/python-progress.spec index d61a6ab..f2ae997 100644 --- a/python-progress.spec +++ b/python-progress.spec @@ -19,8 +19,8 @@ %global pypi_name progress Name: python-%{pypi_name} -Version: 1.5 -Release: 10%{?dist} +Version: 1.6 +Release: 1%{?dist} Summary: Easy to use progress bars License: ISC diff --git a/sources b/sources index c6b40a1..a0bba33 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (progress-1.5.tar.gz) = a9bee3498746233f874da2d6509d052882d9592df69c223637279a1fae40174a4dc279b56a7558e95ed173b0d357ae07752501c577a3cb9c79e0f87095838896 +SHA512 (progress-1.6.tar.gz) = 58a614bba5a7273a42ba5e9607b3a965fec17f26a4f24563d4c13679ea32b23dda7509c5da81a2a34bebeeedd91154d0457ab8dac95cc7a092add2567249cc94