1 |
jer 13/06/03 22:26:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bash-completion-2.1.ebuild |
5 |
Log: |
6 |
Version bump (bug #395091). |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 |
|
10 |
Revision Changes Path |
11 |
1.248 app-shells/bash-completion/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash-completion/ChangeLog?rev=1.248&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash-completion/ChangeLog?rev=1.248&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash-completion/ChangeLog?r1=1.247&r2=1.248 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v |
20 |
retrieving revision 1.247 |
21 |
retrieving revision 1.248 |
22 |
diff -u -r1.247 -r1.248 |
23 |
--- ChangeLog 2 Jun 2013 08:43:14 -0000 1.247 |
24 |
+++ ChangeLog 3 Jun 2013 22:26:45 -0000 1.248 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-shells/bash-completion |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.247 2013/06/02 08:43:14 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.248 2013/06/03 22:26:45 jer Exp $ |
30 |
+ |
31 |
+*bash-completion-2.1 (03 Jun 2013) |
32 |
+ |
33 |
+ 03 Jun 2013; Jeroen Roovers <jer@g.o> +bash-completion-2.1.ebuild: |
34 |
+ Version bump (bug #395091). |
35 |
|
36 |
02 Jun 2013; Agostino Sarubbo <ago@g.o> bash-completion-1.3-r2.ebuild: |
37 |
Stable for sh, wrt bug #468554 |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-shells/bash-completion/bash-completion-2.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash-completion/bash-completion-2.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-shells/bash-completion/bash-completion-2.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: bash-completion-2.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-2.1.ebuild,v 1.1 2013/06/03 22:26:45 jer Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
inherit prefix |
54 |
|
55 |
DESCRIPTION="Programmable Completion for bash" |
56 |
HOMEPAGE="http://bash-completion.alioth.debian.org/" |
57 |
SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris" |
62 |
IUSE="" |
63 |
|
64 |
RDEPEND="app-admin/eselect |
65 |
|| ( >=app-shells/bash-3.2 app-shells/zsh ) |
66 |
sys-apps/miscfiles" |
67 |
PDEPEND="app-shells/gentoo-bashcomp" |
68 |
|
69 |
src_prepare() { |
70 |
cp "${FILESDIR}"/bash-completion.sh-gentoo-1.2 "${T}"/bash-completion.sh || die |
71 |
eprefixify "${T}"/bash-completion.sh |
72 |
|
73 |
find completions -name 'Makefile*' -exec rm -f {} + |
74 |
|
75 |
# Part of >=sys-apps/util-linux-2.23 wrt #468544 |
76 |
rm -f completions/rtcwake |
77 |
|
78 |
# app-editors/vim-core: |
79 |
rm -f completions/xxd |
80 |
} |
81 |
|
82 |
src_configure() { :; } # no-op |
83 |
src_compile() { :; } # no-op |
84 |
|
85 |
src_install() { |
86 |
# Gentoo specific bash-completion.sh file. |
87 |
insinto /etc/profile.d |
88 |
doins "${T}"/bash-completion.sh |
89 |
|
90 |
# All files from contrib/ in source package get installed |
91 |
insinto /usr/share/bash-completion |
92 |
doins -r "${S}"/completions/* |
93 |
|
94 |
awk -v D="$ED" ' |
95 |
BEGIN { out=".pre" } |
96 |
/^# A lot of the following one-liners/ { out="base" } |
97 |
/^# start of section containing completion functions called by other functions/ { out=".pre" } |
98 |
/^# start of section containing completion functions for external programs/ { out="base" } |
99 |
/^# source completion directory/ { out="" } |
100 |
/^unset -f have/ { out=".post" } |
101 |
out != "" { print > D"/usr/share/bash-completion/"out }' \ |
102 |
bash_completion || die "failed to split bash_completion" |
103 |
|
104 |
dodoc AUTHORS CHANGES README |
105 |
|
106 |
# This is backported from upstream 2.0 release. You can stop installing |
107 |
# this file after 2.0 is in Portage and use the one from the tarball |
108 |
# instead. |
109 |
# Installed to datadir instead of libdir because bash-completion(s) |
110 |
# are not ELF files. |
111 |
insinto /usr/share/pkgconfig |
112 |
doins "${FILESDIR}"/bash-completion.pc |
113 |
} |
114 |
|
115 |
pkg_postinst() { |
116 |
if ! has_version "${CATEGORY}/${PN}"; then |
117 |
elog "Any user can enable the module completions without editing their" |
118 |
elog ".bashrc by running:" |
119 |
elog |
120 |
elog " eselect bashcomp enable <module>" |
121 |
elog |
122 |
elog "The system administrator can also be enable this globally with" |
123 |
elog |
124 |
elog " eselect bashcomp enable --global <module>" |
125 |
elog |
126 |
elog "Make sure you at least enable the base module! Additional completion" |
127 |
elog "modules can be found by running" |
128 |
elog |
129 |
elog " eselect bashcomp list" |
130 |
elog |
131 |
elog "If you use non-login shells you still need to source" |
132 |
elog "/etc/profile.d/bash-completion.sh in your ~/.bashrc." |
133 |
fi |
134 |
|
135 |
if has_version 'app-shells/zsh' ; then |
136 |
elog "If you are interested in using the provided bash completion functions with" |
137 |
elog "zsh, valuable tips on the effective use of bashcompinit are available:" |
138 |
elog " http://www.zsh.org/mla/workers/2003/msg00046.html" |
139 |
elog |
140 |
fi |
141 |
} |