summaryrefslogtreecommitdiffstats
path: root/package/python-falcon
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-falcon')
-rw-r--r--package/python-falcon/Config.in9
-rw-r--r--package/python-falcon/python-falcon.hash5
-rw-r--r--package/python-falcon/python-falcon.mk18
3 files changed, 32 insertions, 0 deletions
diff --git a/package/python-falcon/Config.in b/package/python-falcon/Config.in
new file mode 100644
index 0000000000..ffd66eec1b
--- /dev/null
+++ b/package/python-falcon/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_FALCON
+ bool "python-falcon"
+ select BR2_PACKAGE_PYTHON_SIX # runtime
+ select BR2_PACKAGE_PYTHON_MIMEPARSE # runtime
+ help
+ An unladen web framework for building APIs and app
+ backends.
+
+ http://falconframework.org
diff --git a/package/python-falcon/python-falcon.hash b/package/python-falcon/python-falcon.hash
new file mode 100644
index 0000000000..7f6ee6ea3d
--- /dev/null
+++ b/package/python-falcon/python-falcon.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/falcon/json
+md5 3cb880665ee2cd52143cf8a7790a35e6 falcon-1.4.1.tar.gz
+sha256 3981f609c0358a9fcdb25b0e7fab3d9e23019356fb429c635ce4133135ae1bc4 falcon-1.4.1.tar.gz
+# Locally computed sha256 checksums
+sha256 e9e7f1a7ba764f042e56afce6f3563c2be9c4fffbb1404b20f8050ae051f577c LICENSE
diff --git a/package/python-falcon/python-falcon.mk b/package/python-falcon/python-falcon.mk
new file mode 100644
index 0000000000..b724ffadbe
--- /dev/null
+++ b/package/python-falcon/python-falcon.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python-falcon
+#
+################################################################################
+
+PYTHON_FALCON_VERSION = 1.4.1
+PYTHON_FALCON_SOURCE = falcon-$(PYTHON_FALCON_VERSION).tar.gz
+PYTHON_FALCON_SITE = https://files.pythonhosted.org/packages/2f/e6/5045da9df509b9259037f065d15608930fd6c997ee930ad230f9fbfecf15
+PYTHON_FALCON_SETUP_TYPE = setuptools
+PYTHON_FALCON_LICENSE = Apache-2.0
+PYTHON_FALCON_LICENSE_FILES = LICENSE
+
+ifeq ($(BR2_PACKAGE_HOST_PYTHON_CYTHON),y)
+PYTHON_FALCON_DEPENDENCIES += host-python-cython
+endif
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud