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 86264138359 for ; Sun, 27 Sep 2020 15:19:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7839E07DB; Sun, 27 Sep 2020 15:19:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9CA09E07DB for ; Sun, 27 Sep 2020 15:19:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 583F8335C31 for ; Sun, 27 Sep 2020 15:19:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BC630339 for ; Sun, 27 Sep 2020 15:19:47 +0000 (UTC) From: "Hanno Böck" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hanno Böck" Message-ID: <1601219980.e83267a2c0c0405aea8fe70b9011393514d05eff.hanno@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-3.1.ebuild X-VCS-Directories: dev-python/django-debug-toolbar/ X-VCS-Committer: hanno X-VCS-Committer-Name: Hanno Böck X-VCS-Revision: e83267a2c0c0405aea8fe70b9011393514d05eff X-VCS-Branch: master Date: Sun, 27 Sep 2020 15:19:47 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d68d33eb-9991-4ed4-86a8-f94323903685 X-Archives-Hash: d0e8b4955cbafb33216e602630dbff48 commit: e83267a2c0c0405aea8fe70b9011393514d05eff Author: Hanno Böck gentoo org> AuthorDate: Sun Sep 27 15:19:40 2020 +0000 Commit: Hanno Böck gentoo org> CommitDate: Sun Sep 27 15:19:40 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e83267a2 dev-python/django-debug-toolbar: Bump and python 3.8 support Closes: https://bugs.gentoo.org/744490 Signed-off-by: Hanno Böck gentoo.org> Package-Manager: Portage-3.0.8, Repoman-3.0.1 dev-python/django-debug-toolbar/Manifest | 1 + .../django-debug-toolbar-3.1.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/django-debug-toolbar/Manifest b/dev-python/django-debug-toolbar/Manifest index c0d4d33f4d0..b32928778e0 100644 --- a/dev-python/django-debug-toolbar/Manifest +++ b/dev-python/django-debug-toolbar/Manifest @@ -1 +1,2 @@ DIST django-debug-toolbar-2.2.tar.gz 322475 BLAKE2B cff55a26f4d95353edff3d7f678a052c262636afc94307e22e4d9dc1b6bbe3c0bc1a4997c4904a397de97218b462d52e67ac0f80bb05de7736cb278c7dca58ee SHA512 5cd9e50852bd7efeb83879c5e9fe10fe6df5087b746e9cb2a0e13e66b3fe0a815a6eaea4b273258e7e682149bc29ad8979268d2be263539c522624e3f16aa5f5 +DIST django-debug-toolbar-3.1.tar.gz 228867 BLAKE2B af3d8011136ba30e690e03548d757405e9cd89fb5473b277720a3151149e92be212e50a6ec3d95903382716c9594405a1e93a7a1bf231f220f4b5c8ae1e38480 SHA512 c4cfa3cd98adfba7362e259e18a0240b886f294ba10f5c64e12887b00d4dc952e9b80cac0f78e7193a15566585f43d988f6d287e4d0dcc84c4f8395c7006e2b0 diff --git a/dev-python/django-debug-toolbar/django-debug-toolbar-3.1.ebuild b/dev-python/django-debug-toolbar/django-debug-toolbar-3.1.ebuild new file mode 100644 index 00000000000..5f9abc45151 --- /dev/null +++ b/dev-python/django-debug-toolbar/django-debug-toolbar-3.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="A configurable set of panels that display debug information" +HOMEPAGE=" + https://pypi.org/project/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 test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/django-1.11[${PYTHON_USEDEP}] + >=dev-python/sqlparse-0.2.0[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + ${RDEPEND} + ) +" + +distutils_enable_sphinx docs + +python_prepare_all() { + # 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_test() { + emake test +} + +python_install_all() { + if use examples; then + docinto examples + dodoc -r example/. + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +}