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>
This commit is contained in:
Alexander Kanavin
2016-05-11 16:36:37 +03:00
committed by Richard Purdie
parent be4e792f69
commit f540622fb0
2 changed files with 30 additions and 0 deletions

View File

@@ -22,3 +22,9 @@ RDEPENDS_${PN} = "python-threading \
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}
}