aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Lionel Flandrin <lionel@svkt.org>2017-01-24 15:43:45 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-25 14:11:10 +1300
commit21959ad8537440003c06d07357dbda286ab488cd (patch)
tree645e544596c61a2093bfda2cbfd450449c4e76fe /package
parentc78dbd06317f70afa72d2f09b74b2aa14b5fd9cc (diff)
downloadbuildroot-21959ad8537440003c06d07357dbda286ab488cd.tar.gz
buildroot-21959ad8537440003c06d07357dbda286ab488cd.tar.bz2
python-babel: new package
A collection of tools for internationalizing Python applications. 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>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/python-babel/Config.in8
-rw-r--r--package/python-babel/python-babel.hash3
-rw-r--r--package/python-babel/python-babel.mk14
4 files changed, 26 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 2bcb5d2dda..4df236144e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -647,6 +647,7 @@ menu "External python modules"
source "package/python-argh/Config.in"
source "package/python-arrow/Config.in"
source "package/python-autobahn/Config.in"
+ source "package/python-babel/Config.in"
source "package/python-backports-abc/Config.in"
source "package/python-beautifulsoup4/Config.in"
source "package/python-bottle/Config.in"
diff --git a/package/python-babel/Config.in b/package/python-babel/Config.in
new file mode 100644
index 0000000000..1a22b83f2c
--- /dev/null
+++ b/package/python-babel/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_BABEL
+ bool "python-babel"
+ select BR2_PACKAGE_PYTHON_PYTZ # runtime
+ help
+ A collection of tools for internationalizing Python
+ applications.
+
+ http://babel.pocoo.org/en/latest/
diff --git a/package/python-babel/python-babel.hash b/package/python-babel/python-babel.hash
new file mode 100644
index 0000000000..4d7536799f
--- /dev/null
+++ b/package/python-babel/python-babel.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/Babel/json, sha256 locally computed
+md5 afa20bc55b0e991833030129ad498f35 Babel-2.3.4.tar.gz
+sha256 c535c4403802f6eb38173cd4863e419e2274921a01a8aad8a5b497c131c62875 Babel-2.3.4.tar.gz
diff --git a/package/python-babel/python-babel.mk b/package/python-babel/python-babel.mk
new file mode 100644
index 0000000000..3627b15f78
--- /dev/null
+++ b/package/python-babel/python-babel.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-babel
+#
+################################################################################
+
+PYTHON_BABEL_VERSION = 2.3.4
+PYTHON_BABEL_SOURCE = Babel-$(PYTHON_BABEL_VERSION).tar.gz
+PYTHON_BABEL_SITE = https://pypi.python.org/packages/6e/96/ba2a2462ed25ca0e651fb7b66e7080f5315f91425a07ea5b34d7c870c114
+PYTHON_BABEL_SETUP_TYPE = setuptools
+PYTHON_BABEL_LICENSE = BSD-3c
+PYTHON_BABEL_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))