Browse Source

package/python-flask-smorest: new package

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Martin Hundebøll 2 years ago
parent
commit
d00e437922

+ 1 - 0
DEVELOPERS

@@ -1967,6 +1967,7 @@ F:	package/zic/
 
 N:	Martin Hundebøll <martin@geanix.com>
 F:	package/python-apispec/
+F:	package/python-flask-smorest/
 F:	package/python-marshmallow/
 F:	package/python-marshmallow-sqlalchemy/
 F:	package/python-webargs/

+ 1 - 0
package/Config.in

@@ -1058,6 +1058,7 @@ menu "External python modules"
 	source "package/python-flask-expects-json/Config.in"
 	source "package/python-flask-jsonrpc/Config.in"
 	source "package/python-flask-login/Config.in"
+	source "package/python-flask-smorest/Config.in"
 	source "package/python-flask-sqlalchemy/Config.in"
 	source "package/python-flask-wtf/Config.in"
 	source "package/python-flatbuffers/Config.in"

+ 11 - 0
package/python-flask-smorest/Config.in

@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_FLASK_SMOREST
+	bool "python-flask-smorest"
+	select BR2_PACKAGE_PYTHON_APISPEC # runtime
+	select BR2_PACKAGE_PYTHON_FLASK # runtime
+	select BR2_PACKAGE_PYTHON_MARSHMALLOW # runtime
+	select BR2_PACKAGE_PYTHON_WEBARGS # runtime
+	select BR2_PACKAGE_PYTHON_WERKZEUG # runtime
+	help
+	  Flask/Marshmallow-based REST API framework.
+
+	  https://github.com/marshmallow-code/flask-smorest

+ 5 - 0
package/python-flask-smorest/python-flask-smorest.hash

@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/flask-smorest/json
+md5  1dad52f26c59ca2dcaf0c5d109879605  flask-smorest-0.40.0.tar.gz
+sha256  9b46b4937ccf78702d99fed8cfd1cd5c37608ddefd65ff16a86d1ad5c7f7d8c0  flask-smorest-0.40.0.tar.gz
+# Locally computed sha256 checksums
+sha256	40999ea1d9c1b8202fa44f8e6849a557e22df892481e067abf999879064b9521  LICENSE

+ 14 - 0
package/python-flask-smorest/python-flask-smorest.mk

@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-flask-smorest
+#
+################################################################################
+
+PYTHON_FLASK_SMOREST_VERSION = 0.40.0
+PYTHON_FLASK_SMOREST_SOURCE = flask-smorest-$(PYTHON_FLASK_SMOREST_VERSION).tar.gz
+PYTHON_FLASK_SMOREST_SITE = https://files.pythonhosted.org/packages/e6/b5/1b81ea4f7e377cf8a653aa10c249656a1c73de7a3695b2544d7a713ea3c2
+PYTHON_FLASK_SMOREST_SETUP_TYPE = setuptools
+PYTHON_FLASK_SMOREST_LICENSE = MIT
+PYTHON_FLASK_SMOREST_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))