diff options
| author | Tim Orling <timothy.t.orling@linux.intel.com> | 2017-11-18 17:21:31 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-13 14:00:52 +0000 |
| commit | 23626bd9025aad8a10d7cb13796a493e9db816e1 (patch) | |
| tree | 39e723bf21c8e8250e84ca1650a689e378d61e8c /meta | |
| parent | 0b120d29c801516aa901a0a57d909ddf36003d02 (diff) | |
| download | poky-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')
| -rw-r--r-- | meta/recipes-devtools/python/python-mako.inc | 13 | ||||
| -rw-r--r-- | meta/recipes-devtools/python/python3-mako_1.0.7.bb | 11 |
2 files changed, 10 insertions, 14 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" | |||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1bb21fa2d2f7a534c884b990430a6863" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1bb21fa2d2f7a534c884b990430a6863" |
| 6 | 6 | ||
| 7 | SRC_URI = "https://files.pythonhosted.org/packages/source/M/Mako/Mako-${PV}.tar.gz" | 7 | PYPI_PACKAGE = "Mako" |
| 8 | |||
| 9 | inherit pypi | ||
| 8 | 10 | ||
| 9 | SRC_URI[md5sum] = "5836cc997b1b773ef389bf6629c30e65" | 11 | SRC_URI[md5sum] = "5836cc997b1b773ef389bf6629c30e65" |
| 10 | SRC_URI[sha256sum] = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae" | 12 | SRC_URI[sha256sum] = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae" |
| 11 | 13 | ||
| 12 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/mako/" | 14 | RDEPENDS_${PN} = "${PYTHON_PN}-html \ |
| 13 | UPSTREAM_CHECK_REGEX = "/Mako/(?P<pver>(\d+[\.\-_]*)+)" | 15 | ${PYTHON_PN}-netclient \ |
| 16 | ${PYTHON_PN}-threading \ | ||
| 17 | " | ||
| 14 | 18 | ||
| 15 | S = "${WORKDIR}/Mako-${PV}" | 19 | RDEPENDS_${PN}_class-native = "" |
| 16 | 20 | ||
| 21 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-devtools/python/python3-mako_1.0.7.bb b/meta/recipes-devtools/python/python3-mako_1.0.7.bb index 2b50ffd08a..22ceeeb395 100644 --- a/meta/recipes-devtools/python/python3-mako_1.0.7.bb +++ b/meta/recipes-devtools/python/python3-mako_1.0.7.bb | |||
| @@ -1,11 +1,2 @@ | |||
| 1 | require python-mako.inc | ||
| 2 | |||
| 3 | inherit setuptools3 | 1 | inherit setuptools3 |
| 4 | 2 | require python-mako.inc | |
| 5 | RDEPENDS_${PN} = "python3-threading \ | ||
| 6 | python3-netclient \ | ||
| 7 | python3-html \ | ||
| 8 | " | ||
| 9 | RDEPENDS_${PN}_class-native = "" | ||
| 10 | |||
| 11 | BBCLASSEXTEND = "native nativesdk" | ||
