*/*: Clean PYTHON_COMPAT of obsolete impls
[gentoo.git] / dev-vcs / git-tools / git-tools-2017.10.ebuild
1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
3
4 EAPI=6
5 PYTHON_COMPAT=( python{2_7,3_6} )
6 inherit python-r1
7
8 DESCRIPTION="Assorted git-related scripts"
9 HOMEPAGE="https://github.com/MestreLion/git-tools"
10 SRC_URI="https://github.com/MestreLion/git-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
11
12 LICENSE="GPL-3+"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
15 IUSE=""
16 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
17
18 DEPEND="${PYTHON_DEPS}"
19 RDEPEND="${DEPEND}
20         >=dev-vcs/git-2.5
21         >=app-shells/bash-4.0"
22
23 src_install() {
24         dobin git-branches-rename git-clone-subset git-find-uncommitted-repos
25         dobin git-rebase-theirs git-strip-merge
26         python_foreach_impl python_doscript git-restore-mtime
27         doman man1/*.1
28         einstalldocs
29 }