python-flask-babel: new package

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.

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Lionel Flandrin 2017-01-24 15:43:46 +01:00 committed by Thomas Petazzoni
parent 21959ad853
commit 4a72acb3ad
4 changed files with 30 additions and 0 deletions

View file

@ -687,6 +687,7 @@ menu "External python modules"
source "package/python-enum/Config.in"
source "package/python-enum34/Config.in"
source "package/python-flask/Config.in"
source "package/python-flask-babel/Config.in"
source "package/python-flask-jsonrpc/Config.in"
source "package/python-flask-login/Config.in"
source "package/python-flup/Config.in"

View file

@ -0,0 +1,12 @@
config BR2_PACKAGE_PYTHON_FLASK_BABEL
bool "python-flask-babel"
select BR2_PACKAGE_PYTHON_FLASK # runtime
select BR2_PACKAGE_PYTHON_BABEL # runtime
help
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.
https://pythonhosted.org/Flask-Babel/

View file

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/Flask-Babel/json, sha256 locally computed
md5 658e84a20ddc545a7612144fe2c758d3 Flask-Babel-0.11.1.tar.gz
sha256 d29b36c399e42e98bc9401c8c1c159f2befcb8c12a2a2a87ec49ad7623036899 Flask-Babel-0.11.1.tar.gz

View file

@ -0,0 +1,14 @@
################################################################################
#
# python-flask-babel
#
################################################################################
PYTHON_FLASK_BABEL_VERSION = 0.11.1
PYTHON_FLASK_BABEL_SOURCE = Flask-Babel-$(PYTHON_FLASK_BABEL_VERSION).tar.gz
PYTHON_FLASK_BABEL_SITE = https://pypi.python.org/packages/47/96/6013d4091fb4238e27e918aec4929f082942fa8c9489ae3aad2f18de4b5b
PYTHON_FLASK_BABEL_LICENSE = BSD-3c
PYTHON_FLASK_BABEL_SETUP_TYPE = setuptools
PYTHON_FLASK_BABEL_LICENSE_FILES = LICENSE
$(eval $(python-package))