b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2019-2021 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-sqlalchemy |
| 11 | PKG_VERSION:=2.0.23 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=SQLAlchemy |
| 15 | PKG_HASH:=c1bda93cbbe4aa2aa0aa8655c5aeda505cd219ff3e8da91d1d329e143e4aff69 |
| 16 | |
| 17 | PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com> |
| 18 | PKG_LICENSE:=MIT |
| 19 | PKG_LICENSE_FILES:=LICENSE |
| 20 | PKG_CPE_ID:=cpe:/a:sqlalchemy:sqlalchemy |
| 21 | |
| 22 | PKG_BUILD_DEPENDS:=python-cython/host |
| 23 | |
| 24 | include ../pypi.mk |
| 25 | include $(INCLUDE_DIR)/package.mk |
| 26 | include ../python3-package.mk |
| 27 | |
| 28 | define Package/python3-sqlalchemy |
| 29 | SECTION:=lang |
| 30 | CATEGORY:=Languages |
| 31 | SUBMENU:=Python |
| 32 | TITLE:=Database Abstraction Library |
| 33 | URL:=https://www.sqlalchemy.org |
| 34 | DEPENDS:=+python3 +python3-typing-extensions |
| 35 | endef |
| 36 | |
| 37 | define Package/python3-sqlalchemy/description |
| 38 | SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that |
| 39 | gives application developers the full power and flexibility of SQL. |
| 40 | SQLAlchemy provides a full suite of well known enterprise-level |
| 41 | persistence patterns, designed for efficient and high-performing |
| 42 | database access, adapted into a simple and Pythonic domain language. |
| 43 | endef |
| 44 | |
| 45 | $(eval $(call Py3Package,python3-sqlalchemy)) |
| 46 | $(eval $(call BuildPackage,python3-sqlalchemy)) |
| 47 | $(eval $(call BuildPackage,python3-sqlalchemy-src)) |