diff --git a/python-progressbar/patches/progressbar-interrupt.patch b/python-progressbar/patches/progressbar-interrupt.patch new file mode 100644 index 000000000..d2727221a --- /dev/null +++ b/python-progressbar/patches/progressbar-interrupt.patch @@ -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: diff --git a/python-progressbar/python-progressbar.nm b/python-progressbar/python-progressbar.nm index 94e986713..52871c0e4 100644 --- a/python-progressbar/python-progressbar.nm +++ b/python-progressbar/python-progressbar.nm @@ -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