summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-05-11 16:36:37 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-01 12:38:42 +0100
commitf540622fb0d51d9f1a46c8559244527fef2d8303 (patch)
tree55e9abbff67b0f7b196cb363f82027478f0f9c43
parentbe4e792f694bf44d23aefc32a81f7be9823e29db (diff)
downloadpoky-f540622fb0d51d9f1a46c8559244527fef2d8303.tar.gz
python3-mako: add a Python 3 recipe
This will be necessary for transiting piglit to Python 3. Python 2 recipe should be kept as it is used by mesa (and gobject-introspection, for now). (From OE-Core rev: 72be3752a56d681672fb3e04413ff3cc59391150) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python-mako_1.0.3.bb6
-rw-r--r--meta/recipes-devtools/python/python3-mako_1.0.3.bb24
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-mako_1.0.3.bb b/meta/recipes-devtools/python/python-mako_1.0.3.bb
index 9efd700dc0..d4f426dadd 100644
--- a/meta/recipes-devtools/python/python-mako_1.0.3.bb
+++ b/meta/recipes-devtools/python/python-mako_1.0.3.bb
@@ -22,3 +22,9 @@ RDEPENDS_${PN} = "python-threading \
22RDEPENDS_${PN}_class-native = "" 22RDEPENDS_${PN}_class-native = ""
23 23
24BBCLASSEXTEND = "native nativesdk" 24BBCLASSEXTEND = "native nativesdk"
25
26# The same utility is packaged in python3-mako, so it would conflict
27do_install_append() {
28 rm -f ${D}${bindir}/mako-render
29 rm -df ${D}${bindir}
30}
diff --git a/meta/recipes-devtools/python/python3-mako_1.0.3.bb b/meta/recipes-devtools/python/python3-mako_1.0.3.bb
new file mode 100644
index 0000000000..c77060357d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-mako_1.0.3.bb
@@ -0,0 +1,24 @@
1SUMMARY = "Templating library for Python"
2SECTION = "devel/python"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=deb3ff8e4c17aaf7b80889b6b2bf4c83"
5
6SRC_URI = "https://pypi.python.org/packages/source/M/Mako/Mako-${PV}.tar.gz"
7
8SRC_URI[md5sum] = "a78f20f6366a8a0659ce5532f8614e53"
9SRC_URI[sha256sum] = "7644bc0ee35965d2e146dde31827b8982ed70a58281085fac42869a09764d38c"
10
11UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/mako/"
12UPSTREAM_CHECK_REGEX = "/Mako/(?P<pver>(\d+[\.\-_]*)+)"
13
14S = "${WORKDIR}/Mako-${PV}"
15
16inherit setuptools3
17
18RDEPENDS_${PN} = "python3-threading \
19 python3-netclient \
20 python3-html \
21"
22RDEPENDS_${PN}_class-native = ""
23
24BBCLASSEXTEND = "native nativesdk"