commit:     0c1f427be1e80207f0d9ec40ce2fbe71ee705074
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  7 14:13:59 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Aug  7 14:15:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c1f427b

dev-python/django: Backport HTMLParser test fixes to older slots

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/django/django-4.2.23.ebuild | 2 ++
 dev-python/django/django-5.1.11.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/dev-python/django/django-4.2.23.ebuild 
b/dev-python/django/django-4.2.23.ebuild
index 9cf1a5ef0ecb..658e32ff4790 100644
--- a/dev-python/django/django-4.2.23.ebuild
+++ b/dev-python/django/django-4.2.23.ebuild
@@ -60,6 +60,8 @@ PATCHES=(
        "${FILESDIR}"/django-5.1-more-pypy3.patch
        # https://code.djangoproject.com/ticket/34900
        "${FILESDIR}"/django-4.2.21-py313.patch
+       # https://github.com/django/django/pull/19639
+       "${FILESDIR}"/django-5.2.5-htmlparser.patch
 )
 
 distutils_enable_sphinx docs --no-autodoc

diff --git a/dev-python/django/django-5.1.11.ebuild 
b/dev-python/django/django-5.1.11.ebuild
index 4fbe18c23785..43d49f554fb2 100644
--- a/dev-python/django/django-5.1.11.ebuild
+++ b/dev-python/django/django-5.1.11.ebuild
@@ -54,6 +54,8 @@ BDEPEND="
 
 PATCHES=(
        "${FILESDIR}"/django-4.0-bashcomp.patch
+       # https://github.com/django/django/pull/19639
+       "${FILESDIR}"/django-5.2.5-htmlparser.patch
 )
 
 distutils_enable_sphinx docs --no-autodoc

Reply via email to