diff mbox series

[meta-python,4/5] python3-django: consolidate dependencies in .inc file

Message ID 20260116153311.3444648-4-skandigraun@gmail.com
State Under Review
Headers show
Series [meta-python,1/5] python3-tblib: add recipe | expand

Commit Message

Gyorgy Sarvari Jan. 16, 2026, 3:33 p.m. UTC
Django 4.2.x recipe has been deleted, the dependencies that were specific
to version 5.x can be moved to the common .inc file.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 meta-python/recipes-devtools/python/python3-django.inc      | 3 ++-
 meta-python/recipes-devtools/python/python3-django_5.2.9.bb | 5 -----
 2 files changed, 2 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc
index 317793abba..589f6a5b85 100644
--- a/meta-python/recipes-devtools/python/python3-django.inc
+++ b/meta-python/recipes-devtools/python/python3-django.inc
@@ -15,6 +15,7 @@  FILES:${PN} += "${datadir}/django"
 BBCLASSEXTEND = "native nativesdk"
 
 RDEPENDS:${PN} += "\
+    python3-asgiref \
     python3-compression \
     python3-ctypes \
     python3-datetime \
@@ -27,6 +28,7 @@  RDEPENDS:${PN} += "\
     python3-numbers \
     python3-pkgutil \
     python3-pytz \
+    python3-sqlparse \
     python3-threading \
     python3-unixadmin \
     python3-xml \
@@ -45,7 +47,6 @@  do_install_ptest(){
 
 RDEPENDS:${PN}-ptest += " \
     gettext \
-    python3-asgiref \
     python3-bcrypt \
     python3-compile \
     python3-docutils \
diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.9.bb b/meta-python/recipes-devtools/python/python3-django_5.2.9.bb
index fa9fb2e929..11f438d623 100644
--- a/meta-python/recipes-devtools/python/python3-django_5.2.9.bb
+++ b/meta-python/recipes-devtools/python/python3-django_5.2.9.bb
@@ -5,8 +5,3 @@  SRC_URI += "file://0001-fix-test_msgfmt_error_including_non_ascii-test.patch \
             file://0001-Fix-test_strip_tags-test.patch \
 "
 SRC_URI[sha256sum] = "16b5ccfc5e8c27e6c0561af551d2ea32852d7352c67d452ae3e76b4f6b2ca495"
-
-RDEPENDS:${PN} += "\
-    python3-sqlparse \
-    python3-asgiref \
-"