[gnome-continuous-yocto/gnomeostree-3.28-rocko: 794/8267] python-mako: Upgrade python-mako and python3-mako to 1.0.4



commit 84e9f8053d97f46f637af9fb735be8e8a74b8bd0
Author: Alejandro Hernandez <alejandro hernandez linux intel com>
Date:   Wed Jun 8 05:56:10 2016 +0000

    python-mako: Upgrade python-mako and python3-mako to 1.0.4
    
    (From OE-Core rev: 84d54d198f6445ddd3c86d8ad6833f0d40a35ffd)
    
    Signed-off-by: Alejandro Hernandez <alejandro hernandez linux intel com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-devtools/python/python-mako.inc       |   15 ++++++++++
 meta/recipes-devtools/python/python-mako_1.0.3.bb  |   30 --------------------
 meta/recipes-devtools/python/python-mako_1.0.4.bb  |   17 +++++++++++
 meta/recipes-devtools/python/python3-mako_1.0.3.bb |   24 ----------------
 meta/recipes-devtools/python/python3-mako_1.0.4.bb |   11 +++++++
 5 files changed, 43 insertions(+), 54 deletions(-)
---
diff --git a/meta/recipes-devtools/python/python-mako.inc b/meta/recipes-devtools/python/python-mako.inc
new file mode 100644
index 0000000..85ec217
--- /dev/null
+++ b/meta/recipes-devtools/python/python-mako.inc
@@ -0,0 +1,15 @@
+SUMMARY = "Templating library for Python"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1bb21fa2d2f7a534c884b990430a6863"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/M/Mako/Mako-${PV}.tar.gz";
+
+SRC_URI[md5sum] = "c5fc31a323dd4990683d2f2da02d4e20"
+SRC_URI[sha256sum] = "fed99dbe4d0ddb27a33ee4910d8708aca9ef1fe854e668387a9ab9a90cbf9059"
+
+UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/mako/";
+UPSTREAM_CHECK_REGEX = "/Mako/(?P<pver>(\d+[\.\-_]*)+)"
+
+S = "${WORKDIR}/Mako-${PV}"
+
diff --git a/meta/recipes-devtools/python/python-mako_1.0.4.bb 
b/meta/recipes-devtools/python/python-mako_1.0.4.bb
new file mode 100644
index 0000000..b10b3c3
--- /dev/null
+++ b/meta/recipes-devtools/python/python-mako_1.0.4.bb
@@ -0,0 +1,17 @@
+require python-mako.inc
+
+inherit setuptools
+
+RDEPENDS_${PN} = "python-threading \
+                  python-netclient \
+                  python-html \
+"
+RDEPENDS_${PN}_class-native = ""
+
+BBCLASSEXTEND = "native nativesdk"
+
+# The same utility is packaged in python3-mako, so it would conflict
+do_install_append() {
+    rm -f ${D}${bindir}/mako-render
+    rm -df ${D}${bindir}
+}
diff --git a/meta/recipes-devtools/python/python3-mako_1.0.4.bb 
b/meta/recipes-devtools/python/python3-mako_1.0.4.bb
new file mode 100644
index 0000000..2b50ffd
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-mako_1.0.4.bb
@@ -0,0 +1,11 @@
+require python-mako.inc
+
+inherit setuptools3
+
+RDEPENDS_${PN} = "python3-threading \
+                  python3-netclient \
+                  python3-html \
+"
+RDEPENDS_${PN}_class-native = ""
+
+BBCLASSEXTEND = "native nativesdk"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]