summaryrefslogtreecommitdiff
blob: 1123c98edd31c8c25b167344a70748e4cd50f8be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

# 3.x is currently very buggy, only 2.7 actually works
PYTHON_COMPAT=( python2_7 )

inherit python-r1

DESCRIPTION="Google tool for managing git, particularly multiple repos"
HOMEPAGE="https://android.googlesource.com/tools/repo"
# Should be:
#SRC_URI="https://android.googlesource.com/tools/repo/+archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://dev.gentoo.org/~dlan/distfiles/repo-${PV}.tar.xz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RDEPEND="${PYTHON_DEPS}
	!app-admin/radmind"
DEPEND="${RDEPEND}"

src_install() {
	python_foreach_impl python_fix_shebang ./repo
	python_foreach_impl python_doexe ./repo
}