mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 19:09:26 +00:00
These patches are for python3-django_3.2.25 These patches only touch the tests folder, which is normally not installed. Most of these changes are backported patches, that adapt tests to modern(er) Python environment than they were written for, and some other just fix a bug in the tests that were always present. 0001-Fix-tag_strip-tests.patch: The html parser's behavior in Python has changed, making this testcase fail. This is a partial backport of the patch, which handles only the Python version that is shipped with oe-core (The original patch handles both old and new versions) 0001-Fixed-test_utils.tests.HTMLEqualTests.test_parsing_e.patch: this backported patch makes a test-verification conform to html5 standard. Previously the test failed. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
27 lines
914 B
BlitzBasic
27 lines
914 B
BlitzBasic
require python-django.inc
|
|
inherit setuptools3
|
|
|
|
SRC_URI[sha256sum] = "7ca38a78654aee72378594d63e51636c04b8e28574f5505dff630895b5472777"
|
|
|
|
RDEPENDS:${PN} += "\
|
|
${PYTHON_PN}-sqlparse \
|
|
"
|
|
SRC_URI += "\
|
|
file://CVE-2025-26699.patch \
|
|
file://CVE-2024-56374.patch \
|
|
file://CVE-2025-57833.patch \
|
|
file://CVE-2024-39329.patch \
|
|
file://CVE-2024-39330.patch \
|
|
file://CVE-2024-41991.patch \
|
|
file://CVE-2024-53907.patch \
|
|
file://CVE-2025-32873.patch \
|
|
file://0001-Fixed-33367-Fixed-URLValidator-crash-in-some-edge-ca.patch \
|
|
file://0001-Fix-tag_strip-tests.patch \
|
|
file://0001-Fixed-test_utils.tests.HTMLEqualTests.test_parsing_e.patch \
|
|
"
|
|
|
|
# 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.2.25" can be added to local.conf
|
|
DEFAULT_PREFERENCE = "-1"
|