commit: c07579fd43fea231ae2780e28d6069d09686162c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 30 04:53:53 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 30 05:35:56 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c07579fd
dev-python/django-debug-toolbar: Bump to 5.2.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/django-debug-toolbar/Manifest | 1 +
.../django-debug-toolbar-5.2.0.ebuild | 45 ++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/dev-python/django-debug-toolbar/Manifest
b/dev-python/django-debug-toolbar/Manifest
index 4692525249f2..b24ad6b7355e 100644
--- a/dev-python/django-debug-toolbar/Manifest
+++ b/dev-python/django-debug-toolbar/Manifest
@@ -1 +1,2 @@
DIST django_debug_toolbar-5.1.0.tar.gz 294567 BLAKE2B
e6c7d43fcca951c25f03f12328402a5b84fa1333fe74804cf27b6bd3e6ecfe3fc192186dcefc018830afc3fe58cdb2e3761ef750be7424823d82691869a6f487
SHA512
c421d070e2bbf2e30a34a88b23e21bc9c4d2c5304422aa9ce2243321f64972dbbfb5471603c74396c217de51a9b634668e2a3be02fb319f6bf866dbe69f34807
+DIST django_debug_toolbar-5.2.0.tar.gz 297901 BLAKE2B
36e50d5b3283725aab3f622bca04a401db09eccc25544a49be26c8fb942ab9c9870ac947035c83bb0c7b0c07397ca6dc0c36983b521517bc682026f87be37f31
SHA512
8d2f2876a3da461c152c6d273a53fdefdaa27937c2fe25c606c9d1b8ff7fff677fa7ab57a7626991ef886d39aacc4e0fe44f08da111cf665cdd87ca7bc2e848a
diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-5.2.0.ebuild
b/dev-python/django-debug-toolbar/django-debug-toolbar-5.2.0.ebuild
new file mode 100644
index 000000000000..3cb8a78d3e69
--- /dev/null
+++ b/dev-python/django-debug-toolbar/django-debug-toolbar-5.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A configurable set of panels that display various debug
information"
+HOMEPAGE="
+ https://github.com/django-commons/django-debug-toolbar/
+ https://pypi.org/project/django-debug-toolbar/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-python/django-4.2.9[${PYTHON_USEDEP}]
+ elibc_musl? ( dev-python/tzdata )
+"
+
+BDEPEND="
+ test? (
+ dev-python/django-template-partials[${PYTHON_USEDEP}]
+ dev-python/html5lib[${PYTHON_USEDEP}]
+ )
+"
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # requires django-csp
+ rm tests/test_csp_rendering.py || die
+}
+
+python_test() {
+ "${EPYTHON}" -m django test -v 2 --settings tests.settings tests \
+ || die "Tests failed with ${EPYTHON}"
+}