From f45f3862a64be2a8502a3a348bb3b7f72869c988 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 7 Apr 2021 17:32:07 +0300 Subject: python3-django: Upgrade 3.1.7 -> 3.2 Upgrade to release 3.2: - Automatic AppConfig discovery - Customizing type of auto-created primary keys - Functional indexes - pymemcache support - New decorators for the admin site - Other minor new features Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-django_3.2.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-django_3.2.bb (limited to 'meta-python/recipes-devtools/python/python3-django_3.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-django_3.2.bb b/meta-python/recipes-devtools/python/python3-django_3.2.bb new file mode 100644 index 0000000000..e147e2f9d1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django_3.2.bb @@ -0,0 +1,13 @@ +require python-django.inc +inherit setuptools3 + +SRC_URI[sha256sum] = "21f0f9643722675976004eb683c55d33c05486f94506672df3d6a141546f389d" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-sqlparse \ +" + +# Set DEFAULT_PREFERENCE so that the LTS version of django is built by +# default. To build the 3.x branch, +# PREFERRED_VERSION_python3-django = "3.2" can be added to local.conf +DEFAULT_PREFERENCE = "-1" -- cgit v1.2.3-54-g00ecf