From 99a83d698178d3555111005d69f934195688c1f5 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 31 May 2023 10:22:22 +0200 Subject: python3-parse: don't use PYTHON_PN and improve coding style We no longer support python2. Drop PYTHON_PN and use python3 explicitly. While at it: make indentation consistent. Signed-off-by: Bartosz Golaszewski Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-parse_1.19.0.bb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-parse_1.19.0.bb b/meta-python/recipes-devtools/python/python3-parse_1.19.0.bb index 2bf55cbaff..8db482e141 100644 --- a/meta-python/recipes-devtools/python/python3-parse_1.19.0.bb +++ b/meta-python/recipes-devtools/python/python3-parse_1.19.0.bb @@ -8,18 +8,18 @@ SRC_URI[sha256sum] = "9ff82852bcb65d139813e2a5197627a94966245c897796760a3a2a8eb6 inherit pypi setuptools3 ptest RDEPENDS:${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-logging \ - " + python3-datetime \ + python3-logging \ +" SRC_URI += " \ - file://run-ptest \ + file://run-ptest \ " RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ + python3-pytest \ " do_install_ptest() { - cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/ + cp -f ${S}/test_parse.py ${D}${PTEST_PATH}/ } -- cgit v1.2.3-54-g00ecf