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.

50 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.5
  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:=c30925d60af95443458ebd7525daf791f55762b106049ae71e18f8dd58084c2f
  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. include $(INCLUDE_DIR)/package.mk
  19. include ../python3-package.mk
  20. define Package/python3-sqlalchemy
  21. SECTION:=lang
  22. CATEGORY:=Languages
  23. SUBMENU:=Python
  24. TITLE:=Database Abstraction Library
  25. URL:=https://www.sqlalchemy.org
  26. DEPENDS:= \
  27. +python3-light \
  28. +python3-urllib \
  29. +python3-decimal \
  30. +python3-logging
  31. VARIANT:=python3
  32. endef
  33. define Package/python3-sqlalchemy/description
  34. SQLAlchemy is the Python SQL toolkit and Object Relational Mapper
  35. that gives application developers the full power and flexibility of SQL.
  36. SQLAlchemy provides a full suite of well known enterprise-level persistence patterns,
  37. designed for efficient and high-performing database access,
  38. adapted into a simple and Pythonic domain language.
  39. endef
  40. $(eval $(call Py3Package,python3-sqlalchemy))
  41. $(eval $(call BuildPackage,python3-sqlalchemy))
  42. $(eval $(call BuildPackage,python3-sqlalchemy-src))