diff options
| author | Michał Górny <mgorny@gentoo.org> | 2025-07-26 06:53:33 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2025-07-26 06:54:47 +0200 |
| commit | 2ec1112dbeaab435adfe91a9739696be10f6647e (patch) | |
| tree | 6f61cbeb5c3a330041de124fc6639e4223703b15 /dev-python/django-debug-toolbar | |
| parent | 8ead6e3f2e408c6343e2e0dd24c94e4badf8d06b (diff) | |
| download | gentoo-2ec1112dbeaab435adfe91a9739696be10f6647e.tar.gz gentoo-2ec1112dbeaab435adfe91a9739696be10f6647e.tar.bz2 gentoo-2ec1112dbeaab435adfe91a9739696be10f6647e.zip | |
dev-python/django-debug-toolbar: Bump to 6.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/django-debug-toolbar')
| -rw-r--r-- | dev-python/django-debug-toolbar/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/django-debug-toolbar/django-debug-toolbar-6.0.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index edec00df129c..bb2b68cec666 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -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 diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-6.0.0.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-6.0.0.ebuild new file mode 100644 index 000000000000..e0253c3be237 --- /dev/null +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-6.0.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_{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}" +} |
