python3-pyroute2: fix coding style

Make indentations consistent and stop using PYTHON_PN.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski
2023-05-31 10:23:12 +02:00
committed by Khem Raj
parent 540efe037e
commit 7b44bb939a

View File

@@ -8,29 +8,29 @@ SRC_URI[sha256sum] = "45460d12ed2a5caf272a357a3360b36d1e346f17afe1425b66fc21d70f
inherit setuptools3 pypi ptest inherit setuptools3 pypi ptest
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${PYTHON_PN}-ctypes \ python3-ctypes \
${PYTHON_PN}-distutils \ python3-distutils \
${PYTHON_PN}-io \ python3-io \
${PYTHON_PN}-json \ python3-json \
${PYTHON_PN}-logging \ python3-logging \
${PYTHON_PN}-multiprocessing \ python3-multiprocessing \
${PYTHON_PN}-pickle \ python3-pickle \
${PYTHON_PN}-pkgutil \ python3-pkgutil \
${PYTHON_PN}-pprint \ python3-pprint \
${PYTHON_PN}-shell \ python3-shell \
${PYTHON_PN}-unixadmin \ python3-unixadmin \
" "
SRC_URI += " \ SRC_URI += " \
file://run-ptest \ file://run-ptest \
" "
RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ python3-pytest \
${PYTHON_PN}-fcntl \ python3-fcntl \
" "
do_install_ptest() { do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
} }