1 |
commit: a6499650ed72602121699b40797f3d479b71852b |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 27 21:43:58 2016 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 27 21:44:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6499650 |
7 |
|
8 |
dev-vcs/git-tools: add useful symlinks. |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
.../git-tools/git-tools-2015_p20151225-r1.ebuild | 44 ++++++++++++++++++++++ |
13 |
1 file changed, 44 insertions(+) |
14 |
|
15 |
diff --git a/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild b/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..a1916bb |
18 |
--- /dev/null |
19 |
+++ b/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild |
20 |
@@ -0,0 +1,44 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+PYTHON_COMPAT=( python2_7 python3_{1..5} ) |
27 |
+inherit python-r1 |
28 |
+ |
29 |
+DESCRIPTION="Assorted git-related scripts" |
30 |
+HOMEPAGE="https://github.com/MestreLion/git-tools/" |
31 |
+MY_PV="ff7a07daa6898fd0993180f64bd232aa4def6018" |
32 |
+SRC_URI="https://github.com/MestreLion/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="GPL-3+" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86" |
37 |
+IUSE="" |
38 |
+ |
39 |
+DEPEND="" |
40 |
+RDEPEND=" |
41 |
+ >=dev-vcs/git-2.5 |
42 |
+ >=app-shells/bash-4.0" |
43 |
+ |
44 |
+MY_P=${PN}-${MY_PV} |
45 |
+S=${WORKDIR}/${MY_P} |
46 |
+ |
47 |
+src_compile() { |
48 |
+ :; |
49 |
+} |
50 |
+ |
51 |
+src_install() { |
52 |
+ SCRIPTS_BASH="git-branches-rename git-clone-subset git-find-uncommited-repos git-rebase-theirs git-strip-merge" |
53 |
+ SCRIPTS_PYTHON="git-restore-mtime" |
54 |
+ dobin $SCRIPTS_BASH |
55 |
+ dobin $SCRIPTS_PYTHON |
56 |
+ for p in $SCRIPTS_PYTHON ; do |
57 |
+ python_replicate_script "${ED}"/usr/bin/$p |
58 |
+ done |
59 |
+ # Make it possible to use the tools as 'git $TOOLNAME' |
60 |
+ for i in $SCRIPTS_BASH $SCRIPTS_PYTHON ; do |
61 |
+ dosym /usr/bin/$i /usr/libexec/git-core/ |
62 |
+ done |
63 |
+ dodoc README.md |
64 |
+} |