f381cfcfa9fd31808f17452768a10413c2aa9f3a
[feed/packages.git] / lang / python / python-flask-babel / Makefile
1 #
2 # Copyright (C) 2019-2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-flask-babel
11 PKG_VERSION:=3.1.0
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=flask-babel
15 PYPI_SOURCE_NAME:=flask_babel
16 PKG_HASH:=be015772c5d7f046f3b99c508dcf618636eb93d21b713b356db79f3e79f69f39
17
18 PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
19 PKG_LICENSE:=BSD-3-Clause
20 PKG_LICENSE_FILES:=LICENSE
21
22 PKG_BUILD_DEPENDS:=python-poetry-core/host
23
24 include ../pypi.mk
25 include $(INCLUDE_DIR)/package.mk
26 include ../python3-package.mk
27
28 define Package/python3-flask-babel
29 SECTION:=lang
30 CATEGORY:=Languages
31 SUBMENU:=Python
32 TITLE:=i18n/l10n support for Flask applications
33 URL:=https://github.com/python-babel/flask-babel
34 DEPENDS:= \
35 +python3-light \
36 +python3-flask \
37 +python3-babel \
38 +python3-jinja2 \
39 +python3-pytz
40 endef
41
42 define Package/python3-flask-babel/description
43 Implements i18n and l10n support for Flask.
44 endef
45
46 $(eval $(call Py3Package,python3-flask-babel))
47 $(eval $(call BuildPackage,python3-flask-babel))
48 $(eval $(call BuildPackage,python3-flask-babel-src))