dev-python/django-debug-toolbar: Bump to 6.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-07-26 06:53:33 +02:00
parent 8ead6e3f2e
commit 2ec1112dbe
2 changed files with 46 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST django_debug_toolbar-5.2.0.tar.gz 297901 BLAKE2B 36e50d5b3283725aab3f622bca04a401db09eccc25544a49be26c8fb942ab9c9870ac947035c83bb0c7b0c07397ca6dc0c36983b521517bc682026f87be37f31 SHA512 8d2f2876a3da461c152c6d273a53fdefdaa27937c2fe25c606c9d1b8ff7fff677fa7ab57a7626991ef886d39aacc4e0fe44f08da111cf665cdd87ca7bc2e848a
DIST django_debug_toolbar-6.0.0.tar.gz 305331 BLAKE2B a51c465065036a2b9807bcf75561f3b12dea8532312b5f56ae97ed304d97de1e4f686f9ec38952e7defbb1c4142e63946661e2d6248f800072180ffc94cf83c1 SHA512 2772bba84805309cebba962ee386e2c44a922f7b1f61fcb59b9723e107ac950b0b8816f22fbf28c4a11c9e985b3c2343c4a7ca0a07ac0060de5533e95d06d5f4

View File

@@ -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_{11..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 ~arm64 ~x86"
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}"
}