summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Duskett <aduskett@gmail.com>2018-02-06 13:25:04 (GMT)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-02-10 15:23:54 (GMT)
commit0bfaedca37e8f4c68cbfa72d227b2c4074bbe57d (patch)
tree072d53fbcbc98bc0c43d22fbc9026dcb96269329
parent133a0a3b9e0ec743ac3e673e97a551e6be403c55 (diff)
downloadbuildroot-0bfaedca37e8f4c68cbfa72d227b2c4074bbe57d.tar.gz
buildroot-0bfaedca37e8f4c68cbfa72d227b2c4074bbe57d.tar.bz2
python-flask-sqlalchemy: new package
Flask-SQLAlchemy is a Flask microframework extension which adds support for the SQLAlchemy SQL toolkit/ORM. Signed-off-by: Adam Duskett <aduskett@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> [Thomas: fix check-package warnings.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--DEVELOPERS1
-rw-r--r--package/Config.in1
-rw-r--r--package/python-flask-sqlalchemy/Config.in9
-rw-r--r--package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash4
-rw-r--r--package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk14
5 files changed, 29 insertions, 0 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index f859ebe..293bd73 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -51,6 +51,7 @@ F: package/libsemanage/
F: package/libsepol/
F: package/nginx-naxsi/
F: package/policycoreutils/
+F: package/python-flask-sqlalchemy/
F: package/python-mutagen/
F: package/python-sqlalchemy/
F: package/restorecond/
diff --git a/package/Config.in b/package/Config.in
index 6bd95e3..19dda8a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -775,6 +775,7 @@ menu "External python modules"
source "package/python-flask-babel/Config.in"
source "package/python-flask-jsonrpc/Config.in"
source "package/python-flask-login/Config.in"
+ source "package/python-flask-sqlalchemy/Config.in"
source "package/python-flup/Config.in"
source "package/python-futures/Config.in"
source "package/python-gobject/Config.in"
diff --git a/package/python-flask-sqlalchemy/Config.in b/package/python-flask-sqlalchemy/Config.in
new file mode 100644
index 0000000..fa4a035
--- /dev/null
+++ b/package/python-flask-sqlalchemy/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_FLASK_SQLALCHEMY
+ bool "python-flask-sqlalchemy"
+ select BR2_PACKAGE_PYTHON_FLASK # runtime
+ select BR2_PACKAGE_PYTHON_SQLALCHEMY # runtime
+ help
+ Flask-SQLAlchemy is a Flask microframework extension which
+ adds support for the SQLAlchemy SQL toolkit/ORM.
+
+ http://github.com/mitsuhiko/flask-sqlalchemy
diff --git a/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash
new file mode 100644
index 0000000..9e15b5d
--- /dev/null
+++ b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/Flask-SQLAlchemy/json, sha256 locally computed
+md5 373ce61dfd03b593ad2eaba68c9fee35 Flask-SQLAlchemy-2.3.2.tar.gz
+sha256 5971b9852b5888655f11db634e87725a9031e170f37c0ce7851cf83497f56e53 Flask-SQLAlchemy-2.3.2.tar.gz
+sha256 de2011f25501c45f2b78bfa4f851ce021cfbab0f1e7ab763233688e0b969821f PKG-INFO
diff --git a/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk
new file mode 100644
index 0000000..37fe603
--- /dev/null
+++ b/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-flask-sqlalchemy
+#
+################################################################################
+
+PYTHON_FLASK_SQLALCHEMY_VERSION = 2.3.2
+PYTHON_FLASK_SQLALCHEMY_SOURCE = Flask-SQLAlchemy-$(PYTHON_FLASK_SQLALCHEMY_VERSION).tar.gz
+PYTHON_FLASK_SQLALCHEMY_SITE = https://pypi.python.org/packages/3a/66/f5ace276517c075f102457dd2f7d8645b033758f9c6effb4e0970a90fec1
+PYTHON_FLASK_SQLALCHEMY_SETUP_TYPE = setuptools
+PYTHON_FLASK_SQLALCHEMY_LICENSE = BSD-3c
+PYTHON_FLASK_SQLALCHEMY_LICENSE_FILES = PKG-INFO
+
+$(eval $(python-package))