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: Sun, 27 Nov 2022 00:45:06
Message-Id: 1669509759.ecd053a8db9abdc32450577c4328e926f50bf520.sping@gentoo
1 commit: ecd053a8db9abdc32450577c4328e926f50bf520
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 27 00:39:23 2022 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 27 00:42:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecd053a8
7
8 dev-vcs/git-big-picture: Python 3.11 + MissingRemoteId
9
10 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
11
12 .../git-big-picture-1.2.2-r1.ebuild | 41 ++++++++++++++++++++++
13 dev-vcs/git-big-picture/metadata.xml | 4 +++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-vcs/git-big-picture/git-big-picture-1.2.2-r1.ebuild b/dev-vcs/git-big-picture/git-big-picture-1.2.2-r1.ebuild
17 new file mode 100644
18 index 000000000000..26cb5b466ea7
19 --- /dev/null
20 +++ b/dev-vcs/git-big-picture/git-big-picture-1.2.2-r1.ebuild
21 @@ -0,0 +1,41 @@
22 +# Copyright 1999-2022 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI="8"
26 +
27 +# DISTUTILS_USE_PEP517=setuptools # blocked by use of distutils_install_for_testing
28 +PYTHON_COMPAT=( python3_{8..11} )
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/parameterized[${PYTHON_USEDEP}]
44 + dev-python/pytest[${PYTHON_USEDEP}]
45 + dev-util/cram[${PYTHON_USEDEP}]
46 + )
47 +"
48 +# No need for "[python]" or "[${PYTHON_USEDEP}]" with any of these
49 +# since they are invoked using subprocess
50 +RDEPEND="
51 + dev-vcs/git
52 + media-gfx/graphviz[svg]
53 +"
54 +
55 +RESTRICT="!test? ( test )"
56 +
57 +python_test() {
58 + pytest -vv test.py || die "Tests fail with ${EPYTHON}"
59 +
60 + distutils_install_for_testing
61 + cram test.cram || die "Tests fail with ${EPYTHON}"
62 +}
63
64 diff --git a/dev-vcs/git-big-picture/metadata.xml b/dev-vcs/git-big-picture/metadata.xml
65 index 6a22e9e318bb..eb74f28cf75b 100644
66 --- a/dev-vcs/git-big-picture/metadata.xml
67 +++ b/dev-vcs/git-big-picture/metadata.xml
68 @@ -5,4 +5,8 @@
69 <email>sping@g.o</email>
70 <name>Sebastian Pipping</name>
71 </maintainer>
72 + <upstream>
73 + <remote-id type="github">git-big-picture/git-big-picture</remote-id>
74 + <remote-id type="pypi">git-big-picture</remote-id>
75 + </upstream>
76 </pkgmetadata>