./devel/py-babel, Collection of tools for internationalizing Python applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.8.0, Package name: py37-babel-2.8.0, Maintainer: pkgsrc-users

Babel is a Python library that provides an integrated collection of
utilities that assist with internationalizing and localizing Python
applications (in particular web-based applications.)


Required to run:
[devel/py-setuptools] [time/py-pytz] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 3b9089a069eb3965711155468e5356bc39fb1a0f
RMD160: 584a8f125edf37aaae3a94a6823e86af061c78d6
Filesize: 8246.466 KB

Version history: (Expand)


CVS history: (Expand)


   2020-01-22 22:16:36 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-babel: updated to 2.8.0

Version 2.8.0

Improvements
* CLDR: Upgrade to CLDR 36.0
* Messages: Don't even open files with the "ignore" extraction method

Bugfixes
* Numbers: Fix formatting very small decimals when quantization is disabled
* Messages: Attempt to sort all messages

Docs
* Add years to changelog
* Note that installation requires pytz
   2019-05-29 23:02:29 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-babel: updated to 2.7.0

Version 2.7.0

Possibly incompatible changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
These may be backward incompatible in some cases, as some more-or-less internal
APIs have changed. Please feel free to file issues if you bump into anything
strange and we'll try to help!

* General: Internal uses of babel.util.odict have been replaced with
  collections.OrderedDict from The Python standard library.

Improvements
~~~~~~~~~~~~
* CLDR: Upgrade to CLDR 35.1
* General: allow anchoring path patterns to the start of a string
* General: Bumped version requirement on pytz
* Messages: pybabel compile: exit with code 1 if errors were encountered
* Messages: Add omit-header to update_catalog
* Messages: Catalog update: keep user comments from destination by default
* Messages: Skip empty message when writing mo file
* Messages: Small fixes to avoid crashes on badly formatted .po files
* Numbers: parse_decimal() strict argument and suggestions
* Numbers: don't repeat suggestions in parse_decimal strict
* Numbers: implement currency formatting with long display names
* Numbers: parse_decimal(): assume spaces are equivalent to non-breaking spaces \ 
when not in strict mode
* Performance: Cache locale_identifiers()

Bugfixes
~~~~~~~~
* CLDR: Skip alt=... for week data (minDays, firstDay, weekendStart, weekendEnd)
* Dates: Fix wrong weeknumber for 31.12.2018
* Locale: Avoid KeyError trying to get data on WindowsXP
* Locale: get_display_name(): Don't attempt to concatenate variant information \ 
to None
* Messages: pofile: Add comparison operators to _NormalizedString
* Messages: pofile: don't crash when message.locations can't be sorted

Tooling & docs
~~~~~~~~~~~~~~
* Docs: Remove all references to deprecated easy_install
* Docs: Switch print statement in docs to print function - NotAFile
* Docs: Update all pypi.python.org URLs to pypi.org
* Docs: Use https URLs throughout project where available
* Support: Add testing and document support for Python 3.7
* Support: Test on Python 3.8-dev
* Support: Using ABCs from collections instead of collections.abc is deprecated.
* Tests: Fix conftest.py compatibility with pytest 4.3
* Tests: Update pytest and pytest-cov
   2018-06-24 13:43:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-babel: updated to 2.6.0

Version 2.6.0

Possibly incompatible changes
These may be backward incompatible in some cases, as some more-or-less internal \ 
APIs have changed.
Please feel free to file issues if you bump into anything strange and we'll try \ 
to help!
* Numbers: Refactor decimal handling code and allow bypass of decimal quantization.
* Messages: allow processing files that are in locales unknown to Babel
* General: Drop support for EOL Python 2.6 and 3.3

Other changes
* CLDR: Use CLDR 33
* Lists: Add support for various list styles other than the default
* Messages: Add new PoFileError exception
* Times: Simplify Linux distro specific explicit timezone setting search

Bugfixes
* CLDR: avoid importing alt=narrow currency symbols
* CLDR: ignore non-Latin numbering systems
* Docs: Fix improper example for date formatting
* Tooling: Fix some deprecation warnings

Tooling & docs
* Add explicit signatures to some date autofunctions
* Include license file in the generated wheel package
* Python 3.6 invalid escape sequence deprecation fixes
* Test and document all supported Python versions
* Update copyright header years and authors file
   2018-04-04 13:00:56 by Filip Hajny | Files touched by this commit (1)
Log message:
devel/py-babel: Remove silly write perms on distfile contents.
   2018-01-18 13:41:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-babel: updated to 2.5.3

Version 2.5.3:
This is a maintenance release that reverts undesired API-breaking changes that \ 
slipped into 2.5.2

Version 2.5.2:
Bugfixes
* Revert the unnecessary PyInstaller fixes from 2.5.0 and 2.5.1
   2017-09-15 13:25:26 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-babel: update to 2.5.1

Version 2.5.1

Minor Improvements and bugfixes
* Use a fixed datetime to avoid test failures
* Parse multi-line __future__ imports better
* Fix validate_currency docstring
* Allow normalize_locale and exists to handle various unexpected inputs
* Make PyInstaller support more robust
   2017-08-22 10:16:44 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Version 2.5.0

New Features
* Numbers: Add currency utilities and helpers
* Support PyInstaller

Minor Improvements and bugfixes
* Dates: Add __str__ to DateTimePattern
* Dates: Fix an invalid string to bytes comparison when parsing TZ files on Py3
* Dates: Formatting zero-padded components of dates is faster
* Documentation: Fix "Good Commits" link in CONTRIBUTING.md
* Documentation: Fix link to Python gettext module
* Messages: Allow both dash and underscore separated locale identifiers in pofiles
* Messages: Extract Python messages in nested gettext calls
* Messages: Fix in-place editing of dir list while iterating
* Messages: Stabilize sort order
* Time zones: Honor the no-inherit marker for metazone names
   2017-04-06 08:49:18 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Version 2.4.0

New Features
~~~~~~~~~~~~
Some of these changes might break your current code and/or tests.

* CLDR: CLDR 29 is now used instead of CLDR 28
* Messages: Add option 'add_location' for location line formatting
* Numbers: Allow full control of decimal behavior

Minor Improvements and bugfixes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Documentation: Improve Date Fields descriptions
* Documentation: Typo fixes and documentation improvementscs10)
* Messages: Default to UTF-8 source encoding instead of ISO-8859-1
* Messages: Ensure messages are extracted in the order they were passed in
* Messages: Message extraction for JSX files is improved
* Messages: PO file reading supports multi-line obsolete units
* Messages: Python message extractor respects unicode_literals in __future__
* Messages: Roundtrip Language headers
* Messages: units before obsolete units are no longer erroneously marked obsolete
* Numbers: `parse_pattern` now preserves the full original pattern
* Numbers: Fix float conversion in `extract_operands`
* Plurals: Fix plural forms for Czech and Slovak locales
* Plurals: More plural form fixes based on Mozilla and CLDR references

Internal improvements
~~~~~~~~~~~~~~~~~~~~~
* Local times are constructed correctly in tests
* Miscellaneous small improvements
* Regex flags are extracted from the regex strings
* The PO file reader is now a class and has seen some refactoring