Gentoo Archives: gentoo-commits

From: Johann Schmitz <ercpe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-debug-toolbar/
Date: Thu, 25 Aug 2016 04:39:29
Message-Id: 1472099958.3e8ef749a93eb7c98bfe28d97434cac559957c0f.ercpe@gentoo
1 commit: 3e8ef749a93eb7c98bfe28d97434cac559957c0f
2 Author: Johann Schmitz <ercpe <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 25 04:39:18 2016 +0000
4 Commit: Johann Schmitz <ercpe <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 25 04:39:18 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8ef749
7
8 dev-python/django-debug-toolbar: Version bump to 1.5
9
10 Package-Manager: portage-2.2.28
11
12 dev-python/django-debug-toolbar/Manifest | 1 +
13 .../django-debug-toolbar-1.5.ebuild | 53 ++++++++++++++++++++++
14 2 files changed, 54 insertions(+)
15
16 diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest
17 index 80da15c..3747b4d 100644
18 --- a/dev-python/django-debug-toolbar/Manifest
19 +++ b/dev-python/django-debug-toolbar/Manifest
20 @@ -1,2 +1,3 @@
21 DIST django-debug-toolbar-1.3.2.tar.gz 316106 SHA256 3cb9128c17a672864b0daa16065c9d80ff910cbc3b344a3e5d82eb0fb30a185c SHA512 d1428f1f729a190ddbf3a260bc428d7a78421519be60c7f07ad3e7f3498414d4ac0ec64d5772fcf89d6521f83bd9226fae104c43b4f0ad4deaf7cfb427d24b1c WHIRLPOOL f088dc6c4fb766a9e38b2f736a66126bdb75bd3cd7762c8ba06650b401639a644831e848012bd001cbd8ffdaad6b823303765f5f44d8bc79688f2d9b7da4592d
22 DIST django-debug-toolbar-1.4.tar.gz 315912 SHA256 08a6070bed7a64a4d9e57d2acc6bd2a854e6b1ee78482fc6f47c5c7db6d139d7 SHA512 639b1608f51abdc395d1dd853d7f549a53f616734398bbb76a002e8cde5cc15379d7a0dbedb1d5d388ec1af2338a69d6a56a53390f189b01ecc178c6ef3cea79 WHIRLPOOL a29c4d3831228af98eb51449f3a9f01de1b5c1627a022a527c47c238f5de22ec254127fc92a6cdfe34bc5d3fa9d5b119f8b1240ab8bcdf06ba6d0150f9a3eac2
23 +DIST django-debug-toolbar-1.5.tar.gz 315928 SHA256 10024b7850e4274f1d5762668da18ee05670054be43e497c8d8b12f7c655bee3 SHA512 9a421b80016bdaee8dd3ba2a9b7c3b788b54a4f464cdd5697e36536268e4d3d926bf77088a715e87f192dc8a20a100d8adac68c9c26a1191a5343e377240bf64 WHIRLPOOL 438beaa6b40ff3c91093203a26ffaac545056c4c74963254c1a86bd0fbf0d021744fd5c41e07eeb79b98adda4b92d7b2e261a6222032c417ae8180856de3bfee
24
25 diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-1.5.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-1.5.ebuild
26 new file mode 100644
27 index 00000000..9d1fb38
28 --- /dev/null
29 +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-1.5.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A configurable set of panels that display debug information"
42 +HOMEPAGE="
43 + https://pypi.python.org/pypi/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.8[${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 +}