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 5F519158086 for ; Sat, 23 Oct 2021 19:04:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CCB5E0855; Sat, 23 Oct 2021 19:04:17 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B4611E0855 for ; Sat, 23 Oct 2021 19:04:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4C4683430D7 for ; Sat, 23 Oct 2021 19:04:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97DBF15A for ; Sat, 23 Oct 2021 19:04:13 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1635015765.406b969815a406fdf741dc4d240f8f7e0dc083fc.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-big-picture/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git-big-picture/git-big-picture-1.1.1-r1.ebuild X-VCS-Directories: dev-vcs/git-big-picture/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 406b969815a406fdf741dc4d240f8f7e0dc083fc X-VCS-Branch: master Date: Sat, 23 Oct 2021 19:04:13 +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: 2611f701-7b8c-4ee1-b2a9-a6d1f3c0784b X-Archives-Hash: 59d83fdbef235c134b9931ddf6078495 commit: 406b969815a406fdf741dc4d240f8f7e0dc083fc Author: Sebastian Pipping gentoo org> AuthorDate: Sat Oct 23 19:02:45 2021 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Oct 23 19:02:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406b9698 dev-vcs/git-big-picture: py3.10 + DISTUTILS_USE_SETUPTOOLS Closes: https://bugs.gentoo.org/818781 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-3.0.23, Repoman-3.0.3 .../git-big-picture-1.1.1-r1.ebuild | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-vcs/git-big-picture/git-big-picture-1.1.1-r1.ebuild b/dev-vcs/git-big-picture/git-big-picture-1.1.1-r1.ebuild new file mode 100644 index 00000000000..3164eba3540 --- /dev/null +++ b/dev-vcs/git-big-picture/git-big-picture-1.1.1-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7..10} ) + +inherit distutils-r1 + +DESCRIPTION="Visualization tool for Git repositories" +HOMEPAGE="https://github.com/git-big-picture/git-big-picture" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-util/cram[${PYTHON_USEDEP}] + ) +" +# No need for "[python]" or "[${PYTHON_USEDEP}]" with any of these +# since they are invoked using subprocess +RDEPEND=" + dev-vcs/git + media-gfx/graphviz[svg] +" + +RESTRICT="!test? ( test )" + +python_test() { + pytest -vv test.py || die "Tests fail with ${EPYTHON}" + + distutils_install_for_testing + cram test.cram || die "Tests fail with ${EPYTHON}" +}