Skip to content
Snippets Groups Projects
Verified Commit 645a9c7f authored by Josef Schlehofer's avatar Josef Schlehofer
Browse files

patches/packages: backport: python-babel: add package

parent 41e6d886
2 merge requests!377Turris OS 5.2 (HBK),!276Backport Python lang packages - flask related, msgpack and babel
From a836ffef360e8d5fe33b8b5a05e1388487ced7e3 Mon Sep 17 00:00:00 2001
From: Josef Schlehofer <pepe.schlehofer@gmail.com>
Date: Sat, 17 Oct 2020 15:03:37 +0200
Subject: [PATCH 1/5] python-babel: add new package
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 677f73fedda53889b82bb6b94f93e5485427e3b2)
---
lang/python/python-babel/Makefile | 49 +++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 lang/python/python-babel/Makefile
diff --git a/lang/python/python-babel/Makefile b/lang/python/python-babel/Makefile
new file mode 100644
index 000000000..559e65b83
--- /dev/null
+++ b/lang/python/python-babel/Makefile
@@ -0,0 +1,49 @@
+#
+# 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-babel
+PKG_VERSION:=2.8.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=Babel
+PKG_HASH:=1aac2ae2d0d8ea368fa90906567f5c08463d98ade155c0c4bfedd6a0f7160e38
+
+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-babel
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=Internationalization utilities
+ URL:=https://babel.pocoo.org/en/latest/
+ DEPENDS:= \
+ +python3-cgi \
+ +python3-decimal \
+ +python3-distutils \
+ +python3-email \
+ +python3-light \
+ +python3-pytz \
+ +python3-urllib
+ VARIANT:=python3
+endef
+
+define Package/python3-babel/description
+ Babel is an integrated collection of utilities that assist in
+ internationalizing and localizing Python applications
+ with an emphasis on web-based applications.
+endef
+
+$(eval $(call Py3Package,python3-babel))
+$(eval $(call BuildPackage,python3-babel))
+$(eval $(call BuildPackage,python3-babel-src))
--
2.25.1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment