1 |
commit: 67bc7919f236200112715a4751b1f137b1f7b6fc |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 20 18:45:17 2021 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 20 18:47:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67bc7919 |
7 |
|
8 |
dev-vcs/git-big-picture: 1.1.1 |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
12 |
|
13 |
dev-vcs/git-big-picture/Manifest | 1 + |
14 |
.../git-big-picture/git-big-picture-1.1.1.ebuild | 40 ++++++++++++++++++++++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-vcs/git-big-picture/Manifest b/dev-vcs/git-big-picture/Manifest |
18 |
index b4f5816e4a0..eecba44662a 100644 |
19 |
--- a/dev-vcs/git-big-picture/Manifest |
20 |
+++ b/dev-vcs/git-big-picture/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST git-big-picture-1.0.0.tar.gz 2952246 BLAKE2B caf28b57399bbdc2c80feda70e2a043dc1a8ffdc1e88bc79ccec44d6857e52726961e5febe9d1dbe1230818990a291900237cc01f65e819995243cbbc47ba8a9 SHA512 3b5416d3802c91ee35ad31ef702ada5f23b33cd77ef4c1f15cf22bb7f7d1e3c315e100aabdca3831b56d52b1d1637afa86382f89f0a2bbc8c60970095cd53d43 |
23 |
+DIST git-big-picture-1.1.1.tar.gz 2960674 BLAKE2B 00b3117f810b78965e5a260000689c3275f078307f8e5ef90e6a032036eeedcda743c6eff3e3a1f53744d71d9b3bf2692efc558d5f5b20eada9a9b2e21559796 SHA512 1bf1b620d73cccb058034bc8920adcab117fbda8b921937aac6b90e2162cf4b334cae934b0395efdf40b5e9a363e7ec69090ca943c839829dedaa40428dbdb13 |
24 |
|
25 |
diff --git a/dev-vcs/git-big-picture/git-big-picture-1.1.1.ebuild b/dev-vcs/git-big-picture/git-big-picture-1.1.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e83eaba0bc6 |
28 |
--- /dev/null |
29 |
+++ b/dev-vcs/git-big-picture/git-big-picture-1.1.1.ebuild |
30 |
@@ -0,0 +1,40 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="7" |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6..9} ) |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Visualization tool for Git repositories" |
42 |
+HOMEPAGE="https://github.com/git-big-picture/git-big-picture" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-3+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+# No need for "[python]" or "[${PYTHON_USEDEP}]" with any of these |
51 |
+# since they are invoked using subprocess |
52 |
+DEPEND=" |
53 |
+ test? ( |
54 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
55 |
+ dev-util/cram[${PYTHON_USEDEP}] |
56 |
+ ) |
57 |
+" |
58 |
+RDEPEND=" |
59 |
+ dev-vcs/git |
60 |
+ media-gfx/graphviz[svg] |
61 |
+" |
62 |
+ |
63 |
+RESTRICT="!test? ( test )" |
64 |
+ |
65 |
+python_test() { |
66 |
+ pytest -vv test.py || die "Tests fail with ${EPYTHON}" |
67 |
+ |
68 |
+ distutils_install_for_testing |
69 |
+ cram test.cram || die "Tests fail with ${EPYTHON}" |
70 |
+} |