Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-big-picture/
Date: Sat, 23 Oct 2021 19:04:18
Message-Id: 1635015765.406b969815a406fdf741dc4d240f8f7e0dc083fc.sping@gentoo
1 commit: 406b969815a406fdf741dc4d240f8f7e0dc083fc
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 23 19:02:45 2021 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 23 19:02:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406b9698
7
8 dev-vcs/git-big-picture: py3.10 + DISTUTILS_USE_SETUPTOOLS
9
10 Closes: https://bugs.gentoo.org/818781
11 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
12 Package-Manager: Portage-3.0.23, Repoman-3.0.3
13
14 .../git-big-picture-1.1.1-r1.ebuild | 39 ++++++++++++++++++++++
15 1 file changed, 39 insertions(+)
16
17 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
18 new file mode 100644
19 index 00000000000..3164eba3540
20 --- /dev/null
21 +++ b/dev-vcs/git-big-picture/git-big-picture-1.1.1-r1.ebuild
22 @@ -0,0 +1,39 @@
23 +# Copyright 1999-2021 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI="7"
27 +
28 +PYTHON_COMPAT=( python3_{7..10} )
29 +
30 +inherit distutils-r1
31 +
32 +DESCRIPTION="Visualization tool for Git repositories"
33 +HOMEPAGE="https://github.com/git-big-picture/git-big-picture"
34 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
35 +
36 +LICENSE="GPL-3+"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE="test"
40 +
41 +DEPEND="
42 + test? (
43 + dev-python/pytest[${PYTHON_USEDEP}]
44 + dev-util/cram[${PYTHON_USEDEP}]
45 + )
46 +"
47 +# No need for "[python]" or "[${PYTHON_USEDEP}]" with any of these
48 +# since they are invoked using subprocess
49 +RDEPEND="
50 + dev-vcs/git
51 + media-gfx/graphviz[svg]
52 +"
53 +
54 +RESTRICT="!test? ( test )"
55 +
56 +python_test() {
57 + pytest -vv test.py || die "Tests fail with ${EPYTHON}"
58 +
59 + distutils_install_for_testing
60 + cram test.cram || die "Tests fail with ${EPYTHON}"
61 +}