1 |
commit: 99e945fc723eba5791a56ab1f5ec05f892503a20 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 15 06:27:36 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 15 06:32:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e945fc |
7 |
|
8 |
dev-python/django-debug-toolbar: Bump to 3.2.1 |
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.2.1.ebuild | 47 ++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest |
17 |
index c707abcbdff..b900f9ce820 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.1.tar.gz 228867 BLAKE2B af3d8011136ba30e690e03548d757405e9cd89fb5473b277720a3151149e92be212e50a6ec3d95903382716c9594405a1e93a7a1bf231f220f4b5c8ae1e38480 SHA512 c4cfa3cd98adfba7362e259e18a0240b886f294ba10f5c64e12887b00d4dc952e9b80cac0f78e7193a15566585f43d988f6d287e4d0dcc84c4f8395c7006e2b0 |
22 |
+DIST django-debug-toolbar-3.2.1.tar.gz 231177 BLAKE2B b07ed03a92b5799dafd1b15b41335c5da6994be1001b579c85e0923ccc092e617ce04c9a2f4344716213cdd62425737838a8539ca5b566928bf8b4c133e8451e SHA512 d28e13cc2e3bbb27e9c728037229adac444180e3831b88c9ac1aa0e139bd1e85f9190c7a324afe3292bde4ad0c919bd17fbde4998be266f81314b9b22c4a28e6 |
23 |
|
24 |
diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.1.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..06f03d13eb9 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/django-debug-toolbar/django-debug-toolbar-3.2.1.ebuild |
29 |
@@ -0,0 +1,47 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="A configurable set of panels that display debug information" |
40 |
+HOMEPAGE=" |
41 |
+ https://pypi.org/project/django-debug-toolbar/ |
42 |
+ https://github.com/jazzband/django-debug-toolbar/" |
43 |
+SRC_URI="https://github.com/jazzband/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+SLOT="0" |
46 |
+LICENSE="BSD" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="doc examples test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-python/django-1.11[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/sqlparse-0.2.0[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+DEPEND=" |
56 |
+ test? ( |
57 |
+ $(python_gen_impl_dep sqlite) |
58 |
+ ${RDEPEND} |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+distutils_enable_sphinx docs |
63 |
+ |
64 |
+python_test() { |
65 |
+ emake TEST_ARGS='-v 2 tests' test |
66 |
+} |
67 |
+ |
68 |
+python_install_all() { |
69 |
+ if use examples; then |
70 |
+ docinto examples |
71 |
+ dodoc -r example/. |
72 |
+ docompress -x /usr/share/doc/${PF}/examples |
73 |
+ fi |
74 |
+ |
75 |
+ distutils-r1_python_install_all |
76 |
+} |