1 |
commit: d2deb4f4b705e5e21c463596478263aa85ccd596 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 6 20:37:24 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 6 21:21:30 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2deb4f4 |
7 |
|
8 |
app-shells/bash-completion: Clean old up |
9 |
|
10 |
app-shells/bash-completion/Manifest | 1 - |
11 |
.../bash-completion/bash-completion-2.4-r1.ebuild | 98 ---------------------- |
12 |
2 files changed, 99 deletions(-) |
13 |
|
14 |
diff --git a/app-shells/bash-completion/Manifest b/app-shells/bash-completion/Manifest |
15 |
index 422f2636afb..203d0a92140 100644 |
16 |
--- a/app-shells/bash-completion/Manifest |
17 |
+++ b/app-shells/bash-completion/Manifest |
18 |
@@ -1,4 +1,3 @@ |
19 |
-DIST bash-completion-2.4.tar.xz 276148 BLAKE2B 1ca38db1d1ad9f0bf7d1aa4e49cba1c82a6a575b05118099b609da12bf2e369637be907cba1d46e1e33fface482ebd7c63d70d56c948e45ef71725780ffb2171 SHA512 b852e0a38417dfc3754a91dae2d107f99a3c2970d835a4bbaa80f2a4db8d670bc3820ddc6ada26f68070f22fb4c1db7abe50ad489b1c0f8497b1e6e91be27627 |
20 |
DIST bash-completion-2.7.tar.xz 280048 BLAKE2B 88b09f451fd4e14daf8e139951a4b65aaa9d9b1d86dceade388a726ac7f3caff2546597695c3f0cbd5dd64e20472d0cf3e98e0f367898b81d696d4ccb8f2fb73 SHA512 514709ad2e5f6bd4e20027c7049a1144c1854a37b653d5c11fad1cdf7a46d0e1afca725d6ce75d49691149e0de57be85747f704ac1c429ef4cea114bfbff8fcd |
21 |
DIST bash-completion-2.8.tar.xz 286128 BLAKE2B a99faeb3c9ee2ea6d1cc9988e61951f4e688ac0b3c6837d1fd43381519fedf5f95167e8dbc166543b0235f3ac61d92af35eb8399efc0cd297a62849071dee5c7 SHA512 d839ef5a98811a2aade7ebdc0bc84c84a41c74db384f89913b06f3c25add1ba22528ac25392b19d27280685d258c74dcdc11247cbaae5b8d82f2c0b546abc268 |
22 |
DIST bashcomp-2.0.2.tar.gz 3625 BLAKE2B ebd835e23634e8a7491467ad66c53941763cea43bad75fe24982d3885be2d2ba132e5273a655fec34705224315d7a3f0248c030fb7685fc613ac4f489cde5bf5 SHA512 46bc1bcc32263135f44be68569459a409250dd2c81c18190735f11e13a26508e9d3cb91d24a8fe7b21bdea678347873b7ac1b67d5e8c78c8444011f85dfdcdce |
23 |
|
24 |
diff --git a/app-shells/bash-completion/bash-completion-2.4-r1.ebuild b/app-shells/bash-completion/bash-completion-2.4-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 5b1db28a22c..00000000000 |
27 |
--- a/app-shells/bash-completion/bash-completion-2.4-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,98 +0,0 @@ |
30 |
-# Copyright 1999-2018 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
- |
35 |
-BASHCOMP_P=bashcomp-2.0.2 |
36 |
-inherit versionator |
37 |
- |
38 |
-DESCRIPTION="Programmable Completion for bash" |
39 |
-HOMEPAGE="https://github.com/scop/bash-completion" |
40 |
-SRC_URI="https://github.com/scop/bash-completion/releases/download/${PV}/${P}.tar.xz |
41 |
- https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz" |
42 |
- |
43 |
-LICENSE="GPL-2" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris" |
46 |
-IUSE="" |
47 |
- |
48 |
-RDEPEND=">=app-shells/bash-4.3_p30-r1 |
49 |
- sys-apps/miscfiles |
50 |
- !app-eselect/eselect-bashcomp" |
51 |
-DEPEND="app-arch/xz-utils" |
52 |
-PDEPEND=">=app-shells/gentoo-bashcomp-20140911" |
53 |
- |
54 |
-# Remove unwanted completions. |
55 |
-STRIP_COMPLETIONS=( |
56 |
- # Slackware package stuff, quite generic names cause collisions |
57 |
- # (e.g. with sys-apps/pacman) |
58 |
- explodepkg installpkg makepkg pkgtool removepkg upgradepkg |
59 |
- |
60 |
- # Debian/Red Hat network stuff |
61 |
- ifdown ifup ifstatus |
62 |
- |
63 |
- # Installed in app-editors/vim-core |
64 |
- xxd |
65 |
- |
66 |
- # Now-dead symlinks to deprecated completions |
67 |
- hd ncal |
68 |
- |
69 |
- # Installed by sys-apps/util-linux-2.28 |
70 |
- mount umount mount.linux umount.linux |
71 |
-) |
72 |
- |
73 |
-src_prepare() { |
74 |
- eapply "${WORKDIR}/${BASHCOMP_P}/${PN}"-2.1_p*.patch |
75 |
- # Bug 543100, update bug 601194 |
76 |
- eapply "${FILESDIR}/${PN}-2.1-escape-characters-r1.patch" |
77 |
- eapply_user |
78 |
-} |
79 |
- |
80 |
-src_test() { :; } # Skip testsuite because of interactive shell wrt #477066 |
81 |
- |
82 |
-src_install() { |
83 |
- # work-around race conditions, bug #526996 |
84 |
- mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die |
85 |
- |
86 |
- emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install |
87 |
- |
88 |
- local file |
89 |
- for file in "${STRIP_COMPLETIONS[@]}"; do |
90 |
- rm "${ED}"/usr/share/bash-completion/completions/${file} || die |
91 |
- done |
92 |
- # remove deprecated completions (moved to other packages) |
93 |
- rm "${ED}"/usr/share/bash-completion/completions/_* || die |
94 |
- |
95 |
- dodoc AUTHORS CHANGES CONTRIBUTING.md README.md |
96 |
- |
97 |
- # install the eselect module |
98 |
- insinto /usr/share/eselect/modules |
99 |
- doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect" |
100 |
- doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5" |
101 |
-} |
102 |
- |
103 |
-pkg_postinst() { |
104 |
- local v |
105 |
- for v in ${REPLACING_VERSIONS}; do |
106 |
- if ! version_is_at_least 2.1-r90 ${v}; then |
107 |
- ewarn "For bash-completion autoloader to work, all completions need to" |
108 |
- ewarn "be installed in /usr/share/bash-completion/completions. You may" |
109 |
- ewarn "need to rebuild packages that installed completions in the old" |
110 |
- ewarn "location. You can do this using:" |
111 |
- ewarn |
112 |
- ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +" |
113 |
- ewarn |
114 |
- ewarn "After the rebuild, you should remove the old setup symlinks:" |
115 |
- ewarn |
116 |
- ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete" |
117 |
- fi |
118 |
- done |
119 |
- |
120 |
- if has_version 'app-shells/zsh'; then |
121 |
- elog |
122 |
- elog "If you are interested in using the provided bash completion functions with" |
123 |
- elog "zsh, valuable tips on the effective use of bashcompinit are available:" |
124 |
- elog " http://www.zsh.org/mla/workers/2003/msg00046.html" |
125 |
- elog |
126 |
- fi |
127 |
-} |