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

inherit pypi setuptools3

SRC_URI += "file://0001-add-back-setuptools-support.patch"
SRC_URI[sha256sum] = "b865fbe0f4a3d1ee36594c5efa42b20db3c8bbb10dff0736face1c6e4bda5b92"

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

# PYPI package name changed from Django -> django
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.27" can be added to local.conf
DEFAULT_PREFERENCE = "-1"