meta-openembedded/meta-python/recipes-devtools/python/python3-django_4.0.2.bb
Jagadeesh Krishnanjanappa ae8974f6ba python3-django: Add python3-asgiref runtime dependency
Add runtime dependency on python3-asgiref as the "django-admin"
script needs asgiref module.

More info: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14888

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-23 19:12:52 -07:00

15 lines
421 B
BlitzBasic

require python-django.inc
inherit setuptools3
SRC_URI[sha256sum] = "110fb58fb12eca59e072ad59fc42d771cd642dd7a2f2416582aa9da7a8ef954a"
RDEPENDS:${PN} += "\
${PYTHON_PN}-sqlparse \
${PYTHON_PN}-asgiref \
"
# Set DEFAULT_PREFERENCE so that the LTS version of django is built by
# default. To build the 4.x branch,
# PREFERRED_VERSION_python3-django = "4.0.2" can be added to local.conf
DEFAULT_PREFERENCE = "-1"