diff mbox series

[v2,47/55] python3-coverage: fix coding style and RDEPENDS

Message ID 20230623143921.146338-48-brgl@bgdev.pl
State New
Headers show
Series python3: improve run-time dependencies situation - take 2 | expand

Commit Message

Bartosz Golaszewski June 23, 2023, 2:39 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Don't use PYTHON_PN, order RDEPENDS alphabetically. Replace toml with
tomllib to fix a run-time dependency issue.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 .../python/python3-coverage_7.2.7.bb          | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-coverage_7.2.7.bb b/meta-python/recipes-devtools/python/python3-coverage_7.2.7.bb
index f625996ba..a69c05d25 100644
--- a/meta-python/recipes-devtools/python/python3-coverage_7.2.7.bb
+++ b/meta-python/recipes-devtools/python/python3-coverage_7.2.7.bb
@@ -8,14 +8,13 @@  SRC_URI[sha256sum] = "924d94291ca674905fe9481f12294eb11f2d3d3fd1adb20314ba89e94f
 inherit pypi setuptools3
 
 RDEPENDS:${PN} += " \
-	${PYTHON_PN}-sqlite3 \
-	${PYTHON_PN}-core \
-	${PYTHON_PN}-pprint \
-	${PYTHON_PN}-json \
-	${PYTHON_PN}-xml \
-	${PYTHON_PN}-crypt \
-	${PYTHON_PN}-shell \
-	${PYTHON_PN}-io \
-	${PYTHON_PN}-toml \
-	${PYTHON_PN}-multiprocessing \
+    python3-crypt \
+    python3-io \
+    python3-json \
+    python3-multiprocessing \
+    python3-pprint \
+    python3-shell \
+    python3-sqlite3 \
+    python3-tomllib \
+    python3-xml \
 "