summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorJosef Schlehofer <pepe.schlehofer@gmail.com>2020-10-17 16:01:37 +0200
committerJosef Schlehofer <pepe.schlehofer@gmail.com>2020-10-29 15:20:04 +0100
commitf3e723bd40f73b192a54ab727b8c00ad0b559b9e (patch)
tree0aac390288dca2ef8b3053096b9023333a96a718 /lang/python
parentaa80a02340918f46961358a88ac74f594750b9d0 (diff)
python-flask-babel: add new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/python-flask-babel/Makefile45
1 files changed, 45 insertions, 0 deletions
diff --git a/lang/python/python-flask-babel/Makefile b/lang/python/python-flask-babel/Makefile
new file mode 100644
index 000000000..b7fb3d91e
--- /dev/null
+++ b/lang/python/python-flask-babel/Makefile
@@ -0,0 +1,45 @@
+#
+# Copyright (C) 2019-2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-flask-babel
+PKG_VERSION:=2.0.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=Flask-Babel
+PKG_HASH:=f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d
+
+PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-flask-babel
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=Flask Babel
+ URL:=https://github.com/python-babel/flask-babel
+ DEPENDS:= \
+ +python3-light \
+ +python3-flask \
+ +python3-babel \
+ +python3-jinja2 \
+ +python3-pytz
+endef
+
+define Package/python3-flask-babel/description
+ Implements i18n and l10n support for Flask.
+endef
+
+$(eval $(call Py3Package,python3-flask-babel))
+$(eval $(call BuildPackage,python3-flask-babel))
+$(eval $(call BuildPackage,python3-flask-babel-src))