summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-mako.inc
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2017-11-18 17:21:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-13 14:00:52 +0000
commit23626bd9025aad8a10d7cb13796a493e9db816e1 (patch)
tree39e723bf21c8e8250e84ca1650a689e378d61e8c /meta/recipes-devtools/python/python-mako.inc
parent0b120d29c801516aa901a0a57d909ddf36003d02 (diff)
downloadpoky-23626bd9025aad8a10d7cb13796a493e9db816e1.tar.gz
python-mako: use pypi.bbclass
* Simpify python3-mako by using pypi.bbclass * Consolidate common content in .inc (From OE-Core rev: dac10db1853bae722f35e6aab24569f12df30b55) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-mako.inc')
-rw-r--r--meta/recipes-devtools/python/python-mako.inc13
1 files changed, 9 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python-mako.inc b/meta/recipes-devtools/python/python-mako.inc
index 1c83af6a23..e265bde85f 100644
--- a/meta/recipes-devtools/python/python-mako.inc
+++ b/meta/recipes-devtools/python/python-mako.inc
@@ -4,13 +4,18 @@ SECTION = "devel/python"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=1bb21fa2d2f7a534c884b990430a6863" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=1bb21fa2d2f7a534c884b990430a6863"
6 6
7SRC_URI = "https://files.pythonhosted.org/packages/source/M/Mako/Mako-${PV}.tar.gz" 7PYPI_PACKAGE = "Mako"
8
9inherit pypi
8 10
9SRC_URI[md5sum] = "5836cc997b1b773ef389bf6629c30e65" 11SRC_URI[md5sum] = "5836cc997b1b773ef389bf6629c30e65"
10SRC_URI[sha256sum] = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae" 12SRC_URI[sha256sum] = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae"
11 13
12UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/mako/" 14RDEPENDS_${PN} = "${PYTHON_PN}-html \
13UPSTREAM_CHECK_REGEX = "/Mako/(?P<pver>(\d+[\.\-_]*)+)" 15 ${PYTHON_PN}-netclient \
16 ${PYTHON_PN}-threading \
17"
14 18
15S = "${WORKDIR}/Mako-${PV}" 19RDEPENDS_${PN}_class-native = ""
16 20
21BBCLASSEXTEND = "native nativesdk"