Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/gitolite/
Date: Sun, 08 May 2022 20:23:56
Message-Id: 1652041417.55653c0a136a0e582aa102cbb9f35cd3dd218989.mattst88@gentoo
1 commit: 55653c0a136a0e582aa102cbb9f35cd3dd218989
2 Author: Jonathan Davies <jpds <AT> protonmail <DOT> com>
3 AuthorDate: Fri Oct 2 15:28:26 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun May 8 20:23:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55653c0a
7
8 dev-vcs/gitolite: Switch to git-r3 and simplify
9
10 Closes: https://github.com/gentoo/gentoo/pull/17751
11 Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 dev-vcs/gitolite/gitolite-3.6.12.ebuild | 14 ++++++--------
15 1 file changed, 6 insertions(+), 8 deletions(-)
16
17 diff --git a/dev-vcs/gitolite/gitolite-3.6.12.ebuild b/dev-vcs/gitolite/gitolite-3.6.12.ebuild
18 index 360ff3ce4bc0..99fac58cfa00 100644
19 --- a/dev-vcs/gitolite/gitolite-3.6.12.ebuild
20 +++ b/dev-vcs/gitolite/gitolite-3.6.12.ebuild
21 @@ -3,19 +3,17 @@
22
23 EAPI=7
24
25 -[[ ${PV} == *9999 ]] && SCM="git-2"
26 -EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git"
27 -EGIT_MASTER=master
28 -
29 -inherit perl-module ${SCM}
30 +inherit perl-module
31
32 DESCRIPTION="Highly flexible server for git directory version tracker"
33 HOMEPAGE="https://github.com/sitaramc/gitolite"
34 -if [[ ${PV} != *9999 ]]; then
35 +
36 +if [[ ${PV} == 9999 ]]; then
37 + inherit git-r3
38 + EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git"
39 +else
40 SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 KEYWORDS="~amd64 ~arm ~x86"
42 -else
43 - SRC_URI=""
44 fi
45
46 LICENSE="GPL-2"