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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1E142158089 for ; Tue, 7 Nov 2023 00:07:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1EF5E2BC017; Tue, 7 Nov 2023 00:07:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 019A82BC017 for ; Tue, 7 Nov 2023 00:07:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E26BA335CB4 for ; Tue, 7 Nov 2023 00:07:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37946AAD for ; Tue, 7 Nov 2023 00:07:54 +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: <1699315217.0c7f75e87067c82703836b199ed04a1868e35c15.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.2.2-r3.ebuild X-VCS-Directories: dev-vcs/git-big-picture/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 0c7f75e87067c82703836b199ed04a1868e35c15 X-VCS-Branch: master Date: Tue, 7 Nov 2023 00:07:54 +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: be8296ce-f8fa-4146-9892-edada1c48e72 X-Archives-Hash: e2c3610fede987d75897d291e5f72a21 commit: 0c7f75e87067c82703836b199ed04a1868e35c15 Author: Sebastian Pipping gentoo org> AuthorDate: Tue Nov 7 00:00:17 2023 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Tue Nov 7 00:00:17 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7f75e8 dev-vcs/git-big-picture: Python 3.12 Signed-off-by: Sebastian Pipping gentoo.org> .../git-big-picture-1.2.2-r3.ebuild | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/dev-vcs/git-big-picture/git-big-picture-1.2.2-r3.ebuild b/dev-vcs/git-big-picture/git-big-picture-1.2.2-r3.ebuild new file mode 100644 index 000000000000..36aa2df82403 --- /dev/null +++ b/dev-vcs/git-big-picture/git-big-picture-1.2.2-r3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{9..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Visualization tool for Git repositories" +HOMEPAGE="https://github.com/git-big-picture/git-big-picture" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# NOTE: dev-util/cram explictly does not need [${PYTHON_USEDEP}] +# since test.cram is a shell session and not Python code +DEPEND=" + test? ( + dev-python/parameterized[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-util/cram + ) +" +# 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}" + cram test.cram || die "Tests fail with ${EPYTHON}" +}