python3-parse-type: Cosmetic fixes

Apply some changes to recipe content ordering and indentation style
from oe-stylize.py.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Niko Mauno 2024-08-26 09:40:10 +00:00 committed by Khem Raj
parent 6dd9563e23
commit d44a54676d
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -4,22 +4,21 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2e469278ace89c246d52505acc39c3da"
SRC_URI[sha256sum] = "79b1f2497060d0928bc46016793f1fca1057c4aacdf15ef876aa48d75a73a355"
PYPI_PACKAGE = "parse_type"
inherit pypi ptest python_setuptools_build_meta
RDEPENDS:${PN} += "python3-parse"
SRC_URI += " \
file://run-ptest \
file://run-ptest \
"
PYPI_PACKAGE = "parse_type"
inherit pypi ptest python_setuptools_build_meta
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}
RDEPENDS:${PN} += "python3-parse"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}