From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AAB6B13888F for ; Mon, 19 Oct 2015 16:29:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0452521C061; Mon, 19 Oct 2015 16:29:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3566521C051 for ; Mon, 19 Oct 2015 16:29:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C403340756 for ; Mon, 19 Oct 2015 16:29:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 470FA1358 for ; Mon, 19 Oct 2015 16:29:36 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1445272151.3383813980c26c582b5fb470c85974aebe67c8c1.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/django-debug-toolbar/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/django-debug-toolbar/Manifest dev-python/django-debug-toolbar/django-debug-toolbar-1.4.ebuild X-VCS-Directories: dev-python/django-debug-toolbar/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 3383813980c26c582b5fb470c85974aebe67c8c1 X-VCS-Branch: master Date: Mon, 19 Oct 2015 16:29:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 97cd10ff-0c00-46d1-8631-35fc0f5aa241 X-Archives-Hash: dceeb311b556858f1cae9a549ab50571 commit: 3383813980c26c582b5fb470c85974aebe67c8c1 Author: Justin Lecher gentoo org> AuthorDate: Mon Oct 19 14:48:02 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Oct 19 16:29:11 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33838139 dev-python/django-debug-toolbar: Version Bump Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/django-debug-toolbar/Manifest | 1 + .../django-debug-toolbar-1.4.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index ed99dfe..80da15c 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -1 +1,2 @@ DIST django-debug-toolbar-1.3.2.tar.gz 316106 SHA256 3cb9128c17a672864b0daa16065c9d80ff910cbc3b344a3e5d82eb0fb30a185c SHA512 d1428f1f729a190ddbf3a260bc428d7a78421519be60c7f07ad3e7f3498414d4ac0ec64d5772fcf89d6521f83bd9226fae104c43b4f0ad4deaf7cfb427d24b1c WHIRLPOOL f088dc6c4fb766a9e38b2f736a66126bdb75bd3cd7762c8ba06650b401639a644831e848012bd001cbd8ffdaad6b823303765f5f44d8bc79688f2d9b7da4592d +DIST django-debug-toolbar-1.4.tar.gz 315912 SHA256 08a6070bed7a64a4d9e57d2acc6bd2a854e6b1ee78482fc6f47c5c7db6d139d7 SHA512 639b1608f51abdc395d1dd853d7f549a53f616734398bbb76a002e8cde5cc15379d7a0dbedb1d5d388ec1af2338a69d6a56a53390f189b01ecc178c6ef3cea79 WHIRLPOOL a29c4d3831228af98eb51449f3a9f01de1b5c1627a022a527c47c238f5de22ec254127fc92a6cdfe34bc5d3fa9d5b119f8b1240ab8bcdf06ba6d0150f9a3eac2 diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-1.4.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-1.4.ebuild new file mode 100644 index 0000000..39b3b90 --- /dev/null +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-1.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A configurable set of panels that display debug information" +HOMEPAGE=" + https://pypi.python.org/pypi/django-debug-toolbar/ + https://github.com/django-debug-toolbar/django-debug-toolbar/" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="BSD" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RDEPEND=" + >=dev-python/django-1.7[${PYTHON_USEDEP}] + >=dev-python/python-sqlparse-0.1.10[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] +" + +python_prepare_all() { + # Prevent non essential d'loading by intersphinx + sed -e 's:intersphinx_mapping:_&:' -i docs/conf.py || die + + # This prevents distutils from installing 'tests' package, rm magic no more needed + sed -e "/find_packages/s:'tests':'tests.\*', 'tests':" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + emake test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + use examples && local EXAMPLES=( example/. ) + distutils-r1_python_install_all +}