python-sqlalchemy: Update to 2.0.20, update list of dependencies
authorJeffery To <jeffery.to@gmail.com>
Thu, 24 Aug 2023 17:20:57 +0000 (01:20 +0800)
committerTianling Shen <cnsztl@gmail.com>
Sun, 3 Sep 2023 14:57:11 +0000 (22:57 +0800)
This also adds a build dependency on python-cython/host.

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

lang/python/python-sqlalchemy/Makefile

index f15cbb3ff158003a89a41494194fcf61907a3fd4..403151ed2d4bc12d64b83bfeff63b9848fb6e821 100644 (file)
@@ -8,17 +8,19 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=python-sqlalchemy
-PKG_VERSION:=1.4.22
+PKG_VERSION:=2.0.20
 PKG_RELEASE:=1
 
 PYPI_NAME:=SQLAlchemy
-PKG_HASH:=ec1be26cdccd60d180359a527d5980d959a26269a2c7b1b327a1eea0cab37ed8
+PKG_HASH:=ca8a5ff2aa7f3ade6c498aaafce25b1eaeabe4e42b73e25519183e4566a16fc6
 
 PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE
 PKG_CPE_ID:=cpe:/a:sqlalchemy:sqlalchemy
 
+PKG_BUILD_DEPENDS:=python-cython/host
+
 include ../pypi.mk
 include $(INCLUDE_DIR)/package.mk
 include ../python3-package.mk
@@ -29,19 +31,15 @@ define Package/python3-sqlalchemy
   SUBMENU:=Python
   TITLE:=Database Abstraction Library
   URL:=https://www.sqlalchemy.org
-  DEPENDS:= \
-       +python3-light \
-       +python3-urllib \
-       +python3-decimal \
-       +python3-logging
+  DEPENDS:=+python3 +python3-typing-extensions
 endef
 
 define Package/python3-sqlalchemy/description
-  SQLAlchemy is the Python SQL toolkit and Object Relational Mapper
-  that gives application developers the full power and flexibility of SQL.
-  SQLAlchemy provides a full suite of well known enterprise-level persistence patterns,
-  designed for efficient and high-performing database access,
-  adapted into a simple and Pythonic domain language.
+SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that
+gives application developers the full power and flexibility of SQL.
+SQLAlchemy provides a full suite of well known enterprise-level
+persistence patterns, designed for efficient and high-performing
+database access, adapted into a simple and Pythonic domain language.
 endef
 
 $(eval $(call Py3Package,python3-sqlalchemy))