mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
Update PYPI_PACKAGE to lowercase since that's what the upstream tarball now uses. ptest results: |============================================================================ |Testsuite summary |# TOTAL: 500 |# PASS: 447 |# SKIP: 53 |# XFAIL: 0 |# FAIL: 0 |# XPASS: 0 |# ERROR: 0 |DURATION: 2 |END: /usr/lib/python3-mako/ptest |2024-10-22T17:30 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 Changelog (https://docs.makotemplates.org/en/latest/changelog.html): - Fixed long standing bug where the sequence <& would be misinterpreted by the lexer. It’s not clear why the ampersand character was part of the characters being consumed here and it may have been an inadvertent bit of code from one of Mako’s predecessor languages. References: #412 (From OE-Core rev: 3871ceb5927d4540e0a109d47d5a08a12a0d48a5) Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
917 B
BlitzBasic
37 lines
917 B
BlitzBasic
SUMMARY = "Templating library for Python"
|
|
HOMEPAGE = "http://www.makotemplates.org/"
|
|
SECTION = "devel/python"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=d0995d6f7ba3f186a03118f244e88f57"
|
|
|
|
PYPI_PACKAGE = "mako"
|
|
|
|
inherit pypi python_setuptools_build_meta ptest
|
|
|
|
SRC_URI:append = " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
SRC_URI[sha256sum] = "9ec3a1583713479fae654f83ed9fa8c9a4c16b7bb0daba0e6bbebff50c0d983d"
|
|
|
|
RDEPENDS:${PN} = "python3-html \
|
|
python3-markupsafe \
|
|
python3-misc \
|
|
python3-netclient \
|
|
python3-pygments \
|
|
python3-threading \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += "\
|
|
python3-pytest \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/test
|
|
install -m 0644 ${S}/setup.cfg ${D}${PTEST_PATH}/
|
|
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|