aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Gamblin <trevor.gamblin@windriver.com>2022-01-07 13:52:16 -0500
committerKhem Raj <raj.khem@gmail.com>2022-01-10 10:35:02 -0800
commite8582ac2e3a5a0f99f96cd1275231c0eb83848d3 (patch)
treed0c53966b562a7f7abe979d54774280acb1f4917
parent6e166d723b1b40079bcdf7ff329aa3c4f9b85c67 (diff)
downloadmeta-openembedded-contrib-e8582ac2e3a5a0f99f96cd1275231c0eb83848d3.tar.gz
python3-django: Add recipe for 4.0.1
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-django_4.0.1.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-django_4.0.1.bb b/meta-python/recipes-devtools/python/python3-django_4.0.1.bb
new file mode 100644
index 0000000000..6cf8cad8a9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-django_4.0.1.bb
@@ -0,0 +1,13 @@
+require python-django.inc
+inherit setuptools3
+
+SRC_URI[sha256sum] = "2485eea3cc4c3bae13080dee866ebf90ba9f98d1afe8fda89bfb0eb2e218ef86"
+
+RDEPENDS:${PN} += "\
+ ${PYTHON_PN}-sqlparse \
+"
+
+# 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"