commit:     c9c68d5695775a3967d1ef0a3586b2eeb7076afc
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 17 10:31:00 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Feb 17 10:35:44 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9c68d56

app-shells/autojump: Stable for amd64+x86.

Package-Manager: portage-2.2.26

 app-shells/autojump/autojump-22.2.4-r4.ebuild            | 16 ++++++++++------
 ...o.patch => autojump-22.2.4-fix-__aj_error-typo.patch} |  0
 ...atch => autojump-22.2.4-fix-autojump.fish-bugs.patch} |  0
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild 
b/app-shells/autojump/autojump-22.2.4-r4.ebuild
index 84bf291..8ba85aa 100644
--- a/app-shells/autojump/autojump-22.2.4-r4.ebuild
+++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> $
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 IUSE="ipython test"
 
 # Not all tests pass. Need investigation.
@@ -22,6 +22,11 @@ RESTRICT="test"
 RDEPEND="ipython? ( ${PYTHON_DEPS} )"
 DEPEND="test? ( dev-python/flake8 dev-python/tox )"
 
+PATCHES=(
+       "${FILESDIR}/${P}-fix-autojump.fish-bugs.patch"
+       "${FILESDIR}/${P}-fix-__aj_error-typo.patch"
+)
+
 src_prepare() {
        sed -e "s: \(/etc/profile.d\): \"${EPREFIX}\1\":" \
                -e "s:/usr/local/share:/usr/share:" \
@@ -33,8 +38,7 @@ src_prepare() {
 
        # upstream fixes to the autojump.fish script; the first patch is needed 
for
        # the second patch to apply
-       epatch "${FILESDIR}/autojump-22.4.4-fix-autojump.fish-bugs.patch"
-       epatch "${FILESDIR}/autojump-22.4.4-fix-__aj_error-typo.patch"
+       epatch "${PATCHES[@]}"
 }
 
 src_compile() {
@@ -42,8 +46,8 @@ src_compile() {
 }
 
 src_install() {
-       dobin bin/autojump
-       python_replicate_script "${ED}"/usr/bin/autojump
+       dobin bin/"${PN}"
+       python_replicate_script "${ED}"/usr/bin/"${PN}"
 
        insinto /etc/profile.d
        doins bin/"${PN}".sh

diff --git 
a/app-shells/autojump/files/autojump-22.4.4-fix-__aj_error-typo.patch 
b/app-shells/autojump/files/autojump-22.2.4-fix-__aj_error-typo.patch
similarity index 100%
rename from app-shells/autojump/files/autojump-22.4.4-fix-__aj_error-typo.patch
rename to app-shells/autojump/files/autojump-22.2.4-fix-__aj_error-typo.patch

diff --git 
a/app-shells/autojump/files/autojump-22.4.4-fix-autojump.fish-bugs.patch 
b/app-shells/autojump/files/autojump-22.2.4-fix-autojump.fish-bugs.patch
similarity index 100%
rename from 
app-shells/autojump/files/autojump-22.4.4-fix-autojump.fish-bugs.patch
rename to app-shells/autojump/files/autojump-22.2.4-fix-autojump.fish-bugs.patch

Reply via email to