From 813ec6f48183b1c0d5844ef6e4b9d25d6c749255 Mon Sep 17 00:00:00 2001 From: FrantiĊĦek Zatloukal Date: Feb 15 2019 10:33:49 +0000 Subject: Release 0.9.6 --- diff --git a/.gitignore b/.gitignore index f7c9fbf..3a00a51 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /libtaskotron-0.9.3.tar.gz /libtaskotron-0.9.4.tar.gz /libtaskotron-0.9.5.tar.gz +/libtaskotron-0.9.6.tar.gz diff --git a/0001-Fix-libtaskotron-when-used-with-progressbar2.patch b/0001-Fix-libtaskotron-when-used-with-progressbar2.patch deleted file mode 100644 index 468c03b..0000000 --- a/0001-Fix-libtaskotron-when-used-with-progressbar2.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 3c497cb48c647e935ce598d3f26643fed9d0b47e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= -Date: Sun, 23 Dec 2018 00:15:04 +0100 -Subject: [PATCH] Fix libtaskotron when used with progressbar2 - -Replace dropped max_val with max_value ---- - libtaskotron/file_utils.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/libtaskotron/file_utils.py b/libtaskotron/file_utils.py -index 7f9ea00..2449f91 100644 ---- a/libtaskotron/file_utils.py -+++ b/libtaskotron/file_utils.py -@@ -185,7 +185,7 @@ def _download(url, dest, timeout=REQUESTS_TIMEOUT, chunk_size=REQUESTS_CHUNK_SIZ - else: - widgets = [progressbar.Percentage(), progressbar.Bar(), progressbar.ETA(), - progressbar.FileTransferSpeed()] -- pbar = progressbar.ProgressBar(widgets=widgets, maxval=int(total_len)).start() -+ pbar = progressbar.ProgressBar(widgets=widgets, max_value=int(total_len)).start() - - read = 0 - for chunk in r.iter_content(chunk_size): -@@ -195,9 +195,9 @@ def _download(url, dest, timeout=REQUESTS_TIMEOUT, chunk_size=REQUESTS_CHUNK_SIZ - # chunk can be smaller than chunk_size (end of file) or larger than it (content - # decompression) - read += min(len(chunk), chunk_size) -- # don't exceed pbar.maxval, which can happen due to content decompression (see -+ # don't exceed pbar.max_value, which can happen due to content decompression (see - # T755). This should not occur except for the last chunk. -- pbar.update(min(read, pbar.maxval)) -+ pbar.update(min(read, pbar.max_value)) - - - # http://stackoverflow.com/questions/11325019 --- -2.20.1 - diff --git a/libtaskotron.spec b/libtaskotron.spec index c3e9da2..ccd5276 100644 --- a/libtaskotron.spec +++ b/libtaskotron.spec @@ -1,6 +1,6 @@ Name: libtaskotron # NOTE: if you update version, *make sure* to also update `libtaskotron/__init__.py` -Version: 0.9.5 +Version: 0.9.6 Release: 1%{?dist} Summary: Taskotron Support Library @@ -270,6 +270,10 @@ cp -a data/* %{buildroot}%{_datarootdir}/libtaskotron %license LICENSE %changelog +* Fri Feb 15 2019 Frantisek Zatloukal - 0.9.6-1 +- Build scripts: Use Fedora 29 chroot +- ansible.cfg: configure ssh connection retry + * Fri Feb 08 2019 Frantisek Zatloukal - 0.9.5-1 - Drop dependency on python3-configparser - Support both progressbar and progressbar2 diff --git a/sources b/sources index 1fd22da..0d7216f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libtaskotron-0.9.5.tar.gz) = 7275fa422fbd863598cb42e919c1215327449977276896d262e6b69baa2b3c42ffe5069aafd1974e3a097a65a726825be6e27606fe7dbf379d4d54f69d8ccfd3 +SHA512 (libtaskotron-0.9.6.tar.gz) = 44693f670683dddc03bd3619723558ff10f7ff2926d3aef87c64ac543e2aa8d51bc090886b6cff3e1af8a8674cb44b3b252185d9baa78cc2167228cbf677a0e0