]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
python-progressbar: Update to 2.3.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Jun 2013 17:12:36 +0000 (19:12 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 13 Jun 2013 17:12:36 +0000 (19:12 +0200)
python-progressbar/patches/progressbar-interrupt.patch [new file with mode: 0644]
python-progressbar/python-progressbar.nm

diff --git a/python-progressbar/patches/progressbar-interrupt.patch b/python-progressbar/patches/progressbar-interrupt.patch
new file mode 100644 (file)
index 0000000..d272722
--- /dev/null
@@ -0,0 +1,12 @@
+Index: progressbar-2.3/progressbar/__init__.py
+===================================================================
+--- progressbar-2.3.orig/progressbar/__init__.py
++++ progressbar-2.3/progressbar/__init__.py
+@@ -141,6 +141,7 @@ class ProgressBar(object):
+             try:
+                 self._handle_resize()
+                 signal.signal(signal.SIGWINCH, self._handle_resize)
++                signal.siginterrupt(signal.SIGWINCH, False)
+                 self.signal_set = True
+             except (SystemExit, KeyboardInterrupt): raise
+             except:
index 94e986713cfe52b7bb1e3b236dd308c06c1b11e1..52871c0e4fb1672be92342c59ebed3fc399fab73 100644 (file)
@@ -4,13 +4,13 @@
 ###############################################################################
 
 name       = python-progressbar
-version    = 2.2
+version    = 2.3
 release    = 1
 arch       = noarch
 thisapp    = progressbar-%{version}
 
 groups     = System/Libraries
-url        = http://pypi.python.org/pypi/progressbar
+url        = http://code.google.com/p/python-progressbar/
 license    = LGPLv2+
 summary    = Text progressbar library for python.
 
@@ -20,10 +20,11 @@ description
        processing is under way.
 end
 
-source_dl  =
+source_dl  = https://%{name}.googlecode.com/files/
 
 build
        requires
+               python-setuptools
                python-devel
        end