From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 77A99138330 for ; Thu, 25 Aug 2016 04:39:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AC61EE0B96; Thu, 25 Aug 2016 04:39:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 395BAE0B96 for ; Thu, 25 Aug 2016 04:39:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B342233FECD for ; Thu, 25 Aug 2016 04:39:24 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 04604245A for ; Thu, 25 Aug 2016 04:39:22 +0000 (UTC) From: "Johann Schmitz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johann Schmitz" Message-ID: <1472099958.3e8ef749a93eb7c98bfe28d97434cac559957c0f.ercpe@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.5.ebuild X-VCS-Directories: dev-python/django-debug-toolbar/ X-VCS-Committer: ercpe X-VCS-Committer-Name: Johann Schmitz X-VCS-Revision: 3e8ef749a93eb7c98bfe28d97434cac559957c0f X-VCS-Branch: master Date: Thu, 25 Aug 2016 04:39:22 +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: df2ccbc9-a1d1-4359-8a91-23dd1ee9407f X-Archives-Hash: 4aa6817f344f2ae28fcee339cbe671de commit: 3e8ef749a93eb7c98bfe28d97434cac559957c0f Author: Johann Schmitz gentoo org> AuthorDate: Thu Aug 25 04:39:18 2016 +0000 Commit: Johann Schmitz gentoo org> CommitDate: Thu Aug 25 04:39:18 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e8ef749 dev-python/django-debug-toolbar: Version bump to 1.5 Package-Manager: portage-2.2.28 dev-python/django-debug-toolbar/Manifest | 1 + .../django-debug-toolbar-1.5.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index 80da15c..3747b4d 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -1,2 +1,3 @@ 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 +DIST django-debug-toolbar-1.5.tar.gz 315928 SHA256 10024b7850e4274f1d5762668da18ee05670054be43e497c8d8b12f7c655bee3 SHA512 9a421b80016bdaee8dd3ba2a9b7c3b788b54a4f464cdd5697e36536268e4d3d926bf77088a715e87f192dc8a20a100d8adac68c9c26a1191a5343e377240bf64 WHIRLPOOL 438beaa6b40ff3c91093203a26ffaac545056c4c74963254c1a86bd0fbf0d021744fd5c41e07eeb79b98adda4b92d7b2e261a6222032c417ae8180856de3bfee 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 new file mode 100644 index 00000000..9d1fb38 --- /dev/null +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-1.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 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.8[${PYTHON_USEDEP}] + >=dev-python/python-sqlparse-0.2.0[${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 +}