python-flask-jsonrpc: new package
authorSébastien Szymanski <sebastien.szymanski@armadeus.com>
Wed, 11 May 2016 14:07:48 +0000 (16:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 13 May 2016 20:34:22 +0000 (22:34 +0200)
Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas:
 - make python-flask a runtime dependency only, as noticed by Yegor
   Yefremov.
 - use setup.py as the license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-flask-jsonrpc/Config.in [new file with mode: 0644]
package/python-flask-jsonrpc/python-flask-jsonrpc.hash [new file with mode: 0644]
package/python-flask-jsonrpc/python-flask-jsonrpc.mk [new file with mode: 0644]

index 9d668bf34f313fe40adf05ee9cc34831dc23966a..804df8b603d489e14debbdceef38febf6e83d9b2 100644 (file)
@@ -658,6 +658,7 @@ menu "External python modules"
        source "package/python-enum/Config.in"
        source "package/python-enum34/Config.in"
        source "package/python-flask/Config.in"
+       source "package/python-flask-jsonrpc/Config.in"
        source "package/python-flup/Config.in"
        source "package/python-gobject/Config.in"
        source "package/python-html5lib/Config.in"
diff --git a/package/python-flask-jsonrpc/Config.in b/package/python-flask-jsonrpc/Config.in
new file mode 100644 (file)
index 0000000..c8ecd85
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_FLASK_JSONRPC
+       bool "python-flask-jsonrpc"
+       # runtime dependency
+       select BR2_PACKAGE_PYTHON_FLASK
+       help
+         A basic JSON-RPC implementation for your Flask-powered sites.
+
+         https://github.com/cenobites/flask-jsonrpc
diff --git a/package/python-flask-jsonrpc/python-flask-jsonrpc.hash b/package/python-flask-jsonrpc/python-flask-jsonrpc.hash
new file mode 100644 (file)
index 0000000..8b91af7
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/Flask-JSONRPC/0.3, sha256 locally computed:
+md5    a5beca4c3a882315f9b81acb57e83c68                                 Flask-JSONRPC-0.3.tar.gz
+sha256 5baf70bf9cf955e95c02316982026a122b89a5f4c78c5b26f9f476abdb3e13bc Flask-JSONRPC-0.3.tar.gz
diff --git a/package/python-flask-jsonrpc/python-flask-jsonrpc.mk b/package/python-flask-jsonrpc/python-flask-jsonrpc.mk
new file mode 100644 (file)
index 0000000..624322e
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-flask-jsonrpc
+#
+################################################################################
+
+PYTHON_FLASK_JSONRPC_VERSION = 0.3
+PYTHON_FLASK_JSONRPC_SOURCE = Flask-JSONRPC-$(PYTHON_FLASK_JSONRPC_VERSION).tar.gz
+PYTHON_FLASK_JSONRPC_SITE = http://pypi.python.org/packages/source/F/Flask-JSONRPC
+PYTHON_FLASK_JSONRPC_LICENSE = BSD-3c
+PYTHON_FLASK_JSONRPC_LICENSE_FILES = setup.py
+PYTHON_FLASK_JSONRPC_SETUP_TYPE = setuptools
+
+$(eval $(python-package))