15
0
forked from pool/python-Babel

Accepting request 357119 from home:TheBlackCat:branches:devel:languages:python

update to version 2.2.0

OBS-URL: https://build.opensuse.org/request/show/357119
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Babel?expand=0&rev=24
This commit is contained in:
Todd R
2016-02-01 11:54:16 +00:00
committed by Git OBS Bridge
parent 3985f1ae8f
commit c62ad5967a
8 changed files with 139 additions and 72 deletions

View File

@@ -1,3 +1,76 @@
-------------------------------------------------------------------
Mon Feb 1 10:40:23 UTC 2016 - toddrme2178@gmail.com
- 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)
- 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.
- fix update-alternatives
- add skip-dst-tests.patch: drop DST related tests (workaround
issue #156)
- Add fix-timezone-test.patch: already included upstream
- Remove 0001-disable_timezone_tests.patch in favor of
fix-timezone-test.patch
-------------------------------------------------------------------
Fri Jul 24 07:19:45 UTC 2015 - seife+obs@b1-systems.com