Files
poky/meta/recipes-devtools/python/python3-mako_1.3.6.bb
Derek Straka 7dcc37c329 python3-*: Update recipes to correctly check the upstream packages
With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
   packages that use '_', CamelCase, or other deviations from PEP625 in
   the source archive

(From OE-Core rev: efbb98977664cd5392ec00d97d0eaf5374a32573)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-12-17 11:41:53 +00:00

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"