mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
This is used by some of the results handling code and needed as part of buildtools tarball on various autobuilder worker for testing. ptest is disabled for OE-Core, at least for now since it depends on python3-pytest which in turn has may other dependencies. Acked-by: Tim Orling <ticotimo@gmail.com> (From OE-Core rev: 9d30a3b95ef4dce8925f88c8d8d854ed48c5f367) Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
46 lines
1.0 KiB
BlitzBasic
46 lines
1.0 KiB
BlitzBasic
DESCRIPTION = "Python Jinja2: A small but fast and easy to use stand-alone template engine written in pure python."
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=5dc88300786f1c214c1e9827a5229462"
|
|
|
|
SRC_URI[sha256sum] = "89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0"
|
|
|
|
PYPI_PACKAGE = "Jinja2"
|
|
|
|
CLEANBROKEN = "1"
|
|
|
|
inherit pypi setuptools3
|
|
# ptest disabled in OE-Core for now due to missing dependencies
|
|
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|
|
RDEPENDS_${PN}-ptest += " \
|
|
${PYTHON_PN}-pytest \
|
|
${PYTHON_PN}-unixadmin \
|
|
"
|
|
|
|
RDEPENDS_${PN} += " \
|
|
${PYTHON_PN}-asyncio \
|
|
${PYTHON_PN}-crypt \
|
|
${PYTHON_PN}-io \
|
|
${PYTHON_PN}-json \
|
|
${PYTHON_PN}-markupsafe \
|
|
${PYTHON_PN}-math \
|
|
${PYTHON_PN}-netclient \
|
|
${PYTHON_PN}-numbers\
|
|
${PYTHON_PN}-pickle \
|
|
${PYTHON_PN}-pprint \
|
|
${PYTHON_PN}-shell \
|
|
${PYTHON_PN}-threading \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|