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

This commit is contained in:
Alarig Le Lay 2023-05-02 19:31:14 +02:00
parent c82d781448
commit 633858b3b5
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 53 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST django-debug-toolbar-3.2.2.tar.gz 239313 BLAKE2B 0e53709a3857cefc0ff7a7176ca248891122b2d758264c32171198a22b0c105af414eaba0095b1435b4f071120038f4665bd84438d77a8f65156c056d523f60f SHA512 df1956d63e88d3cf9f831609b6191446a162afbf396cb6d20e5a42aab4276ab385943cc305cad58a9f388382b0dffabc8baedf2150182a4302e7da58ab3d6a5c
DIST django-debug-toolbar-3.4.tar.gz 259964 BLAKE2B 3cd33e0cb7db9afca41961df6b3c7623c1ab698e5751a55a8e12b5339d95af9e44892465a81cdfb822054899a11430d371081243a48c09caf47e764c31243712 SHA512 c6ecc0e1304cc0f3db60670518dc9b0631606a786a2ea71db940dfc641865214c9d2b9a8f302232a4664663f1745996351f3ac9b3b5928a6323779bdb3dcc11e

View file

@ -0,0 +1,52 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="A configurable set of panels that display debug information"
HOMEPAGE="
https://pypi.org/project/django-debug-toolbar/
https://github.com/jazzband/django-debug-toolbar/
"
SRC_URI="
https://github.com/jazzband/django-debug-toolbar/archive/${PV}.tar.gz
-> ${P}.tar.gz
"
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/django-3.3[${PYTHON_USEDEP}]
>=dev-python/sqlparse-0.2.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
$(python_gen_impl_dep sqlite)
${RDEPEND}
)
"
distutils_enable_sphinx docs
python_test() {
emake TEST_ARGS='-v 2 tests' test
}
python_install_all() {
if use examples; then
docinto examples
dodoc -r example/.
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}