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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C257815800D for ; Sat, 8 Jul 2023 13:56:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 078F8E0874; Sat, 8 Jul 2023 13:56:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E49CDE0874 for ; Sat, 8 Jul 2023 13:56:30 +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 0C968335D9C for ; Sat, 8 Jul 2023 13:56:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B9EEA76 for ; Sat, 8 Jul 2023 13:56:28 +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: <1688824447.331a06d2a333b02996e9cc49ab55441c9bd749bd.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-r2.ebuild X-VCS-Directories: dev-vcs/git-big-picture/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 331a06d2a333b02996e9cc49ab55441c9bd749bd X-VCS-Branch: master Date: Sat, 8 Jul 2023 13:56:28 +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: 7af56994-dcaf-486e-8c7a-2718d0290cce X-Archives-Hash: a7ddc4b89c81cf1126c934f7a4d5e423 commit: 331a06d2a333b02996e9cc49ab55441c9bd749bd Author: Sebastian Pipping gentoo org> AuthorDate: Sat Jul 8 13:50:13 2023 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Jul 8 13:54:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=331a06d2 dev-vcs/git-big-picture: Start using DISTUTILS_USE_PEP517 Closes: https://bugs.gentoo.org/909981 Signed-off-by: Sebastian Pipping gentoo.org> .../git-big-picture-1.2.2-r2.ebuild | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/dev-vcs/git-big-picture/git-big-picture-1.2.2-r2.ebuild b/dev-vcs/git-big-picture/git-big-picture-1.2.2-r2.ebuild new file mode 100644 index 000000000000..828d57adc5b9 --- /dev/null +++ b/dev-vcs/git-big-picture/git-big-picture-1.2.2-r2.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..11} ) + +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}" +}