commit:     a6499650ed72602121699b40797f3d479b71852b
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 21:43:58 2016 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Wed Jan 27 21:44:11 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6499650

dev-vcs/git-tools: add useful symlinks.

Package-Manager: portage-2.2.24

 .../git-tools/git-tools-2015_p20151225-r1.ebuild   | 44 ++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild 
b/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild
new file mode 100644
index 0000000..a1916bb
--- /dev/null
+++ b/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 python3_{1..5} )
+inherit python-r1
+
+DESCRIPTION="Assorted git-related scripts"
+HOMEPAGE="https://github.com/MestreLion/git-tools/";
+MY_PV="ff7a07daa6898fd0993180f64bd232aa4def6018"
+SRC_URI="https://github.com/MestreLion/${PN}/archive/${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="
+       >=dev-vcs/git-2.5
+       >=app-shells/bash-4.0"
+
+MY_P=${PN}-${MY_PV}
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+       :;
+}
+
+src_install() {
+       SCRIPTS_BASH="git-branches-rename git-clone-subset 
git-find-uncommited-repos git-rebase-theirs git-strip-merge"
+       SCRIPTS_PYTHON="git-restore-mtime"
+       dobin $SCRIPTS_BASH
+       dobin $SCRIPTS_PYTHON
+       for p in $SCRIPTS_PYTHON ; do
+               python_replicate_script "${ED}"/usr/bin/$p
+       done
+       # Make it possible to use the tools as 'git $TOOLNAME'
+       for i in $SCRIPTS_BASH $SCRIPTS_PYTHON ; do
+               dosym /usr/bin/$i /usr/libexec/git-core/
+       done
+       dodoc README.md
+}

Reply via email to