mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
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 <bartosz.golaszewski@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
789f44c3ff
commit
99a83d6981
@@ -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}/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user