python-flask-jsonrpc: new package

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>
This commit is contained in:
Sébastien Szymanski 2016-05-11 16:07:48 +02:00 committed by Thomas Petazzoni
parent 205f80b894
commit e7823ae38e
4 changed files with 26 additions and 0 deletions

View 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"

View File

@ -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

View File

@ -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

View File

@ -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))