summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-django_4.2.27.bb
blob: 038b0220faef9e20f45627269c1600e47d1d1249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require python-django.inc
inherit python_setuptools_build_meta

SRC_URI += "file://0001-lower-setuptools-requirements.patch"
SRC_URI[sha256sum] = "b865fbe0f4a3d1ee36594c5efa42b20db3c8bbb10dff0736face1c6e4bda5b92"

RDEPENDS:${PN} += "\
    python3-sqlparse \
    python3-asgiref \
"

PYPI_PACKAGE = "django"

# 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.2.%" can be added to local.conf
DEFAULT_PREFERENCE = "-1"