You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2019 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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-sqlalchemy
  9. PKG_VERSION:=1.3.7
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=SQLAlchemy-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/S/SQLAlchemy/
  13. PKG_HASH:=0459bf0ea6478f3e904de074d65769a11d74cdc34438ab3159250c96d089aef0
  14. PKG_BUILD_DIR:=$(BUILD_DIR)/SQLAlchemy-$(PKG_VERSION)
  15. PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
  16. PKG_LICENSE:=MIT
  17. PKG_LICENSE_FILES:=LICENSE
  18. PKG_CPE_ID:=cpe:/a:sqlalchemy:sqlalchemy
  19. include $(INCLUDE_DIR)/package.mk
  20. include ../python3-package.mk
  21. define Package/python3-sqlalchemy
  22. SECTION:=lang
  23. CATEGORY:=Languages
  24. SUBMENU:=Python
  25. TITLE:=Database Abstraction Library
  26. URL:=https://www.sqlalchemy.org
  27. DEPENDS:= \
  28. +python3-light \
  29. +python3-urllib \
  30. +python3-decimal \
  31. +python3-logging
  32. VARIANT:=python3
  33. endef
  34. define Package/python3-sqlalchemy/description
  35. SQLAlchemy is the Python SQL toolkit and Object Relational Mapper
  36. that gives application developers the full power and flexibility of SQL.
  37. SQLAlchemy provides a full suite of well known enterprise-level persistence patterns,
  38. designed for efficient and high-performing database access,
  39. adapted into a simple and Pythonic domain language.
  40. endef
  41. $(eval $(call Py3Package,python3-sqlalchemy))
  42. $(eval $(call BuildPackage,python3-sqlalchemy))
  43. $(eval $(call BuildPackage,python3-sqlalchemy-src))