From: Bartosz Golaszewski <[email protected]>

We no longer support python2. Drop PYTHON_PN and use python3 explicitly.
While at it: make indentation consistent.

Signed-off-by: Bartosz Golaszewski <[email protected]>
---
 .../recipes-devtools/python/python3-parse_1.19.0.bb  | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

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 2bf55cbaf..8db482e14 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}/
 }
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#102941): 
https://lists.openembedded.org/g/openembedded-devel/message/102941
Mute This Topic: https://lists.openembedded.org/mt/99237918/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to