diff mbox series

[meta-python,10/21] python3-parse-type: Cosmetic fixes

Message ID 20240826094021.2744296-10-niko.mauno@vaisala.com
State Accepted
Headers show
Series [meta-python,01/21] python3-xlsxwriter: Fix LICENSE | expand

Commit Message

Niko Mauno Aug. 26, 2024, 9:40 a.m. UTC
Apply some changes to recipe content ordering and indentation style
from oe-stylize.py.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 .../python/python3-parse-type_0.6.2.bb        | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb
index b5d9b2057..4c5efa185 100644
--- a/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb
+++ b/meta-python/recipes-devtools/python/python3-parse-type_0.6.2.bb
@@ -4,22 +4,21 @@  LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=2e469278ace89c246d52505acc39c3da"
 
 SRC_URI[sha256sum] = "79b1f2497060d0928bc46016793f1fca1057c4aacdf15ef876aa48d75a73a355"
+SRC_URI += " \
+    file://run-ptest \
+"
 
 PYPI_PACKAGE = "parse_type"
-inherit pypi ptest python_setuptools_build_meta
 
-RDEPENDS:${PN} += "python3-parse"
+inherit pypi ptest python_setuptools_build_meta
 
-SRC_URI += " \
-	file://run-ptest \
-"
+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/
-}