commit:     55653c0a136a0e582aa102cbb9f35cd3dd218989
Author:     Jonathan Davies <jpds <AT> protonmail <DOT> com>
AuthorDate: Fri Oct  2 15:28:26 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun May  8 20:23:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55653c0a

dev-vcs/gitolite: Switch to git-r3 and simplify

Closes: https://github.com/gentoo/gentoo/pull/17751
Signed-off-by: Jonathan Davies <jpds <AT> protonmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-vcs/gitolite/gitolite-3.6.12.ebuild | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/dev-vcs/gitolite/gitolite-3.6.12.ebuild 
b/dev-vcs/gitolite/gitolite-3.6.12.ebuild
index 360ff3ce4bc0..99fac58cfa00 100644
--- a/dev-vcs/gitolite/gitolite-3.6.12.ebuild
+++ b/dev-vcs/gitolite/gitolite-3.6.12.ebuild
@@ -3,19 +3,17 @@
 
 EAPI=7
 
-[[ ${PV} == *9999 ]] && SCM="git-2"
-EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git";
-EGIT_MASTER=master
-
-inherit perl-module ${SCM}
+inherit perl-module
 
 DESCRIPTION="Highly flexible server for git directory version tracker"
 HOMEPAGE="https://github.com/sitaramc/gitolite";
-if [[ ${PV} != *9999 ]]; then
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git";
+else
        SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~arm ~x86"
-else
-       SRC_URI=""
 fi
 
 LICENSE="GPL-2"

Reply via email to