package: add python-flask
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 14 Nov 2014 18:00:11 +0000 (19:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 14 Nov 2014 18:00:11 +0000 (19:00 +0100)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-flask/Config.in [new file with mode: 0644]
package/python-flask/python-flask.hash [new file with mode: 0644]
package/python-flask/python-flask.mk [new file with mode: 0644]

index ba97db7a78524bc38766bfee50fb06286a03fa44..3e5ad3966f0dcf94cf44d1b84e4d61288e17cefa 100644 (file)
@@ -489,6 +489,7 @@ menu "external python modules"
        source "package/python-daemon/Config.in"
        source "package/python-dialog/Config.in"
        source "package/python-dpkt/Config.in"
+       source "package/python-flask/Config.in"
        source "package/python-flup/Config.in"
        source "package/python-id3/Config.in"
        source "package/python-ipy/Config.in"
diff --git a/package/python-flask/Config.in b/package/python-flask/Config.in
new file mode 100644 (file)
index 0000000..4a955c4
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_FLASK
+       bool "python-flask"
+       select BR2_PACKAGE_PYTHON_WERKZEUG
+       select BR2_PACKAGE_PYTHON_JINJA2
+       select BR2_PACKAGE_PYTHON_ITSDANGEROUS
+       help
+         Flask is a microframework for Python based on Werkzeug,
+         Jinja 2 and good intentions.
+
+         http://flask.pocoo.org/
diff --git a/package/python-flask/python-flask.hash b/package/python-flask/python-flask.hash
new file mode 100644 (file)
index 0000000..55d0a5c
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=378670fe456957eb3c27ddaef60b2b24, sha256 locally computed
+md5    378670fe456957eb3c27ddaef60b2b24  Flask-0.10.1.tar.gz
+sha256 4c83829ff83d408b5e1d4995472265411d2c414112298f2eb4b359d9e4563373  Flask-0.10.1.tar.gz
diff --git a/package/python-flask/python-flask.mk b/package/python-flask/python-flask.mk
new file mode 100644 (file)
index 0000000..d7e3d1f
--- /dev/null
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-flask
+#
+################################################################################
+
+PYTHON_FLASK_VERSION = 0.10.1
+PYTHON_FLASK_SOURCE = Flask-$(PYTHON_FLASK_VERSION).tar.gz
+PYTHON_FLASK_SITE = http://pypi.python.org/packages/source/F/Flask
+PYTHON_FLASK_SETUP_TYPE = setuptools
+PYTHON_FLASK_LICENSE = BSD-3c
+PYTHON_FLASK_LICENSE_FILES = LICENSE
+PYTHON_FLASH_DEPENDENCIES = python-werkzeug python-jinja2 python-itsdangerous
+
+$(eval $(python-package))