Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
Date: Mon, 24 Jan 2022 05:55:57
Message-Id: 1643003746.0e157d2202369b04dc1a6dc397dd1eaf49858520.mattst88@gentoo
1 commit: 0e157d2202369b04dc1a6dc397dd1eaf49858520
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 24 05:51:58 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 24 05:55:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e157d22
7
8 app-shells/autojump: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 app-shells/autojump/autojump-22.5.3.ebuild | 77 ------------------------------
13 1 file changed, 77 deletions(-)
14
15 diff --git a/app-shells/autojump/autojump-22.5.3.ebuild b/app-shells/autojump/autojump-22.5.3.ebuild
16 deleted file mode 100644
17 index deb81c56b6b3..000000000000
18 --- a/app-shells/autojump/autojump-22.5.3.ebuild
19 +++ /dev/null
20 @@ -1,77 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -
26 -PYTHON_COMPAT=( python3_{7..9} )
27 -
28 -inherit bash-completion-r1 python-r1 vcs-snapshot prefix
29 -
30 -DESCRIPTION="change directory command that learns"
31 -HOMEPAGE="https://github.com/wting/autojump"
32 -SRC_URI="https://github.com/wting/${PN}/archive/release-v${PV}.tar.gz -> ${P}.tar.gz"
33 -
34 -LICENSE="GPL-3"
35 -SLOT="0"
36 -KEYWORDS="amd64 ~hppa ~mips ~ppc ~ppc64 x86 ~x64-macos"
37 -IUSE="ipython test"
38 -REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
39 -
40 -# Not all tests pass. Need investigation.
41 -RESTRICT="test"
42 -RDEPEND="ipython? ( ${PYTHON_DEPS} )"
43 -DEPEND="${PYTHON_DEPS}"
44 -
45 -src_prepare() {
46 - eapply_user
47 - sed -e "s:/usr/local/share:/usr/share:" \
48 - -i bin/autojump.sh || die
49 -
50 - # autojump_argparse is only there for Python 2.6 compatibility
51 - sed -e "s:autojump_argparse:argparse:" \
52 - -i bin/autojump || die
53 -
54 - hprefixify -q '"' -w '/usr\/share/' bin/autojump.sh
55 -}
56 -
57 -src_compile() {
58 - :
59 -}
60 -
61 -src_install() {
62 - dobin bin/"${PN}"
63 - python_replicate_script "${ED}"/usr/bin/"${PN}"
64 -
65 - insinto /etc/profile.d
66 - doins bin/"${PN}".sh
67 -
68 - insinto /usr/share/"${PN}"/
69 - doins bin/"${PN}.bash"
70 - doins bin/"${PN}.zsh"
71 - doins bin/"${PN}.fish"
72 - insinto /usr/share/zsh/site-functions
73 - doins bin/_j
74 -
75 - python_foreach_impl python_domodule bin/autojump_argparse.py bin/autojump_data.py \
76 - bin/autojump_match.py bin/autojump_utils.py
77 - if use ipython; then
78 - python_foreach_impl python_domodule tools/autojump_ipython.py
79 - fi
80 -
81 - doman docs/"${PN}.1"
82 - einstalldocs
83 -}
84 -
85 -pkg_postinst() {
86 - if use ipython; then
87 - elog 'This tool provides "j" for ipython, please add'
88 - elog '"import autojump_ipython" to your ipy_user_conf.py.'
89 - elog
90 - fi
91 -
92 - elog 'If you use app-shells/fish, add the following code to your'
93 - elog 'config.fish to get autojump support:'
94 - elog 'if test -f /usr/share/autojump/autojump.fish'
95 - elog ' source /usr/share/autojump/autojump.fish'
96 - elog 'end'
97 -}