summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2020-10-02 16:28:26 +0100
committerMatt Turner <mattst88@gentoo.org>2022-05-08 16:23:37 -0400
commit55653c0a136a0e582aa102cbb9f35cd3dd218989 (patch)
tree9964eede04f3929d3bae5789fd9f819dcab0a01e
parentdev-vcs/gitolite: Version bump to 3.6.12 (diff)
downloadgentoo-55653c0a136a0e582aa102cbb9f35cd3dd218989.tar.gz
gentoo-55653c0a136a0e582aa102cbb9f35cd3dd218989.tar.bz2
gentoo-55653c0a136a0e582aa102cbb9f35cd3dd218989.zip
dev-vcs/gitolite: Switch to git-r3 and simplify
Closes: https://github.com/gentoo/gentoo/pull/17751 Signed-off-by: Jonathan Davies <jpds@protonmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r--dev-vcs/gitolite/gitolite-3.6.12.ebuild14
1 files 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"