dev-python/django-debug-toolbar: add 5.1.0

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2025-03-20 19:51:28 +02:00
parent 2fc4f8af32
commit 59b33da0f7
2 changed files with 45 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST django_debug_toolbar-4.4.6.tar.gz 272610 BLAKE2B bcba8f2dd1c44392a595c8c4a60f1ba40928747760ab49255ef1fefb0847ffc232a409b39d7819f59996b3c7f7a6557fb2b47365b9adcddfe743fcd6a943304e SHA512 ae009219b6eee2427ef6875438900e5d8878986264b6c0c91ddd1939385c7481914ad490050747f13385278d0ce3af225a8fb0282c71b3b8a685467dcc753d88
DIST django_debug_toolbar-5.0.1.tar.gz 295982 BLAKE2B 27461e537ec6408e63b2c9f4d94dc5966014b37f707d2eeb604205f473ad5976e3a9635a76846e2dd5a84fff68231af5d27eca551d8f87cde7300f85428f5bd9 SHA512 6ab82bc504a18858d3deab96a78dfdfd0820bb653fa10c91c9dec503159b7659e4b775a7c4d5c54d3db299813269bbd874e3790f4a3f67232a56ed5187474ec8
DIST django_debug_toolbar-5.1.0.tar.gz 294567 BLAKE2B e6c7d43fcca951c25f03f12328402a5b84fa1333fe74804cf27b6bd3e6ecfe3fc192186dcefc018830afc3fe58cdb2e3761ef750be7424823d82691869a6f487 SHA512 c421d070e2bbf2e30a34a88b23e21bc9c4d2c5304422aa9ce2243321f64972dbbfb5471603c74396c217de51a9b634668e2a3be02fb319f6bf866dbe69f34807

View File

@@ -0,0 +1,44 @@
# 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/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}"
}