mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 23:12:02 +08:00
c391447d12
Changes since 3.1.0: - drop Python 3.7 support; add PyPy 3.9 compatibility - replace deprecated locked_cached_property with cached_property Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
#
|
|
# 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:=4.0.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=flask-babel
|
|
PYPI_SOURCE_NAME:=flask_babel
|
|
PKG_HASH:=dbeab4027a3f4a87678a11686496e98e1492eb793cbdd77ab50f4e9a2602a593
|
|
|
|
PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
|
|
PKG_LICENSE:=BSD-3-Clause
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
PKG_BUILD_DEPENDS:=python-poetry-core/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-flask-babel
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=i18n/l10n support for Flask applications
|
|
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))
|