summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2022-09-27 22:21:18 +0200
committerSebastian Pipping <sping@gentoo.org>2022-09-27 22:21:18 +0200
commitf085fd48f029a9287111b687c9dc50047c0108cc (patch)
treebfe1301e0456053cde1df28889dfbd66687fdcb2 /dev-vcs
parentgames-misc/wtf: sourceforge remote-id + ALLARCHES (diff)
downloadgentoo-f085fd48f029a9287111b687c9dc50047c0108cc.tar.gz
gentoo-f085fd48f029a9287111b687c9dc50047c0108cc.tar.bz2
gentoo-f085fd48f029a9287111b687c9dc50047c0108cc.zip
dev-vcs/git-big-picture: 1.2.2 + EAPI 8 + fix tests for grep 3.8
Closes: https://bugs.gentoo.org/873139 Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-big-picture/Manifest1
-rw-r--r--dev-vcs/git-big-picture/git-big-picture-1.2.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-vcs/git-big-picture/Manifest b/dev-vcs/git-big-picture/Manifest
index 9b0433144b42..5430e29afb7e 100644
--- a/dev-vcs/git-big-picture/Manifest
+++ b/dev-vcs/git-big-picture/Manifest
@@ -1,2 +1,3 @@
DIST git-big-picture-1.2.0.tar.gz 2963822 BLAKE2B 2e2a5c223c212cc73f44a2f91ad1b83d46279baec77633b6253f21f0e3bc7eb2968fc9e47800976db9a720713597329ff442853b9bf151ebf112b60ebf87946e SHA512 144e098fedc8f0e9d7c2360ff8194d5100effd13b0b04598680d441b1ffa9d3307982e6404c54b859dffb3ff8d8ba1b5a7a01245b5bf7e87f36268b7e6b9d266
DIST git-big-picture-1.2.1.tar.gz 2964502 BLAKE2B 1213c29e01c8556f694ecd12dcb397ba20f7a899042c2a02e7c10d80acdfbcc0e9f6c7b72f82575a3bff55af16fce993ad8d31a25f19ed655e55ad5d25e89f75 SHA512 efbbd730fad8f1e913a81d66bf758cdb2be548ed083fd9a778a79ff56f891fe57bb620c8ac3f6f65736b588619189b14332ca23902d3d510e4c6c4bc9714b682
+DIST git-big-picture-1.2.2.tar.gz 2964564 BLAKE2B 39971b21a9c9a0a8d1bf41f37350a158b634d2eaa0add460c1c18b70f643ab226736d53a337d4ed2583903a5d6c3188ab7a1b06f48a3f354e28d57ec74441599 SHA512 62c43727bb688d6572e7caafe9c5da3b782504738dd0d83d5df675ba757e8be22a8630ec1863c07f0fd2e54549b2ccbd1250ba8f367a6f840afa7b8962c487e8
diff --git a/dev-vcs/git-big-picture/git-big-picture-1.2.2.ebuild b/dev-vcs/git-big-picture/git-big-picture-1.2.2.ebuild
new file mode 100644
index 000000000000..d1b02520c98f
--- /dev/null
+++ b/dev-vcs/git-big-picture/git-big-picture-1.2.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Visualization tool for Git repositories"
+HOMEPAGE="https://github.com/git-big-picture/git-big-picture"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+ test? (
+ dev-python/parameterized[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-util/cram[${PYTHON_USEDEP}]
+ )
+"
+# 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}"
+
+ distutils_install_for_testing
+ cram test.cram || die "Tests fail with ${EPYTHON}"
+}