commit python3-Babel for openSUSE:Factory

2017-02-21 Thread root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2017-02-21 13:36:07

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is "python3-Babel"

Changes:

--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes  
2016-08-03 11:38:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2017-02-21 13:36:08.264582645 +0100
@@ -82,0 +83,5 @@
+Sun May 29 19:44:00 UTC 2016 - h...@urpla.net
+
+- add BuildRoot
+
+---



Other differences:
--
++ python3-Babel.spec ++
--- /var/tmp/diff_new_pack.SKssaM/_old  2017-02-21 13:36:09.428418463 +0100
+++ /var/tmp/diff_new_pack.SKssaM/_new  2017-02-21 13:36:09.428418463 +0100
@@ -37,6 +37,7 @@
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:  noarch
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 A collection of tools for internationalizing Python applications.




commit python3-Babel for openSUSE:Factory

2016-08-03 Thread h_root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2016-08-03 11:38:08

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is "python3-Babel"

Changes:

--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel-doc.changes  
2016-05-17 17:08:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel-doc.changes 
2016-08-03 11:38:09.0 +0200
@@ -1,0 +2,80 @@
+Sat Jul 23 19:23:40 UTC 2016 - a...@gmx.de
+
+- specfile:
+  * update source url
+
+- update to version 2.3.4:
+  * CLDR: The lxml library is no longer used for CLDR importing, so it
+should not cause strange failures either. Thanks to @aronbierbaum
+for the bug report and @jtwang for the
+fix. (https://github.com/python-babel/babel/pull/393)
+  * CLI: Every last single CLI usage regression should now be gone,
+and both distutils and stand-alone CLIs should work as they have
+in the past. Thanks to @paxswill and @ajaeger for bug
+reports. (https://github.com/python-babel/babel/pull/389)
+
+- changes from version 2.3.3:
+  * CLI: Usage regressions that had snuck in between 2.2 and 2.3
+should be no
+more. (https://github.com/python-babel/babel/pull/386) Thanks to
+@ajaeger, @sebdiem and @jcristovao for bug reports and patches.
+
+- changes from version 2.3.2:
+  * Dates: Period (am/pm) formatting was broken in certain locales
+(namely zh_TW). Thanks to @jun66j5 for the bug
+report. (https://github.com/python-babel/babel/issues/378,
+https://github.com/python-babel/babel/issues/379)
+
+- changes from version 2.3.1:
+  * (Bugfix release because of deployment problems, released on April
+8th)
+
+- changes from version 2.3:
+  * Internal improvements
++ The CLI frontend and Distutils commands use a shared
+  implementation (https://github.com/python-babel/babel/pull/311)
++ PyPy3 is supported
+  (https://github.com/python-babel/babel/pull/343)
+  * Features
++ CLDR: Add an API for territory language data
+  (https://github.com/python-babel/babel/pull/315)
++ Core: Character order and measurement system data is imported
+  and exposed (https://github.com/python-babel/babel/pull/368)
++ Dates: Add an API for time interval formatting
+  (https://github.com/python-babel/babel/pull/316)
++ Dates: More pattern formats and lengths are supported
+  (https://github.com/python-babel/babel/pull/347)
++ Dates: Period IDs are imported and exposed
+  (https://github.com/python-babel/babel/pull/349)
++ Dates: Support for date-time skeleton formats has been added
+  (https://github.com/python-babel/babel/pull/265)
++ Dates: Timezone formatting has been improved
+  (https://github.com/python-babel/babel/pull/338)
++ Messages: JavaScript extraction now supports dotted names, ES6
+  template strings and JSX tags
+  (https://github.com/python-babel/babel/pull/332)
++ Messages: npgettext is recognized by default
+  (https://github.com/python-babel/babel/pull/341)
++ Messages: The CLI learned to accept multiple domains
+  (https://github.com/python-babel/babel/pull/335)
++ Messages: The extraction commands now accept filenames in
+  addition to directories
+  (https://github.com/python-babel/babel/pull/324)
++ Units: A new API for unit formatting is implemented
+  (https://github.com/python-babel/babel/pull/369)
+  * Bugfixes
++ Core: Mixed-case locale IDs work more reliably
+  (https://github.com/python-babel/babel/pull/361)
++ Dates: S...S formats work correctly now
+  (https://github.com/python-babel/babel/pull/360)
++ Messages: All messages are now sorted correctly if sorting has
+  been specified (https://github.com/python-babel/babel/pull/300)
++ Messages: Fix the unexpected behavior caused by catalog header
+  updating (e0e7ef1)
+  (https://github.com/python-babel/babel/pull/320)
++ Messages: Gettext operands are now generated correctly
+  (https://github.com/python-babel/babel/pull/295)
++ Messages: Message extraction has been taught to detect encodings
+  better (https://github.com/python-babel/babel/pull/274)
+
+---
--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes  
2016-05-17 17:08:31.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2016-08-03 11:38:09.0 +0200
@@ -1,0 +2,81 @@
+Sat Jul 23 19:23:40 UTC 2016 - a...@gmx.de
+
+- specfile:
+  * remove fix-timezone-test.patch, fixed upstream
+  * updated patch
+
+- update to version 2.3.4:
+  * CLDR: The lxml library is no longer used for CLDR 

commit python3-Babel for openSUSE:Factory

2016-05-17 Thread h_root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2016-05-17 17:08:30

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is "python3-Babel"

Changes:

--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel-doc.changes  
2016-02-05 00:30:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel-doc.changes 
2016-05-17 17:08:31.0 +0200
@@ -1,0 +2,8 @@
+Sun May  8 06:56:52 UTC 2016 - a...@gmx.de
+
+- specfile:
+  * changed to https for source url
+  * updated source url to files.pythonhosted.org
+
+
+---
--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes  
2016-02-05 00:30:40.0 +0100
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2016-05-17 17:08:31.0 +0200
@@ -1,0 +2,8 @@
+Sun May  8 06:56:50 UTC 2016 - a...@gmx.de
+
+- specfile:
+  * changed to https for source url
+  * updated source url to files.pythonhosted.org
+
+
+---



Other differences:
--
++ python3-Babel.spec ++
--- /var/tmp/diff_new_pack.7RFTmn/_old  2016-05-17 17:08:32.0 +0200
+++ /var/tmp/diff_new_pack.7RFTmn/_new  2016-05-17 17:08:32.0 +0200
@@ -23,7 +23,7 @@
 Summary:Internationalization utilities
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Source: 
http://pypi.python.org/packages/source/B/Babel/Babel-%{version}.tar.gz
+Source: 
https://files.pythonhosted.org/packages/source/B/Babel/Babel-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE fix-timezone-test.patch (taken from upstream)
 Patch0: fix-timezone-test.patch
 # PATCH-FIX-OPENSUSE skip-dst-tests.patch -- drop DST related tests (#156)




commit python3-Babel for openSUSE:Factory

2016-02-04 Thread h_root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2016-02-05 00:30:39

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is "python3-Babel"

Changes:

--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel-doc.changes  
2015-10-24 10:22:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel-doc.changes 
2016-02-05 00:30:40.0 +0100
@@ -1,0 +2,44 @@
+Sat Jan 30 17:38:50 UTC 2016 - a...@gmx.de
+
+- specfile:
+  * update copyright year
+  * no README in tar-ball, removed from %doc
+
+- update to version 2.2.0:
+  * Bugfixes
++ General: Add __hash__ to Locale. (#303) (2aa8074)
++ General: Allow files with BOM if they're UTF-8 (#189) (da87edd)
++ General: localedata directory is now locale-data (#109)
+  (2d1882e)
++ General: odict: Fix pop method (0a9e97e)
++ General: Removed uses of datetime.date class from *.dat files
+  (#174) (94f6830)
++ Messages: Fix plural selection for chinese (531f666)
++ Messages: Fix typo and add semicolon in plural_forms (5784501)
++ Messages: Flatten NullTranslations.files into a list (ad11101)
++ Times: FixedOffsetTimezone: fix display of negative offsets
+  (d816803)
+  * Features
++ CLDR: Update to CLDR 28 (#292) (9f7f4d0)
++ General: Add __copy__ and __deepcopy__ to LazyProxy. (a1cc3f1)
++ General: Add official support for Python 3.4 and 3.5
++ General: Improve odict performance by making key search O(1)
+  (6822b7f)
++ Locale: Add an ordinal_form property to Locale (#270) (b3f3430)
++ Locale: Add support for list formatting (37ce4fa, be6e23d)
++ Locale: Check inheritance exceptions first (3ef0d6d)
++ Messages: Allow file locations without line numbers (#279)
+  (79bc781)
++ Messages: Allow passing a callable to `extract()` (#289)
+  (3f58516)
++ Messages: Support 'Language' header field of PO files (#76)
+  (3ce842b)
++ Messages: Update catalog headers from templates (e0e7ef1)
++ Numbers: Properly load and expose currency format types (#201)
+  (df676ab)
++ Numbers: Use cdecimal by default when available (b6169be)
++ Numbers: Use the CLDR's suggested number of decimals for
+  format_currency (#139) (201ed50)
++ Times: Add format_timedelta(format='narrow') support (edc5eb5)
+
+---
--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes  
2015-10-24 10:22:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2016-02-05 00:30:40.0 +0100
@@ -1,0 +2,43 @@
+Sat Jan 30 17:38:50 UTC 2016 - a...@gmx.de
+
+- specfile:
+  * update copyright year
+
+- update to version 2.2.0:
+  * Bugfixes
++ General: Add __hash__ to Locale. (#303) (2aa8074)
++ General: Allow files with BOM if they're UTF-8 (#189) (da87edd)
++ General: localedata directory is now locale-data (#109)
+  (2d1882e)
++ General: odict: Fix pop method (0a9e97e)
++ General: Removed uses of datetime.date class from *.dat files
+  (#174) (94f6830)
++ Messages: Fix plural selection for chinese (531f666)
++ Messages: Fix typo and add semicolon in plural_forms (5784501)
++ Messages: Flatten NullTranslations.files into a list (ad11101)
++ Times: FixedOffsetTimezone: fix display of negative offsets
+  (d816803)
+  * Features
++ CLDR: Update to CLDR 28 (#292) (9f7f4d0)
++ General: Add __copy__ and __deepcopy__ to LazyProxy. (a1cc3f1)
++ General: Add official support for Python 3.4 and 3.5
++ General: Improve odict performance by making key search O(1)
+  (6822b7f)
++ Locale: Add an ordinal_form property to Locale (#270) (b3f3430)
++ Locale: Add support for list formatting (37ce4fa, be6e23d)
++ Locale: Check inheritance exceptions first (3ef0d6d)
++ Messages: Allow file locations without line numbers (#279)
+  (79bc781)
++ Messages: Allow passing a callable to `extract()` (#289)
+  (3f58516)
++ Messages: Support 'Language' header field of PO files (#76)
+  (3ce842b)
++ Messages: Update catalog headers from templates (e0e7ef1)
++ Numbers: Properly load and expose currency format types (#201)
+  (df676ab)
++ Numbers: Use cdecimal by default when available (b6169be)
++ Numbers: Use the CLDR's suggested number of decimals for
+  format_currency (#139) (201ed50)
++ Times: Add format_timedelta(format='narrow') support (edc5eb5)
+
+---

Old:

  Babel-2.1.1.tar.gz

New:

  Babel-2.2.0.tar.gz



commit python3-Babel for openSUSE:Factory

2015-10-24 Thread h_root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2015-10-24 10:22:24

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is "python3-Babel"

Changes:

--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel-doc.changes  
2015-07-14 17:44:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel-doc.changes 
2015-10-24 10:22:36.0 +0200
@@ -1,0 +2,33 @@
+Mon Oct  5 06:12:09 UTC 2015 - a...@gmx.de
+
+- update to version 2.1.1:
+  * Fix Locale.parse using "global.dat" incompatible types
+(https://github.com/python-babel/babel/issues/174)
+  * Fix display of negative offsets in "FixedOffsetTimezone"
+(https://github.com/python-babel/babel/issues/214)
+  * Improved odict performance which is used during localization file
+build, should improve compilation time for large projects
+  * Add support for "narrow" format for "format_timedelta"
+  * Add universal wheel support
+  * Support 'Language' header field in .PO files
+(fixes https://github.com/python-babel/babel/issues/76)
+  * Test suite enhancements (coverage, broken tests fixed, etc)
+  * Documentation updated
+
+- changes from version 2.0:
+  * Added support for looking up currencies that belong to a territory
+through the :func:`babel.numbers.get_territory_currencies`
+function.
+  * Improved Python 3 support.
+  * Fixed some broken tests for timezone behavior.
+  * Improved various smaller things for dealing with dates.
+
+- changes from version 1.4:
+  * Fixed a bug that caused deprecated territory codes not being
+converted properly by the subtag resolving.  This for instance
+showed up when trying to use "und_UK" as a language code
+which now properly resolves to "en_GB".
+  * Fixed a bug that made it impossible to import the CLDR data
+from scratch on windows systems.
+
+---
--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes  
2015-07-14 17:44:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2015-10-24 10:22:36.0 +0200
@@ -1,0 +2,36 @@
+Mon Oct  5 06:12:09 UTC 2015 - a...@gmx.de
+
+- specfile:
+  * adjusted patch: skip-dst-tests.patch
+
+- update to version 2.1.1:
+  * Fix Locale.parse using "global.dat" incompatible types
+(https://github.com/python-babel/babel/issues/174)
+  * Fix display of negative offsets in "FixedOffsetTimezone"
+(https://github.com/python-babel/babel/issues/214)
+  * Improved odict performance which is used during localization file
+build, should improve compilation time for large projects
+  * Add support for "narrow" format for "format_timedelta"
+  * Add universal wheel support
+  * Support 'Language' header field in .PO files
+(fixes https://github.com/python-babel/babel/issues/76)
+  * Test suite enhancements (coverage, broken tests fixed, etc)
+  * Documentation updated
+
+- changes from version 2.0:
+  * Added support for looking up currencies that belong to a territory
+through the :func:`babel.numbers.get_territory_currencies`
+function.
+  * Improved Python 3 support.
+  * Fixed some broken tests for timezone behavior.
+  * Improved various smaller things for dealing with dates.
+
+- changes from version 1.4:
+  * Fixed a bug that caused deprecated territory codes not being
+converted properly by the subtag resolving.  This for instance
+showed up when trying to use "und_UK" as a language code
+which now properly resolves to "en_GB".
+  * Fixed a bug that made it impossible to import the CLDR data
+from scratch on windows systems.
+
+---

Old:

  Babel-1.3.tar.gz

New:

  Babel-2.1.1.tar.gz



Other differences:
--
++ python3-Babel-doc.spec ++
--- /var/tmp/diff_new_pack.eJtz9U/_old  2015-10-24 10:22:37.0 +0200
+++ /var/tmp/diff_new_pack.eJtz9U/_new  2015-10-24 10:22:37.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python3-Babel-doc
-Version:1.3
+Version:2.1.1
 Release:0
 Url:http://babel.edgewall.org/
 Summary:Internationalization utilities

++ python3-Babel.spec ++
--- /var/tmp/diff_new_pack.eJtz9U/_old  2015-10-24 10:22:37.0 +0200
+++ /var/tmp/diff_new_pack.eJtz9U/_new  2015-10-24 10:22:37.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python3-Babel
-Version:1.3
+Version:2.1.1
 Release:0
 Url:http://babel.pocoo.org/
 Summary:Internationalization utilities

++ Babel-1.3.tar.gz -> 

commit python3-Babel for openSUSE:Factory

2015-07-14 Thread h_root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2015-07-14 17:43:26

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is python3-Babel

Changes:

New Changes file:

--- /dev/null   2015-06-25 09:04:34.320025005 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel-doc.changes 
2015-07-14 17:44:33.0 +0200
@@ -0,0 +1,5 @@
+---
+Wed Jul  8 13:13:34 UTC 2015 - toddrme2...@gmail.com
+
+- Split documentation into separate package to avoid build loop
+
--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes  
2015-05-30 12:33:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2015-07-14 17:44:33.0 +0200
@@ -1,0 +2,5 @@
+Wed Jul  8 13:13:43 UTC 2015 - toddrme2...@gmail.com
+
+- Split documentation into separate package to avoid build loop
+
+---

New:

  python3-Babel-doc.changes
  python3-Babel-doc.spec



Other differences:
--
++ python3-Babel-doc.spec ++
#
# spec file for package python3-Babel-doc
#
# Copyright (c) 2015 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
# 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/
#


Name:   python3-Babel-doc
Version:1.3
Release:0
Url:http://babel.edgewall.org/
Summary:Internationalization utilities
License:BSD-3-Clause
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/B/Babel/Babel-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3-Sphinx
BuildArch:  noarch

%description
A collection of tools for internationalizing Python applications.

This package contains the documentation for Babel


%prep
%setup -q -n Babel-%{version}

%build
python3 setup.py build_sphinx  rm build/sphinx/html/.buildinfo

%install
# Only building documentation

%files
%defattr(-,root,root,-)
%doc LICENSE build/sphinx/html

%changelog
++ python3-Babel.spec ++
--- /var/tmp/diff_new_pack.e4WYpa/_old  2015-07-14 17:44:34.0 +0200
+++ /var/tmp/diff_new_pack.e4WYpa/_new  2015-07-14 17:44:34.0 +0200
@@ -31,8 +31,6 @@
 BuildRequires:  fdupes
 BuildRequires:  python3-devel = 3.3
 BuildRequires:  python3-setuptools
-# Documentation requirements:
-BuildRequires:  python3-Sphinx
 # Test requirements:
 BuildRequires:  python3-py = 1.4.14
 BuildRequires:  python3-pytest = 2.3.5
@@ -53,7 +51,6 @@
 
 %build
 python3 setup.py build
-python3 setup.py build_sphinx  rm build/sphinx/html/.buildinfo
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
@@ -82,7 +79,7 @@
 
 %files
 %defattr(-,root,root,-)
-%doc LICENSE CHANGES README build/sphinx/html
+%doc LICENSE CHANGES README
 %ghost %{_sysconfdir}/alternatives/pybabel
 %{_bindir}/pybabel
 %{_bindir}/pybabel-%{py3_ver}




commit python3-Babel for openSUSE:Factory

2015-05-30 Thread h_root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2015-05-30 12:33:11

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is python3-Babel

Changes:

--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes  
2015-02-05 11:00:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2015-05-30 12:33:12.0 +0200
@@ -1,0 +2,8 @@
+Sat May 23 08:56:00 UTC 2015 - benoit.mo...@gmx.fr
+
+- update project URL
+- add skip-dst-tests.patch: drop DST related tests (workaround
+  issue #156)
+- fix update-alternatives
+
+---

New:

  skip-dst-tests.patch



Other differences:
--
++ python3-Babel.spec ++
--- /var/tmp/diff_new_pack.OnyTPT/_old  2015-05-30 12:33:13.0 +0200
+++ /var/tmp/diff_new_pack.OnyTPT/_new  2015-05-30 12:33:13.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-Babel
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -19,13 +19,15 @@
 Name:   python3-Babel
 Version:1.3
 Release:0
-Url:http://babel.edgewall.org/
+Url:http://babel.pocoo.org/
 Summary:Internationalization utilities
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/B/Babel/Babel-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE fix-timezone-test.patch (taken from upstream)
 Patch0: fix-timezone-test.patch
+# PATCH-FIX-OPENSUSE skip-dst-tests.patch -- drop DST related tests (#156)
+Patch1: skip-dst-tests.patch
 BuildRequires:  fdupes
 BuildRequires:  python3-devel = 3.3
 BuildRequires:  python3-setuptools
@@ -46,6 +48,7 @@
 %prep
 %setup -q -n Babel-%{version}
 %patch0 -p0
+%patch1 -p1
 sed -i s/pybabel =/pybabel-%{py3_ver} =/ setup.py
 
 %build
@@ -54,7 +57,11 @@
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-ln -s %{_bindir}/pybabel-%{py3_ver} %{buildroot}%{_bindir}/pybabel
+
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+touch %{buildroot}%{_sysconfdir}/alternatives/pybabel
+ln -sf %{_sysconfdir}/alternatives/pybabel %{buildroot}%{_bindir}/pybabel
+
 %fdupes -s %{buildroot}%{python_sitelib}
 
 %check
@@ -68,7 +75,7 @@
 %post
 update-alternatives --install %{_bindir}/pybabel pybabel 
%{_bindir}/pybabel-%{py3_ver} 30
 
-%preun
+%postun
 if [ $1 -eq 0 ] ; then
 update-alternatives --remove pybabel %{_bindir}/pybabel-%{py3_ver}
 fi
@@ -76,7 +83,8 @@
 %files
 %defattr(-,root,root,-)
 %doc LICENSE CHANGES README build/sphinx/html
-%ghost %{_bindir}/pybabel
+%ghost %{_sysconfdir}/alternatives/pybabel
+%{_bindir}/pybabel
 %{_bindir}/pybabel-%{py3_ver}
 %{python3_sitelib}/*
 

++ skip-dst-tests.patch ++
Index: Babel-1.3/tests/test_dates.py
===
--- Babel-1.3.orig/tests/test_dates.py
+++ Babel-1.3/tests/test_dates.py
@@ -175,18 +175,6 @@ class DateTimeFormatTestCase(unittest.Te
 fmt = dates.DateTimeFormat(d, locale='en_US')
 self.assertEqual('', fmt[''])
 
-def test_timezone_rfc822(self):
-tz = timezone('Europe/Berlin')
-t = time(15, 30, tzinfo=tz)
-fmt = dates.DateTimeFormat(t, locale='de_DE')
-self.assertEqual('+0100', fmt['Z'])
-
-def test_timezone_gmt(self):
-tz = timezone('Europe/Berlin')
-t = time(15, 30, tzinfo=tz)
-fmt = dates.DateTimeFormat(t, locale='de_DE')
-self.assertEqual('GMT+01:00', fmt[''])
-
 def test_timezone_name(self):
 tz = timezone('Europe/Paris')
 dt = datetime(2007, 4, 1, 15, 30, tzinfo=tz)
@@ -379,13 +367,6 @@ def test_get_timezone_gmt():
 dt = datetime(2007, 4, 1, 15, 30)
 assert dates.get_timezone_gmt(dt, locale='en') == u'GMT+00:00'
 
-tz = timezone('America/Los_Angeles')
-dt = datetime(2007, 4, 1, 15, 30, tzinfo=tz)
-assert dates.get_timezone_gmt(dt, locale='en') == u'GMT-08:00'
-assert dates.get_timezone_gmt(dt, 'short', locale='en') == u'-0800'
-
-assert dates.get_timezone_gmt(dt, 'long', locale='fr_FR') == u'UTC-08:00'
-
 
 def test_get_timezone_location():
 tz = timezone('America/St_Johns')



commit python3-Babel for openSUSE:Factory

2015-02-05 Thread h_root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2015-02-05 11:00:49

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is python3-Babel

Changes:

--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes  
2014-11-18 22:45:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2015-02-05 11:00:52.0 +0100
@@ -1,0 +2,9 @@
+Thu Jan 29 00:43:53 UTC 2015 - a...@gmx.de
+
+- Add fix-timezone-test.patch: already included upstream
+
+- specfile:
+  * updated copyright year
+  * added patch
+  
+---

New:

  fix-timezone-test.patch



Other differences:
--
++ python3-Babel.spec ++
--- /var/tmp/diff_new_pack.yVB7NU/_old  2015-02-05 11:00:53.0 +0100
+++ /var/tmp/diff_new_pack.yVB7NU/_new  2015-02-05 11:00:53.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-Babel
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -24,6 +24,8 @@
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/B/Babel/Babel-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE fix-timezone-test.patch (taken from upstream)
+Patch0: fix-timezone-test.patch
 BuildRequires:  fdupes
 BuildRequires:  python3-devel = 3.3
 BuildRequires:  python3-setuptools
@@ -43,6 +45,7 @@
 
 %prep
 %setup -q -n Babel-%{version}
+%patch0 -p0
 sed -i s/pybabel =/pybabel-%{py3_ver} =/ setup.py
 
 %build

++ fix-timezone-test.patch ++
--- babel/dates.py.old  2015-01-28 16:54:06.306129842 -0800
+++ babel/dates.py  2015-01-28 16:54:44.574118917 -0800
@@ -308,7 +308,9 @@
 datetime = datetime.replace(tzinfo=UTC)
 locale = Locale.parse(locale)
 
-offset = datetime.tzinfo.utcoffset(datetime)
+# fix for mitsuhiko/babel#133 : Any time will do since we just want the
+# offset
+offset = datetime.tzinfo.utcoffset(datetime_.utcnow())
 seconds = offset.days * 24 * 60 * 60 + offset.seconds
 hours, seconds = divmod(seconds, 3600)
 if width == 'short':
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python3-Babel for openSUSE:Factory

2014-11-18 Thread h_root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2014-11-18 22:44:58

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is python3-Babel

Changes:

--- /work/SRC/openSUSE:Factory/python3-Babel/python3-Babel.changes  
2013-12-18 16:54:25.0 +0100
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2014-11-18 22:45:25.0 +0100
@@ -1,0 +2,5 @@
+Sat Nov 08 20:53:00 UTC 2014 - Led led...@gmail.com
+
+- fix bashism in pre script
+
+---



Other differences:
--
++ python3-Babel.spec ++
--- /var/tmp/diff_new_pack.p1Fev0/_old  2014-11-18 22:45:27.0 +0100
+++ /var/tmp/diff_new_pack.p1Fev0/_new  2014-11-18 22:45:27.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-Babel
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -60,8 +60,7 @@
 %pre
 # Since /usr/bin/pybabel became ghosted to be used with update-alternatives, 
we have to get rid
 # of the old binary resulting from the non-update-alternativies-ified package:
-[[ ! -L %{_bindir}/pybabel ]]  rm -f %{_bindir}/pybabel
-exit 0
+[ -h %{_bindir}/pybabel ] || rm -f %{_bindir}/pybabel
 
 %post
 update-alternatives --install %{_bindir}/pybabel pybabel 
%{_bindir}/pybabel-%{py3_ver} 30

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



commit python3-Babel for openSUSE:Factory

2013-12-18 Thread h_root
Hello community,

here is the log from the commit of package python3-Babel for openSUSE:Factory 
checked in at 2013-12-18 16:54:24

Comparing /work/SRC/openSUSE:Factory/python3-Babel (Old)
 and  /work/SRC/openSUSE:Factory/.python3-Babel.new (New)


Package is python3-Babel

Changes:

New Changes file:

--- /dev/null   2013-11-25 01:44:08.036031256 +0100
+++ /work/SRC/openSUSE:Factory/.python3-Babel.new/python3-Babel.changes 
2013-12-18 16:54:25.0 +0100
@@ -0,0 +1,174 @@
+---
+Wed Oct 23 09:03:25 UTC 2013 - toddrme2...@gmail.com
+
+- Requires python3 = 3.3
+
+---
+Fri Oct 11 10:31:32 UTC 2013 - p.drou...@gmail.com
+
+- Set the u-a weight Babel binary to 30 instead of 20
+
+---
+Wed Oct  2 10:49:52 UTC 2013 - p.drou...@gmail.com
+
+- Implement update-alternatives
+- Properly build (and install) HTML documentation
+
+---
+Sat Sep 28 14:51:28 UTC 2013 - p.drou...@gmail.com
+
+- Initial python3 support
+
+---
+Fri Sep 27 19:59:09 UTC 2013 - dmuel...@suse.com
+
+- update to 1.3.0:
+ - support python 2.6, 2.7, 3.3+ and pypy - drop all other versions
+ - use tox for testing on different pythons
+ - Added support for the locale plural rules defined by the CLDR.
+ - Added `format_timedelta` function to support localized formatting of
+   relative times with strings such as 2 days or 1 month (ticket #126).
+ - Fixed negative offset handling of Catalog._set_mime_headers (ticket #165).
+ - Fixed the case where messages containing square brackets would break with
+   an unpack error.
+ - updated to CLDR 23
+ - Make the CLDR import script work with Python 2.7.
+ - Fix various typos.
+ - Sort output of list-locales.
+ - Make the POT-Creation-Date of the catalog being updated equal to
+   POT-Creation-Date of the template used to update (ticket #148).
+ - Use a more explicit error message if no option or argument (command) is
+   passed to pybabel (ticket #81).
+ - Keep the PO-Revision-Date if it is not the default value (ticket #148).
+ - Make --no-wrap work by reworking --width's default and mimic xgettext's
+   behaviour of always wrapping comments (ticket #145).
+ - Add --project and --version options for commandline (ticket #173).
+ - Add a __ne__() method to the Local class.
+ - Explicitly sort instead of using sorted() and don't assume ordering
+   (Jython compatibility).
+ - Removed ValueError raising for string formatting message checkers if the
+   string does not contain any string formattings (ticket #150).
+ - Fix Serbian plural forms (ticket #213).
+ - Small speed improvement in format_date() (ticket #216).
+ - Fix so frontend.CommandLineInterface.run does not accumulate logging
+   handlers (#227, reported with initial patch by dfraser)
+ - Fix exception if environment contains an invalid locale setting (#200)
+ - use cPickle instead of pickle for better performance (#225)
+ - Only use bankers round algorithm as a tie breaker if there are two nearest
+   numbers, round as usual if there is only one nearest number (#267, patch by
+   Martin)
+ - Allow disabling cache behaviour in LazyProxy (#208, initial patch from Pedro
+   Algarvio)
+ - Support for context-aware methods during message extraction (#229, patch
+   from David Rios)
+ - init and update commands support --no-wrap option (#289)
+ - fix formatting of fraction in format_decimal() if the input value is a float
+   with more than 7 significant digits (#183)
+ - fix format_date() with datetime parameter (#282, patch from Xavier Morel)
+ - fix format_decimal() with small Decimal values (#214, patch from George 
Lund)
+ - fix handling of messages containing '\\n' (#198)
+ - handle irregular multi-line msgstr (no  as first line) gracefully (#171)
+ - parse_decimal() now returns Decimals not floats, API change (#178)
+ - no warnings when running setup.py without installed setuptools (#262)
+ - modified Locale.__eq__ method so Locales are only equal if all of their
+   attributes (language, territory, script, variant) are equal
+ - resort to hard-coded message extractors/checkers if pkg_resources is
+   installed but no egg-info was found (#230)
+ - format_time() and format_datetime() now accept also floats (#242)
+ - add babel.support.NullTranslations class similar to gettext.NullTranslations
+   but with all of Babel's new gettext methods (#277)
+ - init and update commands support --width option (#284)
+ - fix 'input_dirs' option for setuptools integration (#232, initial patch by
+   Étienne Bersac)
+ - ensure .mo file header contains the same information as the source .po file