aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-flask-wtf.inc
diff options
context:
space:
mode:
authorBill Randle <bill.randle@gmail.com>2017-12-07 21:45:43 -0800
committerArmin Kuster <akuster808@gmail.com>2017-12-22 19:43:53 -0800
commit30a39c1c7f26cead8790416faefe212646ce9e83 (patch)
treea82baadddf9278e0a4b85e389f655159869b9d1a /recipes-devtools/python/python-flask-wtf.inc
parentc050dc04964e972f11e41e29e1758cbb646fc900 (diff)
downloadmeta-python2-30a39c1c7f26cead8790416faefe212646ce9e83.tar.gz
python-flask-wtf: move core of recipe to a .inc file
V2: add FILESEXTRAPATH_prepend to pick up common patch directory. (From meta-openembedded commit: 6c917a37811e09ee74a3b730b31739609b0c9cb7) Signed-off-by: Bill Randle <bill.randle@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Tim Orling <ticotimo@gmail.com>
Diffstat (limited to 'recipes-devtools/python/python-flask-wtf.inc')
-rw-r--r--recipes-devtools/python/python-flask-wtf.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-devtools/python/python-flask-wtf.inc b/recipes-devtools/python/python-flask-wtf.inc
new file mode 100644
index 0000000..3a959ae
--- /dev/null
+++ b/recipes-devtools/python/python-flask-wtf.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Simple integration of Flask and WTForms."
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=507e8635f25a06dc4f041a3a1b3359b3"
+
+SRC_URI[md5sum] = "c53a74e8ba481bf53405fd5efdf0339e"
+SRC_URI[sha256sum] = "bd99316c97ed1d1cb90b8f0c242c86420a891a6a2058f20717e424bf5b0bb80e"
+
+FILESEXTRAPATHS_prepend := "${THISDIR}/python-flask-wtf:"
+SRC_URI += " file://import-simplejson-as-json.patch"
+
+PYPI_PACKAGE = "Flask-WTF"
+
+RDEPENDS_${PN} = "\
+ ${PYTHON_PN}-wtforms \
+ ${PYTHON_PN}-simplejson \
+"