commit python-progressbar for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-progressbar for 
openSUSE:Factory checked in at 2018-12-24 11:41:24

Comparing /work/SRC/openSUSE:Factory/python-progressbar (Old)
 and  /work/SRC/openSUSE:Factory/.python-progressbar.new.28833 (New)


Package is "python-progressbar"

Mon Dec 24 11:41:24 2018 rev:13 rq:659563 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/python-progressbar/python-progressbar.changes
2018-10-12 13:11:27.323234836 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-progressbar.new.28833/python-progressbar.changes
 2018-12-24 11:41:25.609450276 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:51:43 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-progressbar.spec ++
--- /var/tmp/diff_new_pack.NWKnnX/_old  2018-12-24 11:41:26.161449787 +0100
+++ /var/tmp/diff_new_pack.NWKnnX/_new  2018-12-24 11:41:26.165449783 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -21,11 +21,10 @@
 Version:2.5
 Release:0
 Summary:Text Progressbar Library for Python
-License:LGPL-2.1+ OR BSD-3-Clause
+License:LGPL-2.1-or-later OR BSD-3-Clause
 Group:  Development/Libraries/Python
 Url:https://github.com/niltonvolpato/python-progressbar
 Source: 
https://files.pythonhosted.org/packages/source/p/progressbar/progressbar-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 BuildArch:  noarch




commit python-progressbar for openSUSE:Factory

2018-10-12 Thread root
Hello community,

here is the log from the commit of package python-progressbar for 
openSUSE:Factory checked in at 2018-10-12 13:11:26

Comparing /work/SRC/openSUSE:Factory/python-progressbar (Old)
 and  /work/SRC/openSUSE:Factory/.python-progressbar.new (New)


Package is "python-progressbar"

Fri Oct 12 13:11:26 2018 rev:12 rq:641313 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/python-progressbar/python-progressbar.changes
2017-09-05 15:15:23.339813485 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-progressbar.new/python-progressbar.changes   
2018-10-12 13:11:27.323234836 +0200
@@ -1,0 +2,10 @@
+Thu Oct 11 15:18:59 UTC 2018 - Todd R 
+
+- Update to version 2.5
+  * fix issue with recursive import and mixed tabs with spaces
+  * Add support for python3.6
+  * Don't use `sys.stderr` as a default value 
+- Drop progressbar-python3-relative-imports.patch
+  It is included upstream
+
+---

Old:

  progressbar-2.3+hg20121105.3c94a3a1ebe1.tar.bz2
  progressbar-python3-relative-imports.patch

New:

  progressbar-2.5.tar.gz



Other differences:
--
++ python-progressbar.spec ++
--- /var/tmp/diff_new_pack.z6yIXS/_old  2018-10-12 13:11:27.911234001 +0200
+++ /var/tmp/diff_new_pack.z6yIXS/_new  2018-10-12 13:11:27.915233995 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-progressbar
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-progressbar
-Version:2.3+hg20121105.3c94a3a1ebe1
-%define eggver  2.3
+Version:2.5
 Release:0
 Summary:Text Progressbar Library for Python
-License:LGPL-2.1+ or BSD-3-Clause
+License:LGPL-2.1+ OR BSD-3-Clause
 Group:  Development/Libraries/Python
 Url:https://github.com/niltonvolpato/python-progressbar
-Source: progressbar-%{version}.tar.bz2
-Patch0: progressbar-python3-relative-imports.patch
+Source: 
https://files.pythonhosted.org/packages/source/p/progressbar/progressbar-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
@@ -40,9 +38,7 @@
 processing is underway.
 
 %prep
-%setup -q -n progressbar
-%patch0 -p1
-sed -i "/\/usr\/bin\/python/d" progressbar/*.py  # Correctly fix 
non-executable-script warning
+%setup -q -n progressbar-%{version}
 
 %build
 %python_build
@@ -51,9 +47,9 @@
 %python_install
 
 %files %{python_files}
-%defattr(-,root,root)
-%doc LICENSE.txt README.txt examples.py
+%doc README.txt examples.py
+%license LICENSE.txt
 %{python_sitelib}/progressbar/
-%{python_sitelib}/progressbar-%{eggver}-py*.egg-info
+%{python_sitelib}/progressbar-%{version}-py*.egg-info
 
 %changelog




commit python-progressbar for openSUSE:Factory

2017-09-05 Thread root
Hello community,

here is the log from the commit of package python-progressbar for 
openSUSE:Factory checked in at 2017-09-05 15:15:23

Comparing /work/SRC/openSUSE:Factory/python-progressbar (Old)
 and  /work/SRC/openSUSE:Factory/.python-progressbar.new (New)


Package is "python-progressbar"

Tue Sep  5 15:15:23 2017 rev:11 rq:519997 version:2.3+hg20121105.3c94a3a1ebe1

Changes:

--- /work/SRC/openSUSE:Factory/python-progressbar/python-progressbar.changes
2013-10-25 11:26:56.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-progressbar.new/python-progressbar.changes   
2017-09-05 15:15:23.339813485 +0200
@@ -1,0 +2,12 @@
+Thu Aug 31 17:13:34 UTC 2017 - toddrme2...@gmail.com
+
+- Use progressbar-python3-relative-imports.patch on python2 and
+  python3 since it is compatible with both.
+- Make progressbar-python3-relative-imports.patch simpler.
+
+---
+Thu Aug 24 13:49:59 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -40,0 +53 @@
+



Other differences:
--
++ python-progressbar.spec ++
--- /var/tmp/diff_new_pack.1jPFRm/_old  2017-09-05 15:15:23.935729721 +0200
+++ /var/tmp/diff_new_pack.1jPFRm/_new  2017-09-05 15:15:23.939729158 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-progressbar
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,23 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-progressbar
 Version:2.3+hg20121105.3c94a3a1ebe1
+%define eggver  2.3
 Release:0
 Summary:Text Progressbar Library for Python
 License:LGPL-2.1+ or BSD-3-Clause
 Group:  Development/Libraries/Python
-Url:http://code.google.com/p/python-progressbar/
+Url:https://github.com/niltonvolpato/python-progressbar
 Source: progressbar-%{version}.tar.bz2
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+Patch0: progressbar-python3-relative-imports.patch
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildArch:  noarch
-%endif
+
+%python_subpackages
 
 %description
 This library provides a text mode progressbar. This is tipically used to
@@ -40,18 +41,19 @@
 
 %prep
 %setup -q -n progressbar
+%patch0 -p1
 sed -i "/\/usr\/bin\/python/d" progressbar/*.py  # Correctly fix 
non-executable-script warning
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix="%{_prefix}" --root=%{buildroot}
+%python_install
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc LICENSE.txt README.txt examples.py
 %{python_sitelib}/progressbar/
-%{python_sitelib}/progressbar-2.3-py%{py_ver}.egg-info
+%{python_sitelib}/progressbar-%{eggver}-py*.egg-info
 
 %changelog

++ progressbar-python3-relative-imports.patch ++
--- /var/tmp/diff_new_pack.1jPFRm/_old  2017-09-05 15:15:23.967725223 +0200
+++ /var/tmp/diff_new_pack.1jPFRm/_new  2017-09-05 15:15:23.967725223 +0200
@@ -8,9 +8,9 @@
 -from compat import *
 -from widgets import *
 -from progressbar import *
-+from progressbar.compat import *
-+from progressbar.widgets import *
-+from progressbar.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
@@ -20,7 +20,7 @@
  pass
  
 -import widgets
-+from progressbar import widgets
++from . import widgets
  
  
  class UnknownLength: pass




commit python-progressbar for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-progressbar for 
openSUSE:Factory checked in at 2013-10-25 11:26:55

Comparing /work/SRC/openSUSE:Factory/python-progressbar (Old)
 and  /work/SRC/openSUSE:Factory/.python-progressbar.new (New)


Package is "python-progressbar"

Changes:

--- /work/SRC/openSUSE:Factory/python-progressbar/python-progressbar.changes
2012-11-14 17:01:03.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-progressbar.new/python-progressbar.changes   
2013-10-25 11:26:56.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:10:20 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-progressbar.spec ++
--- /var/tmp/diff_new_pack.iMGrO0/_old  2013-10-25 11:26:58.0 +0200
+++ /var/tmp/diff_new_pack.iMGrO0/_new  2013-10-25 11:26:58.0 +0200
@@ -25,7 +25,7 @@
 Url:http://code.google.com/p/python-progressbar/
 Source: progressbar-%{version}.tar.bz2
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-progressbar for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-progressbar for 
openSUSE:Factory checked in at 2013-06-19 16:45:10

Comparing /work/SRC/openSUSE:Factory/python-progressbar (Old)
 and  /work/SRC/openSUSE:Factory/.python-progressbar.new (New)


Package is "python-progressbar"

Changes:


Old:

  python3-progressbar.changes
  python3-progressbar.spec



Other differences:
--
++ python-progressbar.spec ++
--- /var/tmp/diff_new_pack.F5R5CQ/_old  2013-06-19 16:45:11.0 +0200
+++ /var/tmp/diff_new_pack.F5R5CQ/_new  2013-06-19 16:45:11.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-progressbar
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-progressbar for openSUSE:Factory

2012-11-14 Thread h_root
Hello community,

here is the log from the commit of package python-progressbar for 
openSUSE:Factory checked in at 2012-11-14 17:01:01

Comparing /work/SRC/openSUSE:Factory/python-progressbar (Old)
 and  /work/SRC/openSUSE:Factory/.python-progressbar.new (New)


Package is "python-progressbar", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-progressbar/python-progressbar.changes
2012-05-29 10:35:48.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-progressbar.new/python-progressbar.changes   
2012-11-14 17:01:03.0 +0100
@@ -1,0 +2,6 @@
+Mon Nov  5 22:20:32 UTC 2012 - sasc...@suse.de
+
+- Update to 2.3+hg20121105.3c94a3a1ebe1
+  + See mercurial changes
+
+---
--- /work/SRC/openSUSE:Factory/python-progressbar/python3-progressbar.changes   
2012-09-11 09:18:11.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-progressbar.new/python3-progressbar.changes  
2012-11-14 17:01:03.0 +0100
@@ -1,0 +2,14 @@
+Mon Nov  5 22:38:46 UTC 2012 - sasc...@suse.de
+
+- Correctly fix non-executable-script rpmlint warning
+- No need to explicitly require python(abi), RPM does that since ages
+- Cleanup old SUSE version checks
+
+---
+Mon Nov  5 22:21:08 UTC 2012 - sasc...@suse.de
+
+- Update to 2.3+hg20121105.3c94a3a1ebe1
+  + See mercurial changes
+- Add progressbar-python3-relative-imports.patch: Fix import paths
+
+---

Old:

  progressbar-2.3.tar.gz

New:

  progressbar-2.3+hg20121105.3c94a3a1ebe1.tar.bz2
  progressbar-python3-relative-imports.patch



Other differences:
--
++ python-progressbar.spec ++
--- /var/tmp/diff_new_pack.0YAzHF/_old  2012-11-14 17:01:04.0 +0100
+++ /var/tmp/diff_new_pack.0YAzHF/_new  2012-11-14 17:01:04.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-progressbar
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,23 +11,24 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-%define modname progressbar
-Name:   python-%{modname}
-Version:2.3
+
+
+Name:   python-progressbar
+Version:2.3+hg20121105.3c94a3a1ebe1
 Release:0
-License:LGPL-2.1+ or BSD-3-Clause
 Summary:Text Progressbar Library for Python
-Url:http://code.google.com/p/python-%{modname}/
+License:LGPL-2.1+ or BSD-3-Clause
 Group:  Development/Libraries/Python
-Source: 
http://python-progressbar.googlecode.com/files/%{modname}-%{version}.tar.gz
+Url:http://code.google.com/p/python-progressbar/
+Source: progressbar-%{version}.tar.bz2
 BuildRequires:  python-devel
 BuildRequires:  python-distribute
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %else
 BuildArch:  noarch
 %endif
@@ -38,7 +39,8 @@
 processing is underway.
 
 %prep
-%setup -q -n %{modname}-%{version}
+%setup -q -n progressbar
+sed -i "/\/usr\/bin\/python/d" progressbar/*.py  # Correctly fix 
non-executable-script warning
 
 %build
 python setup.py build
@@ -49,7 +51,7 @@
 %files
 %defattr(-,root,root)
 %doc LICENSE.txt README.txt examples.py
-%{python_sitelib}/%{modname}/
-%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/progressbar/
+%{python_sitelib}/progressbar-2.3-py%{py_ver}.egg-info
 
 %changelog

++ python3-progressbar.spec ++
--- /var/tmp/diff_new_pack.0YAzHF/_old  2012-11-14 17:01:04.0 +0100
+++ /var/tmp/diff_new_pack.0YAzHF/_new  2012-11-14 17:01:04.0 +0100
@@ -11,30 +11,24 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-%define modname progressbar
-Name:   python3-%{modname}
-Vers

commit python-progressbar for openSUSE:Factory

2012-09-11 Thread h_root
Hello community,

here is the log from the commit of package python-progressbar for 
openSUSE:Factory checked in at 2012-09-11 09:18:10

Comparing /work/SRC/openSUSE:Factory/python-progressbar (Old)
 and  /work/SRC/openSUSE:Factory/.python-progressbar.new (New)


Package is "python-progressbar", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-progressbar/python3-progressbar.changes   
2012-05-29 10:35:48.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-progressbar.new/python3-progressbar.changes  
2012-09-11 09:18:11.0 +0200
@@ -1,0 +2,8 @@
+Thu Sep  6 13:05:51 UTC 2012 - toddrme2...@gmail.com
+
+- Restore BuildRequires: python3  This package depends on hash
+  algorithms that are only available if python3 is installed,
+  python3-devel will not pull them in.  Building will fail if 
+  BuildRequires: python3 is removed.
+
+---



Other differences:
--
++ python3-progressbar.spec ++
--- /var/tmp/diff_new_pack.eZIlyT/_old  2012-09-11 09:18:20.0 +0200
+++ /var/tmp/diff_new_pack.eZIlyT/_new  2012-09-11 09:18:20.0 +0200
@@ -24,6 +24,7 @@
 Url:http://code.google.com/p/python-%{modname}/
 Group:  Development/Libraries/Python
 Source: 
http://python-progressbar.googlecode.com/files/%{modname}-%{version}.tar.gz
+BuildRequires:  python3
 BuildRequires:  python3-devel
 BuildRequires:  python3-distribute
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-progressbar for openSUSE:Factory

2012-05-29 Thread h_root
Hello community,

here is the log from the commit of package python-progressbar for 
openSUSE:Factory checked in at 2012-05-29 10:35:45

Comparing /work/SRC/openSUSE:Factory/python-progressbar (Old)
 and  /work/SRC/openSUSE:Factory/.python-progressbar.new (New)


Package is "python-progressbar", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-progressbar/python-progressbar.changes
2012-02-02 18:00:06.0 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-progressbar.new/python-progressbar.changes   
2012-05-29 10:35:48.0 +0200
@@ -1,0 +2,6 @@
+Wed May 23 02:44:33 UTC 2012 - highwaystar...@gmail.com
+
+- python3 package added
+- slight spec improvement
+
+---
New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-progressbar.new/python3-progressbar.changes  
2012-05-29 10:35:48.0 +0200
@@ -0,0 +1,11 @@
+---
+Fri May 25 08:33:12 UTC 2012 - toddrme2...@gmail.com
+
+- Fix building on openSUSE 11.4
+- spec file cleanups
+
+---
+Wed May 23 02:44:12 UTC 2012 - highwaystar...@gmail.com
+
+- python3 package added 
+

New:

  python3-progressbar.changes
  python3-progressbar.spec



Other differences:
--
++ python-progressbar.spec ++
--- /var/tmp/diff_new_pack.A4BL4s/_old  2012-05-29 10:35:52.0 +0200
+++ /var/tmp/diff_new_pack.A4BL4s/_new  2012-05-29 10:35:52.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-pip
+# spec file for package python-progressbar
 #
 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -14,15 +14,15 @@
 #
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
-
-Name:   python-progressbar
+%define modname progressbar
+Name:   python-%{modname}
 Version:2.3
 Release:0
 License:LGPL-2.1+ or BSD-3-Clause
 Summary:Text Progressbar Library for Python
-Url:http://code.google.com/p/python-progressbar/
+Url:http://code.google.com/p/python-%{modname}/
 Group:  Development/Libraries/Python
-Source: 
http://python-progressbar.googlecode.com/files/progressbar-%{version}.tar.gz
+Source: 
http://python-progressbar.googlecode.com/files/%{modname}-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-distribute
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -38,7 +38,7 @@
 processing is underway.
 
 %prep
-%setup -q -n progressbar-%{version}
+%setup -q -n %{modname}-%{version}
 
 %build
 python setup.py build
@@ -49,6 +49,7 @@
 %files
 %defattr(-,root,root)
 %doc LICENSE.txt README.txt examples.py
-%{python_sitelib}/*
+%{python_sitelib}/%{modname}/
+%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
 
 %changelog

++ python3-progressbar.spec ++
#
# spec file for package python3-progressbar
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

%define modname progressbar
Name:   python3-%{modname}
Version:2.3
Release:0
License:LGPL-2.1+ or BSD-3-Clause
Summary:Text Progressbar Library for Python
Url:http://code.google.com/p/python-%{modname}/
Group:  Development/Libraries/Python
Source: 
http://python-progressbar.googlecode.com/files/%{modname}-%{version}.tar.gz
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} <= 1140
%{!?python3_sitelib: %global python3_sitelib %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
%else 
BuildRequires:  python3-base
%endif
Requires:   python(abi) = %{py3_ver}
BuildArch: noarch

%description
This library provides a text mode progressb