forked from pool/python-progressbar
- Update to 2.3+hg20121105.3c94a3a1ebe1
+ See mercurial changes - Correctly fix non-executable-script rpmlint warning - No need to explicitly require python(abi), RPM does that since ages - Cleanup old SUSE version checks - Update to 2.3+hg20121105.3c94a3a1ebe1 + See mercurial changes - Add progressbar-python3-relative-imports.patch: Fix import paths OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-progressbar?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
f2184a5129
commit
0c8481b89a
27
progressbar-python3-relative-imports.patch
Normal file
27
progressbar-python3-relative-imports.patch
Normal file
@@ -0,0 +1,27 @@
|
||||
diff -ruN a/progressbar/__init__.py b/progressbar/__init__.py
|
||||
--- a/progressbar/__init__.py 2012-11-05 23:03:46.693882987 +0100
|
||||
+++ b/progressbar/__init__.py 2012-11-05 23:17:29.704908198 +0100
|
||||
@@ -44,6 +44,6 @@
|
||||
__date__ = '2011-05-14'
|
||||
__version__ = '2.3'
|
||||
|
||||
-from compat import *
|
||||
-from widgets import *
|
||||
-from progressbar import *
|
||||
+from progressbar.compat import *
|
||||
+from progressbar.widgets import *
|
||||
+from progressbar.progressbar import *
|
||||
Binärdateien a/progressbar/.__init__.py.swp and b/progressbar/.__init__.py.swp sind verschieden.
|
||||
diff -ruN a/progressbar/progressbar.py b/progressbar/progressbar.py
|
||||
--- a/progressbar/progressbar.py 2012-11-05 23:03:46.696882987 +0100
|
||||
+++ b/progressbar/progressbar.py 2012-11-05 23:18:44.677910496 +0100
|
||||
@@ -35,7 +35,7 @@
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
-import widgets
|
||||
+from progressbar import widgets
|
||||
|
||||
|
||||
class UnknownLength: pass
|
||||
Binärdateien a/progressbar/.progressbar.py.swp and b/progressbar/.progressbar.py.swp sind verschieden.
|
Reference in New Issue
Block a user