summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-devtools/python/python-bottle.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-devtools/python/python-bottle.inc')
-rw-r--r--meta-phosphor/recipes-devtools/python/python-bottle.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-devtools/python/python-bottle.inc b/meta-phosphor/recipes-devtools/python/python-bottle.inc
new file mode 100644
index 0000000000..159ded6605
--- /dev/null
+++ b/meta-phosphor/recipes-devtools/python/python-bottle.inc
@@ -0,0 +1,29 @@
+SUMMARY = "Fast and simple WSGI-framework for small web-applications."
+DESCRIPTION = "Bottle is a fast and simple micro-framework for small web \
+applications. It offers request dispatching (Routes) with url parameter \
+support, templates, a built-in HTTP Server and adapters for many third \
+party WSGI/HTTP-server and template engines - all in a single file and \
+with no dependencies other than the Python Standard Library."
+HOMEPAGE = "http://bottlepy.org/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=94b9b2cc7e46ccea87e00af8970826b5"
+
+inherit allarch
+inherit setuptools
+inherit pypi
+
+RDEPENDS_${PN} += " \
+ python-email \
+ python-json \
+ python-netserver \
+ "
+
+PROVIDES += "${PN}-app"
+PACKAGE_BEFORE_PN += "${PN}-app"
+
+SUMMARY_${PN}-app = "${SRCNAME} app"
+RDEPENDS_${PN}-app = "${PN}"
+FILES_${PN}-app = "${bindir}/bottle.py*"
+
+BBCLASSEXTEND = "nativesdk"