14
0
Files
python-progressbar/progressbar-python3-relative-imports.patch
Todd R 4821dc76ae Accepting request 519996 from devel:languages:python:singlespec-staging
- Use progressbar-python3-relative-imports.patch on python2 and
  python3 since it is compatible with both.
- Make progressbar-python3-relative-imports.patch simpler.
- singlespec auto-conversion
- Require python-setuptools instead of distribute (upstreams merged)
- Update to 2.3+hg20121105.3c94a3a1ebe1
  + See mercurial changes
- python3 package added
- slight spec improvement
- license update: LGPL-2.1+ or BSD-3-Clause
  Look at License.txt
- Add a %changelog line
- Spec file cleanup:
  * Simplified macro mania
  * Removed unused build requirements
  * Set license to SDPX style (LGPL-3.0+)
- initial version (2.3)

OBS-URL: https://build.opensuse.org/request/show/519996
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-progressbar?expand=0&rev=17
2017-08-31 17:15:02 +00:00

28 lines
936 B
Diff

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 .compat import *
+from .widgets import *
+from .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 . import widgets
class UnknownLength: pass
Binärdateien a/progressbar/.progressbar.py.swp and b/progressbar/.progressbar.py.swp sind verschieden.