You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/repo/repo-1.13.2.ebuild

30 lines
781 B

# 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
}