python-sqlalchemy: add package with version 1.3.5 9405/head
authorJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 5 Jul 2019 18:25:31 +0000 (20:25 +0200)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 5 Jul 2019 19:39:19 +0000 (21:39 +0200)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
lang/python/python-sqlalchemy/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-sqlalchemy/Makefile b/lang/python/python-sqlalchemy/Makefile
new file mode 100644 (file)
index 0000000..dabdb5f
--- /dev/null
@@ -0,0 +1,50 @@
+#
+# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-sqlalchemy
+PKG_VERSION:=1.3.5
+PKG_RELEASE:=1
+
+PKG_SOURCE:=SQLAlchemy-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/S/SQLAlchemy/
+PKG_HASH:=c30925d60af95443458ebd7525daf791f55762b106049ae71e18f8dd58084c2f
+PKG_BUILD_DIR:=$(BUILD_DIR)/SQLAlchemy-$(PKG_VERSION)
+
+PKG_MAINTAINER:=Josef Schlehofer <josef.schlehofer@nic.cz>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-sqlalchemy
+  SECTION:=lang
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=Database Abstraction Library
+  URL:=https://www.sqlalchemy.org
+  DEPENDS:= \
+       +python3-light \
+       +python3-urllib \
+       +python3-decimal \
+       +python3-logging
+  VARIANT:=python3
+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.
+endef
+
+$(eval $(call Py3Package,python3-sqlalchemy))
+$(eval $(call BuildPackage,python3-sqlalchemy))
+$(eval $(call BuildPackage,python3-sqlalchemy-src))