[oe] [meta-python][PATCH] python-pystache: add version 0.5.4

christian at poessinger.com christian at poessinger.com
Sat Apr 21 07:30:47 UTC 2018


From: Christian Poessinger <christian at poessinger.com>

Pystache is a Python implementation of Mustache. Mustache is a
framework-agnostic, logic-free templating system inspired by ctemplate and et.
Like ctemplate, Mustache "emphasizes separating logic from presentation: it is
impossible to embed application logic in this template language."

Signed-off-by: Christian Poessinger <christian at poessinger.com>
---
 meta-python/recipes-devtools/python/python-pystache.inc     | 13 +++++++++++++
 .../recipes-devtools/python/python-pystache_0.5.4.bb        |  2 ++
 2 files changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pystache.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pystache_0.5.4.bb

diff --git a/meta-python/recipes-devtools/python/python-pystache.inc b/meta-python/recipes-devtools/python/python-pystache.inc
new file mode 100644
index 000000000..6dbc99f53
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pystache.inc
@@ -0,0 +1,13 @@
+SUMMARY = "Python implementation of Mustache"
+HOMEPAGE = "https://github.com/defunkt/pystache"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=eb4417802c56384aac71b34505528a60"
+
+SRC_URI[md5sum] = "485885e67a0f6411d5252e69b20a35ca"
+SRC_URI[sha256sum] = "f7bbc265fb957b4d6c7c042b336563179444ab313fb93a719759111eabd3b85a"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-netserver \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pystache_0.5.4.bb b/meta-python/recipes-devtools/python/python-pystache_0.5.4.bb
new file mode 100644
index 000000000..a45501247
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pystache_0.5.4.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-pystache.inc
-- 
2.11.0




More information about the Openembedded-devel mailing list