Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-debug-toolbar/
Date: Tue, 12 Mar 2019 23:30:19
Message-Id: 1552427528.6c95eb028a8c38807ccb1eb3f41046b4902550a4.williamh@gentoo
1 commit: 6c95eb028a8c38807ccb1eb3f41046b4902550a4
2 Author: William Hubbs <william.hubbs <AT> sony <DOT> com>
3 AuthorDate: Tue Mar 12 21:49:31 2019 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 12 21:52:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c95eb02
7
8 dev-python/django-debug-toolbar: 1.11 bump
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-2.3.51, Repoman-2.3.12
12 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
13
14 dev-python/django-debug-toolbar/Manifest | 1 +
15 .../django-debug-toolbar-1.11.ebuild | 52 ++++++++++++++++++++++
16 2 files changed, 53 insertions(+)
17
18 diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest
19 index 01ba026b592..8533b850242 100644
20 --- a/dev-python/django-debug-toolbar/Manifest
21 +++ b/dev-python/django-debug-toolbar/Manifest
22 @@ -1 +1,2 @@
23 +DIST django-debug-toolbar-1.11.tar.gz 321727 BLAKE2B 89eab65bc0306da9fd81affbffc312eb99d04f19c66d9e5c6016df323a987e1b3fe1d177d409d68548aede869ed6d3e71adb5f4f4e5cb85a9ab431eca5664033 SHA512 8085b02fc25571e7b3bff02ff2bda8bec81a6000c6ed9e2aea10ec45eb1a3e5adf2ee95fcfbb0a11660fd716ebf2e35a9bdefbaf767b4afc732368a197857e62
24 DIST django-debug-toolbar-1.5.tar.gz 315928 BLAKE2B 8dde3c655baa6bd5f3b5d3ae0ba57b8c5746fc41bcfae9f506ad5c49ff64cdb51f0b9d67ee42695f884493cf21bd76fdcf943d88d97641b5d804d54c59163562 SHA512 9a421b80016bdaee8dd3ba2a9b7c3b788b54a4f464cdd5697e36536268e4d3d926bf77088a715e87f192dc8a20a100d8adac68c9c26a1191a5343e377240bf64
25
26 diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-1.11.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-1.11.ebuild
27 new file mode 100644
28 index 00000000000..08bd4b0acde
29 --- /dev/null
30 +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-1.11.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A configurable set of panels that display debug information"
42 +HOMEPAGE="
43 + https://pypi.org/project/django-debug-toolbar/
44 + https://github.com/django-debug-toolbar/django-debug-toolbar/"
45 +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +SLOT="0"
48 +LICENSE="BSD"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="doc examples"
51 +
52 +RDEPEND="
53 + >=dev-python/django-1.11[${PYTHON_USEDEP}]
54 + >=dev-python/python-sqlparse-0.2.0[${PYTHON_USEDEP}]
55 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
56 +"
57 +DEPEND="${RDEPEND}
58 + dev-python/setuptools[${PYTHON_USEDEP}]
59 +"
60 +
61 +python_prepare_all() {
62 + # Prevent non essential d'loading by intersphinx
63 + sed -e 's:intersphinx_mapping:_&:' -i docs/conf.py || die
64 +
65 + # This prevents distutils from installing 'tests' package, rm magic no more needed
66 + sed -e "/find_packages/s:'tests':'tests.\*', 'tests':" -i setup.py || die
67 +
68 + distutils-r1_python_prepare_all
69 +}
70 +
71 +python_compile_all() {
72 + use doc && emake -C docs html
73 +}
74 +
75 +python_test() {
76 + emake test
77 +}
78 +
79 +python_install_all() {
80 + use doc && local HTML_DOCS=( docs/_build/html/. )
81 + use examples && local EXAMPLES=( example/. )
82 + distutils-r1_python_install_all
83 +}