summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-02-17 10:31:00 +0000
committerPatrice Clement <monsieurp@gentoo.org>2016-02-17 10:35:44 +0000
commitc9c68d5695775a3967d1ef0a3586b2eeb7076afc (patch)
treee8309c66bf1fe438b55627620d813de53fe058f0 /app-shells/autojump
parentdev-python/oauth2client: Exclude tests from installation (diff)
downloadgentoo-c9c68d5695775a3967d1ef0a3586b2eeb7076afc.tar.gz
gentoo-c9c68d5695775a3967d1ef0a3586b2eeb7076afc.tar.bz2
gentoo-c9c68d5695775a3967d1ef0a3586b2eeb7076afc.zip
app-shells/autojump: Stable for amd64+x86.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-shells/autojump')
-rw-r--r--app-shells/autojump/autojump-22.2.4-r4.ebuild16
-rw-r--r--app-shells/autojump/files/autojump-22.2.4-fix-__aj_error-typo.patch (renamed from app-shells/autojump/files/autojump-22.4.4-fix-__aj_error-typo.patch)0
-rw-r--r--app-shells/autojump/files/autojump-22.2.4-fix-autojump.fish-bugs.patch (renamed from app-shells/autojump/files/autojump-22.4.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 84bf29112be3..8ba85aaf46a4 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
index 6a9ac3c83c8e..6a9ac3c83c8e 100644
--- 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
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
index 6048ca989376..6048ca989376 100644
--- 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