python-flask-babel: Update to 3.1.0 21772/head
authorJeffery To <jeffery.to@gmail.com>
Thu, 3 Aug 2023 15:57:40 +0000 (23:57 +0800)
committerJeffery To <jeffery.to@gmail.com>
Thu, 10 Aug 2023 03:49:02 +0000 (11:49 +0800)
The package changed to the poetry-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit c579a4ab0e71b6112a593969ffb900faa46af7e5)

lang/python/python-flask-babel/Makefile

index b7fb3d91ee3311ab90d2ee33eb920babb8f575de..f381cfcfa9fd31808f17452768a10413c2aa9f3a 100644 (file)
@@ -8,16 +8,19 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-flask-babel
-PKG_VERSION:=2.0.0
+PKG_VERSION:=3.1.0
 PKG_RELEASE:=1
 
-PYPI_NAME:=Flask-Babel
-PKG_HASH:=f9faf45cdb2e1a32ea2ec14403587d4295108f35017a7821a2b1acb8cfd9257d
+PYPI_NAME:=flask-babel
+PYPI_SOURCE_NAME:=flask_babel
+PKG_HASH:=be015772c5d7f046f3b99c508dcf618636eb93d21b713b356db79f3e79f69f39
 
 PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
 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
@@ -26,7 +29,7 @@ define Package/python3-flask-babel
   SECTION:=lang
   CATEGORY:=Languages
   SUBMENU:=Python
-  TITLE:=Flask Babel
+  TITLE:=i18n/l10n support for Flask applications
   URL:=https://github.com/python-babel/flask-babel
   DEPENDS:= \
     +python3-light \