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: metadata.xml autojump-20.9.ebuild ChangeLog autojump-13.ebuild
Date: Mon, 11 Jun 2012 06:54:51
Message-Id: 20120611065435.771092004B@flycatcher.gentoo.org
1 xmw 12/06/11 06:54:35
2
3 Modified: metadata.xml ChangeLog
4 Added: autojump-20.9.ebuild
5 Removed: autojump-13.ebuild
6 Log:
7 Version bump (bug 420461 by haozida), EAPI-4, USE python, tests.
8
9 (Portage version: 2.1.10.65/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.3 app-shells/autojump/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/metadata.xml?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/metadata.xml?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/metadata.xml?r1=1.2&r2=1.3
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-shells/autojump/metadata.xml,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- metadata.xml 23 Sep 2011 21:59:32 -0000 1.2
25 +++ metadata.xml 11 Jun 2012 06:54:34 -0000 1.3
26 @@ -2,8 +2,11 @@
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 <maintainer>
30 -<email>xmw@g.o</email>
31 -<name>Michael Weber</name>
32 + <email>xmw@g.o</email>
33 + <name>Michael Weber</name>
34 </maintainer>
35 +<upstream>
36 + <bugs-to>https://github.com/joelthelion/autojump/issues</bugs-to>
37 +</upstream>
38 </pkgmetadata>
39
40
41
42
43 1.3 app-shells/autojump/ChangeLog
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/ChangeLog?rev=1.3&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/ChangeLog?rev=1.3&content-type=text/plain
47 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/ChangeLog?r1=1.2&r2=1.3
48
49 Index: ChangeLog
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/app-shells/autojump/ChangeLog,v
52 retrieving revision 1.2
53 retrieving revision 1.3
54 diff -u -r1.2 -r1.3
55 --- ChangeLog 22 Dec 2010 23:47:00 -0000 1.2
56 +++ ChangeLog 11 Jun 2012 06:54:34 -0000 1.3
57 @@ -1,6 +1,12 @@
58 # ChangeLog for app-shells/autojump
59 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
60 -# $Header: /var/cvsroot/gentoo-x86/app-shells/autojump/ChangeLog,v 1.2 2010/12/22 23:47:00 xmw Exp $
61 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
62 +# $Header: /var/cvsroot/gentoo-x86/app-shells/autojump/ChangeLog,v 1.3 2012/06/11 06:54:34 xmw Exp $
63 +
64 +*autojump-20.9 (11 Jun 2012)
65 +
66 + 11 Jun 2012; Michael Weber <xmw@g.o> +autojump-20.9.ebuild,
67 + -autojump-13.ebuild, metadata.xml:
68 + Version bump (bug 420461 by haozida), EAPI-4, USE python, tests.
69
70 *autojump-14 (22 Dec 2010)
71
72
73
74
75 1.1 app-shells/autojump/autojump-20.9.ebuild
76
77 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/autojump-20.9.ebuild?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/autojump/autojump-20.9.ebuild?rev=1.1&content-type=text/plain
79
80 Index: autojump-20.9.ebuild
81 ===================================================================
82 # Copyright 1999-2012 Gentoo Foundation
83 # Distributed under the terms of the GNU General Public License v2
84 # $Header: /var/cvsroot/gentoo-x86/app-shells/autojump/autojump-20.9.ebuild,v 1.1 2012/06/11 06:54:34 xmw Exp $
85
86 EAPI=4
87
88 PYTHON_DEPEND="python? *"
89 SUPPORT_PYTHON_ABIS="1"
90
91 inherit python
92
93 DESCRIPTION="change directory command that learns"
94 HOMEPAGE="http://github.com/joelthelion/autojump"
95 SRC_URI="https://github.com/joelthelion/${PN}/tarball/release-v${PV/./-} -> ${P}.tar.gz"
96
97 LICENSE="GPL-3"
98 SLOT="0"
99 KEYWORDS="~amd64 ~x86"
100 IUSE="bash-completion gtk python test zsh-completion"
101
102 RDEPEND="gtk? ( dev-python/pygtk:2 )
103 bash-completion? ( >=app-shells/bash-4 )
104 zsh-completion? ( app-shells/zsh app-shells/zsh-completion )"
105 DEPEND="test? ( dev-lang/python )"
106
107 src_unpack() {
108 default
109 mv *-${PN}-* ${P} || die
110 }
111
112 src_prepare() {
113 #https://github.com/joelthelion/autojump/issues/129
114 sed -e '/def test_db_load_migrate/,/autojump.CONFIG_DIR = ORIG_CONFIG_DIR/d' \
115 -i tests/runtests.py || die
116 }
117
118 src_test() {
119 #https://github.com/joelthelion/autojump/issues/130
120 mkdir -p "${HOME}"/.local/share/autojump || die
121
122 ${PYTHON} ./tests/runtests.py
123 }
124
125 src_compile() { :; }
126
127 src_install() {
128 dobin bin/autojump
129
130 if use gtk ; then
131 dobin bin/jumpapplet
132 insinto /usr/share/${PN}
133 doins bin/icon.png
134 fi
135
136 insinto /etc/profile.d
137 doins bin/${PN}.sh
138
139 if use bash-completion ; then
140 doins bin/${PN}.bash
141 fi
142
143 if use zsh-completion ; then
144 doins bin/${PN}.zsh
145 insinto /usr/share/zsh/site-functions
146 doins bin/_j
147 fi
148
149 if use python ; then
150 install_python() {
151 insinto "$(python_get_sitedir)"
152 doins tools/autojump_ipython.py
153 }
154 python_execute_function -q install_python
155
156 einfo "This tool provides \"j\" for ipython, please add"
157 einfo "\"imporrt autojump_ipython\" to your ipy_user_conf.py."
158 fi
159
160 doman docs/${PN}.1
161 dodoc README.md
162 }