diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-05-11 16:36:37 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-01 12:38:42 +0100 |
commit | f540622fb0d51d9f1a46c8559244527fef2d8303 (patch) | |
tree | 55e9abbff67b0f7b196cb363f82027478f0f9c43 | |
parent | be4e792f694bf44d23aefc32a81f7be9823e29db (diff) | |
download | poky-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.bb | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-mako_1.0.3.bb | 24 |
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 \ | |||
22 | RDEPENDS_${PN}_class-native = "" | 22 | RDEPENDS_${PN}_class-native = "" |
23 | 23 | ||
24 | BBCLASSEXTEND = "native nativesdk" | 24 | BBCLASSEXTEND = "native nativesdk" |
25 | |||
26 | # The same utility is packaged in python3-mako, so it would conflict | ||
27 | do_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 @@ | |||
1 | SUMMARY = "Templating library for Python" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=deb3ff8e4c17aaf7b80889b6b2bf4c83" | ||
5 | |||
6 | SRC_URI = "https://pypi.python.org/packages/source/M/Mako/Mako-${PV}.tar.gz" | ||
7 | |||
8 | SRC_URI[md5sum] = "a78f20f6366a8a0659ce5532f8614e53" | ||
9 | SRC_URI[sha256sum] = "7644bc0ee35965d2e146dde31827b8982ed70a58281085fac42869a09764d38c" | ||
10 | |||
11 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/mako/" | ||
12 | UPSTREAM_CHECK_REGEX = "/Mako/(?P<pver>(\d+[\.\-_]*)+)" | ||
13 | |||
14 | S = "${WORKDIR}/Mako-${PV}" | ||
15 | |||
16 | inherit setuptools3 | ||
17 | |||
18 | RDEPENDS_${PN} = "python3-threading \ | ||
19 | python3-netclient \ | ||
20 | python3-html \ | ||
21 | " | ||
22 | RDEPENDS_${PN}_class-native = "" | ||
23 | |||
24 | BBCLASSEXTEND = "native nativesdk" | ||