summaryrefslogtreecommitdiff
path: root/dev-python/django-debug-toolbar
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/django-debug-toolbar')
-rw-r--r--dev-python/django-debug-toolbar/Manifest2
-rw-r--r--dev-python/django-debug-toolbar/django-debug-toolbar-6.1.0.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest
index 956b29bdb766..bf74960111c0 100644
--- a/dev-python/django-debug-toolbar/Manifest
+++ b/dev-python/django-debug-toolbar/Manifest
@@ -1,2 +1,4 @@
DIST django_debug_toolbar-6.0.0.tar.gz 305331 BLAKE2B a51c465065036a2b9807bcf75561f3b12dea8532312b5f56ae97ed304d97de1e4f686f9ec38952e7defbb1c4142e63946661e2d6248f800072180ffc94cf83c1 SHA512 2772bba84805309cebba962ee386e2c44a922f7b1f61fcb59b9723e107ac950b0b8816f22fbf28c4a11c9e985b3c2343c4a7ca0a07ac0060de5533e95d06d5f4
DIST django_debug_toolbar-6.0.0.tar.gz.provenance 9931 BLAKE2B 65b8a2edd627e9a5b86d26692d8b5b29f426beaf12f138357f04e3ecfbd7822624d7452a25d43b8ebf7a8b9ed581d0880969d7f7ac52161452064ba050100310 SHA512 bf0bc9b88ecfeb2edee3a99e84e15ad07d173e4072ed35a074303b7ed0e37afabaa83e631760247173098fe3467a6b9a75ed5df9f5bdf5bfab04f7a55ba8e143
+DIST django_debug_toolbar-6.1.0.tar.gz 309141 BLAKE2B 885d69d0a93eaaca1c713acfa0a0c78b5f7d53f7f4d9a59707564a132312008cbc95177d2718c86e754d7f7b1546170f398cbad5f14c60337bfb6254de3e4691 SHA512 e2eaa16460b3cb81666984136e3ad492dad9444f356757c95c94ea23547fcb5a7c7d8928e325ff1b0e08b6ce1b5cbe58bbc52933a8bb3a78676bc39a0f0c752a
+DIST django_debug_toolbar-6.1.0.tar.gz.provenance 10248 BLAKE2B 7dee60be72a31a7a35e434ddc0f58933175385d3c1c306c6beb901f125e5314d067fb24cdf1a0a145479f561b47eb1451f01a0b4b0d1424cc7ed4434d1182e04 SHA512 86e14abbabdf4d17131bdb8952e6791c2cb2603c99c232852ccd44475cdb33d871a8e26b6019b088478ae2707730c35939424b33f33232e2e3365855dfa3a610
diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-6.1.0.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-6.1.0.ebuild
new file mode 100644
index 000000000000..06151a341e17
--- /dev/null
+++ b/dev-python/django-debug-toolbar/django-debug-toolbar-6.1.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYPI_VERIFY_REPO=https://github.com/django-commons/django-debug-toolbar
+PYTHON_COMPAT=( python3_{11..14} )
+
+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}"
+}