summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2021-05-17 21:08:21 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-17 21:08:21 -0400
commitc515b2317c9fcac165a67e8ac20a5d145ea3778b (patch)
tree2e03418c62e5834e57beb757943991e100c96782 /dev-vcs/repo/repo-2.15.ebuild
parentdev-vcs/repo: mark 2.14 stable (diff)
downloadgentoo-c515b2317c9fcac165a67e8ac20a5d145ea3778b.tar.gz
gentoo-c515b2317c9fcac165a67e8ac20a5d145ea3778b.tar.bz2
gentoo-c515b2317c9fcac165a67e8ac20a5d145ea3778b.zip
dev-vcs/repo: version bump to 2.15
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'dev-vcs/repo/repo-2.15.ebuild')
-rw-r--r--dev-vcs/repo/repo-2.15.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-vcs/repo/repo-2.15.ebuild b/dev-vcs/repo/repo-2.15.ebuild
new file mode 100644
index 00000000000..a1697a75edb
--- /dev/null
+++ b/dev-vcs/repo/repo-2.15.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# NB: The ${PV} tracks the *repo launcher version*, not the last signed release
+# of the repo project. The launcher only gets a new update when changes are
+# made in it.
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit bash-completion-r1 python-r1
+
+# This file rarely changes, so track it independently.
+COMP_VER="511a0e54f5801a3f36c00fac478a596d83867d10"
+COMP_NAME="${PN}-${COMP_VER}-bash-completion.sh.base64"
+
+DESCRIPTION="Google tool for managing git, particularly multiple repos"
+HOMEPAGE="https://gerrit.googlesource.com/git-repo"
+SRC_URI="https://storage.googleapis.com/git-repo-downloads/${P}
+ https://gerrit.googlesource.com/git-repo/+/${COMP_VER}/completion.bash?format=TEXT -> ${COMP_NAME}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ !app-admin/radmind
+ !dev-util/repo"
+
+S=${WORKDIR}
+
+src_unpack() {
+ base64 -d <"${DISTDIR}/${COMP_NAME}" >completion.bash || die
+}
+
+src_install() {
+ python_foreach_impl python_newscript "${DISTDIR}/${P}" ${PN}
+ newbashcomp completion.bash ${PN}
+}