From: Denys Dmytriyenko <[email protected]> Signed-off-by: Denys Dmytriyenko <[email protected]> --- .../recipes-devtools/python/python-mako.inc | 15 +++++++++++++++ .../recipes-devtools/python/python-mako_1.0.4.bb | 17 +++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/python/python-mako.inc create mode 100644 meta-arago-extras/recipes-devtools/python/python-mako_1.0.4.bb
diff --git a/meta-arago-extras/recipes-devtools/python/python-mako.inc b/meta-arago-extras/recipes-devtools/python/python-mako.inc new file mode 100644 index 0000000..85ec217 --- /dev/null +++ b/meta-arago-extras/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-arago-extras/recipes-devtools/python/python-mako_1.0.4.bb b/meta-arago-extras/recipes-devtools/python/python-mako_1.0.4.bb new file mode 100644 index 0000000..230044e --- /dev/null +++ b/meta-arago-extras/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 + rmdir ${D}${bindir} +} -- 2.7.4 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
