summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-django_4.2.27.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-django_4.2.27.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-django_4.2.27.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.27.bb b/meta-python/recipes-devtools/python/python3-django_4.2.27.bb
new file mode 100644
index 0000000000..038b0220fa
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-django_4.2.27.bb
@@ -0,0 +1,17 @@
1require python-django.inc
2inherit python_setuptools_build_meta
3
4SRC_URI += "file://0001-lower-setuptools-requirements.patch"
5SRC_URI[sha256sum] = "b865fbe0f4a3d1ee36594c5efa42b20db3c8bbb10dff0736face1c6e4bda5b92"
6
7RDEPENDS:${PN} += "\
8 python3-sqlparse \
9 python3-asgiref \
10"
11
12PYPI_PACKAGE = "django"
13
14# Set DEFAULT_PREFERENCE so that the LTS version of django is built by
15# default. To build the 4.x branch,
16# PREFERRED_VERSION_python3-django = "4.2.%" can be added to local.conf
17DEFAULT_PREFERENCE = "-1"