Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-debug-toolbar/
Date: Sat, 30 Apr 2022 15:59:44
Message-Id: 1651334378.1910d8b53a2481eeeea3fe9feb1c6c3c2f888281.mgorny@gentoo
1 commit: 1910d8b53a2481eeeea3fe9feb1c6c3c2f888281
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 30 15:54:35 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 30 15:59:38 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1910d8b5
7
8 dev-python/django-debug-toolbar: Bump to 3.3
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/django-debug-toolbar/Manifest | 1 +
13 .../django-debug-toolbar-3.3.ebuild | 52 ++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest
17 index 0d527e0f4aa0..2aa96ac4a7de 100644
18 --- a/dev-python/django-debug-toolbar/Manifest
19 +++ b/dev-python/django-debug-toolbar/Manifest
20 @@ -1 +1,2 @@
21 DIST django-debug-toolbar-3.2.4.tar.gz 255283 BLAKE2B 8be7f569c7f1eab06c4a60fca19bce6c348594406cdfe6de7e6be50849272714e9f3b51db4803e7cd58e97fe44a7422b07b05b2208f4447a4d69e0b77c856cb4 SHA512 19d3ba91b8738ade108f7eaded2859ad3e4bcae7cd0115e2cf63698d1fef01773f09a05f6bc0af53f9c3d4a2a288635a5cb2d215a2eb9f8acd6c65175a1ccaef
22 +DIST django-debug-toolbar-3.3.tar.gz 259488 BLAKE2B ea69c02f95bc82690fbef6d826c0e48229e6ce27ec55f26cf9991736789c8e8bd0f4b180fbc1a36a3bc3f890798925e5ff2ef5bd09e6a743adb0770d53cf1e9b SHA512 e9f919f74f58345fec402d9595e739e3619cae90d03f8c5efe7b4c5c191b339e594efd4b9823b3952a3f50d3c5bb7257a0e9eb6a7e60059433a61a8f684a1b21
23
24 diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-3.3.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-3.3.ebuild
25 new file mode 100644
26 index 000000000000..1d724aaa1b7b
27 --- /dev/null
28 +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-3.3.ebuild
29 @@ -0,0 +1,52 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="A configurable set of panels that display debug information"
41 +HOMEPAGE="
42 + https://pypi.org/project/django-debug-toolbar/
43 + https://github.com/jazzband/django-debug-toolbar/
44 +"
45 +SRC_URI="
46 + https://github.com/jazzband/django-debug-toolbar/archive/${PV}.tar.gz
47 + -> ${P}.tar.gz
48 +"
49 +
50 +SLOT="0"
51 +LICENSE="BSD"
52 +KEYWORDS="~amd64 ~x86"
53 +IUSE="doc examples test"
54 +RESTRICT="!test? ( test )"
55 +
56 +RDEPEND="
57 + >=dev-python/django-3.3[${PYTHON_USEDEP}]
58 + >=dev-python/sqlparse-0.2.0[${PYTHON_USEDEP}]
59 +"
60 +BDEPEND="
61 + test? (
62 + $(python_gen_impl_dep sqlite)
63 + ${RDEPEND}
64 + )
65 +"
66 +
67 +distutils_enable_sphinx docs
68 +
69 +python_test() {
70 + emake TEST_ARGS='-v 2 tests' test
71 +}
72 +
73 +python_install_all() {
74 + if use examples; then
75 + docinto examples
76 + dodoc -r example/.
77 + docompress -x /usr/share/doc/${PF}/examples
78 + fi
79 +
80 + distutils-r1_python_install_all
81 +}