python3-django: add recipe for version 6.0.1

New, non-LTS version.

Release notes: https://github.com/django/django/blob/main/docs/releases/6.0.txt

New features in a nutshell:
- Content Security Policy support
- Template Partials
- Background Tasks
- Adoption of Python's modern email API

Ptest summary:
Ran 18643 tests in 164.287s
OK (skipped=1404, expected failures=5)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari
2026-01-18 17:27:39 +01:00
committed by Khem Raj
parent 2106c5238c
commit b2766ba3ce

View File

@@ -0,0 +1,9 @@
require python3-django.inc
inherit python_setuptools_build_meta
SRC_URI[sha256sum] = "ed76a7af4da21551573b3d9dfc1f53e20dd2e6c7d70a3adc93eedb6338130a5f"
# Set DEFAULT_PREFERENCE so that the LTS version of django is built by
# default. To build the 6.x branch,
# PREFERRED_VERSION_python3-django = "6.0.%" can be added to local.conf
DEFAULT_PREFERENCE = "-1"