python3-django: add recipe for 3.1.1
PATCH v2 1/1 python3-django: add recipe for 3.1.1
meta-python only contains a recipe for django 2.2.x, so add a recipe file for the newest branch.
Signed-off-by Trevor Gamblin <[email protected]>
---
v2 adds DEFAULT_PREFERENCE so that the 2.2.16 LTS version of python3-django is still the default choice for builds.
.../python/python3-django_3.1.1.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-django_3.1.1.bb
meta-python/recipes-devtools/python/python3-django_3.1.1.bb new file +14 -0
@@ -0,0 +1,14 @@ +require python-django.inc +inherit setuptools3 + +SRC_URI[md5sum] = "d5e894fb3c46064e84e9dc68a08a46d0" +SRC_URI[sha256sum] = "59c8125ca873ed3bdae9c12b146fbbd6ed8d0f743e4cf5f5817af50c51f1fc2f" + +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.1.1" can be added to local.conf +DEFAULT_PREFERENCE = "-1"
Signature · 1 line
2.26.2