Patchwork [1/2] meta-oe: add python-mako, a templating library

login
register
mail settings
Submitter Ross Burton
Date Nov. 26, 2012, 12:28 p.m.
Message ID <1353932899-16796-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/39605/
State Accepted
Commit 07e9ca6888c728c4c9d3d3631b901c603d247beb
Headers show

Comments

Ross Burton - Nov. 26, 2012, 12:28 p.m.
---
 .../python/python-mako-native_0.7.2.bb              |    6 ++++++
 .../recipes-devtools/python/python-mako_0.7.2.bb    |   19 +++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb
 create mode 100644 meta-oe/recipes-devtools/python/python-mako_0.7.2.bb

Patch

diff --git a/meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb b/meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb
new file mode 100644
index 0000000..0d4c1e4
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-mako-native_0.7.2.bb
@@ -0,0 +1,6 @@ 
+require python-mako_${PV}.bb
+inherit native pythonnative
+
+DEPENDS = "python-native"
+RDEPENDS_${PN} = ""
+PR = "r0"
diff --git a/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
new file mode 100644
index 0000000..9113666
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-mako_0.7.2.bb
@@ -0,0 +1,19 @@ 
+DESCRIPTION = "Templating library for Python"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=da8dd26ed9751ee0cfdf9df1a16bbb54"
+
+PR = "r0"
+
+SRC_URI = "http://www.makotemplates.org/downloads/Mako-${PV}.tar.gz"
+SRC_URI[md5sum] = "e3c0a677aa4216da9e89ef8fa76cbafb"
+SRC_URI[sha256sum] = "fe8698e845035586bd711a6748e4e40a208a58de276b9138026164700494b68f"
+
+S = "${WORKDIR}/Mako-${PV}"
+
+inherit distutils
+
+RDEPENDS_${PN} = "python-threading \
+                  python-netclient \
+                  python-html \
+                 "