meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.20.1.bb
Derek Straka fd0e24694f
python3-parse: re-add functional ptests
Verified tests pass with via the test image execution
(bitbake meta-python-image-ptest-python3-parse -c testimage

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-21 20:00:22 -08:00

28 lines
658 B
BlitzBasic

SUMMARY = "Parse strings using a specification based on the Python format() syntax"
HOMEPAGE = "https://github.com/r1chardj0n3s/parse"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05"
SRC_URI[sha256sum] = "09002ca350ad42e76629995f71f7b518670bcf93548bdde3684fd55d2be51975"
SRC_URI += " \
file://run-ptest \
"
inherit pypi python_setuptools_build_meta ptest
RDEPENDS:${PN} += "\
python3-datetime \
python3-logging \
python3-numbers \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
cp -f ${S}/tests/test*.py ${D}${PTEST_PATH}/
}