Gentoo Archives: gentoo-commits

From: "Michael Weber (xmw)" <xmw@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-shells/autojump: autojump-21.1.0.ebuild ChangeLog
Date: Sat, 24 Nov 2012 11:10:22
Message-Id: 20121124111009.D600620C65@flycatcher.gentoo.org
1 xmw 12/11/24 11:10:09
2
3 Modified: ChangeLog
4 Added: autojump-21.1.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
9
10 Revision Changes Path
11 1.6 app-shells/autojump/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-shells/autojump/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 27 Jun 2012 17:39:56 -0000 1.5
24 +++ ChangeLog 24 Nov 2012 11:10:09 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-shells/autojump
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-shells/autojump/ChangeLog,v 1.5 2012/06/27 17:39:56 xarthisius Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-shells/autojump/ChangeLog,v 1.6 2012/11/24 11:10:09 xmw Exp $
30 +
31 +*autojump-21.1.0 (24 Nov 2012)
32 +
33 + 24 Nov 2012; Michael Weber <xmw@g.o> +autojump-21.1.0.ebuild:
34 + Version bump
35
36 27 Jun 2012; Kacper Kowalik <xarthisius@g.o> autojump-20.9.ebuild:
37 Fix PYTHON invocation
38
39
40
41 1.1 app-shells/autojump/autojump-21.1.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/autojump-21.1.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/autojump-21.1.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: autojump-21.1.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-shells/autojump/autojump-21.1.0.ebuild,v 1.1 2012/11/24 11:10:09 xmw Exp $
51
52 EAPI=4
53
54 PYTHON_DEPEND="python? *"
55 SUPPORT_PYTHON_ABIS="1"
56
57 inherit python vcs-snapshot
58
59 DESCRIPTION="change directory command that learns"
60 HOMEPAGE="http://github.com/joelthelion/autojump"
61 SRC_URI="https://github.com/joelthelion/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz"
62
63 LICENSE="GPL-3"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="bash-completion gtk python test zsh-completion"
67
68 RDEPEND="gtk? ( dev-python/pygtk:2 )
69 bash-completion? ( >=app-shells/bash-4 )
70 zsh-completion? ( app-shells/zsh app-shells/zsh-completion )"
71 DEPEND="test? ( dev-lang/python )"
72
73 src_prepare() {
74 #https://github.com/joelthelion/autojump/issues/129
75 sed -e '/def test_db_load_migrate/,/autojump.CONFIG_DIR = ORIG_CONFIG_DIR/d' \
76 -i tests/runtests.py || die
77 }
78
79 src_test() {
80 #https://github.com/joelthelion/autojump/issues/130
81 mkdir -p "${HOME}"/.local/share/autojump || die
82
83 "$(PYTHON)" ./tests/runtests.py
84 }
85
86 src_compile() { :; }
87
88 src_install() {
89 dobin bin/autojump
90
91 if use gtk ; then
92 dobin bin/jumpapplet
93 insinto /usr/share/${PN}
94 doins bin/icon.png
95 fi
96
97 insinto /etc/profile.d
98 doins bin/${PN}.sh
99
100 if use bash-completion ; then
101 doins bin/${PN}.bash
102 fi
103
104 if use zsh-completion ; then
105 doins bin/${PN}.zsh
106 insinto /usr/share/zsh/site-functions
107 doins bin/_j
108 fi
109
110 if use python ; then
111 install_python() {
112 insinto "$(python_get_sitedir)"
113 doins tools/autojump_ipython.py
114 }
115 python_execute_function -q install_python
116
117 einfo "This tool provides \"j\" for ipython, please add"
118 einfo "\"imporrt autojump_ipython\" to your ipy_user_conf.py."
119 fi
120
121 doman docs/${PN}.1
122 dodoc README.md
123 }