mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
0b120d29c8
commit
23626bd902
@@ -4,13 +4,18 @@ 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"
|
||||
PYPI_PACKAGE = "Mako"
|
||||
|
||||
inherit pypi
|
||||
|
||||
SRC_URI[md5sum] = "5836cc997b1b773ef389bf6629c30e65"
|
||||
SRC_URI[sha256sum] = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/mako/"
|
||||
UPSTREAM_CHECK_REGEX = "/Mako/(?P<pver>(\d+[\.\-_]*)+)"
|
||||
RDEPENDS_${PN} = "${PYTHON_PN}-html \
|
||||
${PYTHON_PN}-netclient \
|
||||
${PYTHON_PN}-threading \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/Mako-${PV}"
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
@@ -1,11 +1,2 @@
|
||||
require python-mako.inc
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
RDEPENDS_${PN} = "python3-threading \
|
||||
python3-netclient \
|
||||
python3-html \
|
||||
"
|
||||
RDEPENDS_${PN}_class-native = ""
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
require python-mako.inc
|
||||
|
||||
Reference in New Issue
Block a user