./www/py-flask-babel, Adds i18n/l10n support to Flask applications

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


Branch: CURRENT, Version: 4.0.0, Package name: py311-flask-babel-4.0.0, Maintainer: pkgsrc-users

Flask-Babel is an extension to Flask that adds i18n and l10n support to any
Flask application with the help of babel, pytz and speaklater. It has builtin
support for date formatting with timezone support as well as a very simple and
friendly interface to gettext translations.


Required to run:
[devel/py-setuptools] [devel/py-babel] [textproc/py-jinja2] [lang/python27] [www/py-flask]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 9.939 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-19 23:18:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-flask-babel: updated to 4.0.0

4.0.0

Dropped support for end-of-life Python 3.7. Support PyPy 3.9
Replace deprecated locked_cached_property decorator with cached_property
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-06-06 16:05:46 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-flask-babel: add missing tool dependency
   2023-06-04 01:55:32 by Mark Davies | Files touched by this commit (3) | Package updated
Log message:
py-flask-babel: update to 3.1.0

v3.1.0
- Documentation and packaging improvements.
- Don't return the default locale twice
- Fix tests breaking against babel 12.2, which changed localized times to use
  non-breaking-spaces. Babel 12.2 or greater is now required.
- Relax version requirements for dependencies.

v3.0.0
Major version bump as this version removes support for Python 3.5 and 3.6, along \ 
with multiple
major breaking changes. Hope you've been following SemVer :)

- Dropped support for end-of-life Python 3.5 and 3.6, added tests for 3.10 and 3.11.
- Fixes to documentation to address outdated links and settings
- Jinja version 3 or greater is now required (released 2021)
- Removed Babel._date_formats, use the public Babel.date_formats instead.
- list_translations() always returns the default locale, even if it does not exist.
- Add lazy_npgettext()
- Babel.locale_selector and Babel.timezone_selector no longer exist. They must \ 
be provided
  either when the Babel() object is created or when init_app() is called. This \ 
is to support
  having a single Babel object for multiple Flask apps as well as to simplify \ 
settings
  and multi-threaded state.
- Most configuration options can be passed directly through init_app().

v2.0.0
Starting with version 2, flask-babel drops official support for Python2.
Python versions 3.5 through 3.9-beta1 are tested and supported, as well as pypy3.

- Tests moved from unittest to pytest
- Domain and caching support from Flask-BabelEx
- Documentation moved from python-hosted to Github Pages.
- CI moved from Travisci to Github Actions
- Small documentation improvements.
- Removed uncessary checks on get_translations()
- localeselector and timezoneselector can be changed after creation.
   2022-04-29 13:56:47 by Thomas Klausner | Files touched by this commit (29) | Package updated
Log message:
*: mark py-flask dependencies as not-for-python-2.x

I'll update py-flask soon; the current pkgsrc of py-flask version
is broken and all newer versions do not support python 2.x
   2022-04-19 14:09:09 by Tobias Nygren | Files touched by this commit (1)
Log message:
py-flask-babel: use versioned dependencies for jinja2
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz