summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-12-06 16:28:44 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-12-06 16:28:44 +0000
commite6e065171321dc2a09579e0587790927fb38c599 (patch)
treef69edee5ad93a8320478906bab4b426ae18921e4
parentAdded to ~amd64, bug #60984 (Manifest recommit) (diff)
downloadgentoo-2-e6e065171321dc2a09579e0587790927fb38c599.tar.gz
gentoo-2-e6e065171321dc2a09579e0587790927fb38c599.tar.bz2
gentoo-2-e6e065171321dc2a09579e0587790927fb38c599.zip
Revision bump. New gentoo-bashcomp release which includes new ekeyword completion (thanks ciaranm) in addition to fixing bug 73266. Also, as of this release, the gentoo completions file is installed into /usr/share/bash-completion, with a symlink taking its old location (/etc/bash_completion.d).
-rw-r--r--app-shells/bash-completion/ChangeLog12
-rw-r--r--app-shells/bash-completion/Manifest16
-rw-r--r--app-shells/bash-completion/bash-completion-20041017-r3.ebuild70
-rw-r--r--app-shells/bash-completion/files/digest-bash-completion-20041017-r32
4 files changed, 92 insertions, 8 deletions
diff --git a/app-shells/bash-completion/ChangeLog b/app-shells/bash-completion/ChangeLog
index f850f0cf0bd2..c98b01e070b7 100644
--- a/app-shells/bash-completion/ChangeLog
+++ b/app-shells/bash-completion/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for app-shells/bash-completion
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.83 2004/12/01 14:56:27 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/ChangeLog,v 1.84 2004/12/06 16:28:44 ka0ttic Exp $
+
+*bash-completion-20041017-r3 (06 Dec 2004)
+
+ 06 Dec 2004; Aaron Walker <ka0ttic@gentoo.org>
+ +bash-completion-20041017-r3.ebuild:
+ Revision bump. New gentoo-bashcomp release which includes new ekeyword
+ completion (thanks ciaranm) in addition to fixing bug 73266. Also, as of
+ this release, the gentoo completions file is installed into
+ /usr/share/bash-completion, with a symlink taking its old location
+ (/etc/bash_completion.d).
01 Dec 2004; Gustavo Zacarias <gustavoz@gentoo.org>
bash-completion-20041017-r1.ebuild:
diff --git a/app-shells/bash-completion/Manifest b/app-shells/bash-completion/Manifest
index 4bc1d411fa3e..89f1f3a71aa2 100644
--- a/app-shells/bash-completion/Manifest
+++ b/app-shells/bash-completion/Manifest
@@ -1,12 +1,14 @@
-MD5 f8956a9fe7b54b4f32c9f282ce59d86e ChangeLog 12281
-MD5 7d4aeaf81dd9f767c41a81c3e47d01a2 bash-completion-20040704-r1.ebuild 2087
-MD5 50f43407f43fdbbfa26b4d63f947497a bash-completion-20040711.ebuild 2088
MD5 dbb965ae73e26c3c301f832c3cfcee75 bash-completion-20041017-r1.ebuild 2266
-MD5 00e8cae3d9ece63e4be61f4a2b3afd5e metadata.xml 930
+MD5 c7398ef521ad6512ee0d440664f32a08 bash-completion-20041017-r3.ebuild 2295
+MD5 50f43407f43fdbbfa26b4d63f947497a bash-completion-20040711.ebuild 2088
MD5 3dd5c92a16a56b69940d52641f6153bd bash-completion-20041017-r2.ebuild 2361
+MD5 7d4aeaf81dd9f767c41a81c3e47d01a2 bash-completion-20040704-r1.ebuild 2087
+MD5 e4deb6215abee33e78f6f0124d880fcb ChangeLog 12721
+MD5 00e8cae3d9ece63e4be61f4a2b3afd5e metadata.xml 930
+MD5 236fd9c517ac5642cae8df109dbaf9f6 files/digest-bash-completion-20041017-r1 152
+MD5 23f48288589834ae8496f6dc07d0d689 files/digest-bash-completion-20041017-r2 152
+MD5 9aca91cdcddd5454ebc4f17efe465d71 files/digest-bash-completion-20041017-r3 152
MD5 3b7f1d6155d6deff5812264ef6bc4c07 files/bash-completion 724
-MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704-r1 151
MD5 73c3177da25971c1db7bb6482b5d1580 files/digest-bash-completion-20040711 151
-MD5 236fd9c517ac5642cae8df109dbaf9f6 files/digest-bash-completion-20041017-r1 152
MD5 61eddfb92948b070333a59498edf5266 files/20041017-gentoo.diff 2032
-MD5 23f48288589834ae8496f6dc07d0d689 files/digest-bash-completion-20041017-r2 152
+MD5 49e9f0b0674471ff56169ce7d9265fb2 files/digest-bash-completion-20040704-r1 151
diff --git a/app-shells/bash-completion/bash-completion-20041017-r3.ebuild b/app-shells/bash-completion/bash-completion-20041017-r3.ebuild
new file mode 100644
index 000000000000..6a6e69b896c6
--- /dev/null
+++ b/app-shells/bash-completion/bash-completion-20041017-r3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion/bash-completion-20041017-r3.ebuild,v 1.1 2004/12/06 16:28:44 ka0ttic Exp $
+
+inherit eutils
+
+GENCOMP_VERS="1.0_beta4"
+
+DESCRIPTION="Programmable Completion for bash (includes emerge and ebuild commands)"
+HOMEPAGE="http://www.caliban.org/bash/index.shtml#completion"
+SRC_URI="http://www.caliban.org/files/bash/${P}.tar.bz2
+ mirror://sourceforge/gentoo-bashcomp/gentoo-bashcomp-${GENCOMP_VERS}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~s390 ~sparc ~x86 ~ppc64"
+IUSE=""
+
+DEPEND="app-arch/tar
+ app-arch/bzip2"
+RDEPEND=">=app-shells/bash-2.05a"
+
+S="${WORKDIR}/${PN/-/_}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-gentoo.diff
+}
+
+src_install() {
+ insinto /etc
+ doins bash_completion || die "failed to install bash_completion"
+ exeinto /etc/profile.d
+ doexe ${FILESDIR}/bash-completion || die "failed to install profile.d"
+
+ # >=dev-util/subversion-1.1.1-r3 provides extremely superior completions
+ has_version ">=dev-util/subversion-1.1.1-r3" && rm contrib/subversion
+ insinto /usr/share/bash-completion
+ doins contrib/* || die "failed to install contrib completions"
+
+ dodoc Changelog README
+
+ # gentoo-bashcomp
+ cd ${WORKDIR}/gentoo-bashcomp-${GENCOMP_VERS}
+ doins src/gentoo || die "failed to install gentoo completions"
+ dodir /etc/bash_completion.d
+ dosym ../../usr/share/bash-completion/gentoo /etc/bash_completion.d/gentoo \
+ || die "dosym gentoo-bashcomp failed"
+ docinto gentoo
+ dodoc AUTHORS NEWS TODO
+}
+
+pkg_postinst() {
+ echo
+ einfo "Add the following line to your ~/.bashrc to"
+ einfo "activate completion support in your bash:"
+ einfo "[ -f /etc/profile.d/bash-completion ] && . /etc/profile.d/bash-completion"
+ einfo
+ einfo "Additional complete functions can be enabled by symlinking them from"
+ einfo "/usr/share/bash-completion to /etc/bash_completion.d"
+
+ local g="${ROOT}/etc/bash_completion.d/gentoo"
+ if [[ -e "${g}" && ! -L "${g}" ]] ; then
+ echo
+ ewarn "The gentoo completion functions have moved to /usr/share/bash-completion."
+ ewarn "Please run etc-update to replace /etc/bash_completion.d/gentoo with a symlink."
+ fi
+ echo
+}
diff --git a/app-shells/bash-completion/files/digest-bash-completion-20041017-r3 b/app-shells/bash-completion/files/digest-bash-completion-20041017-r3
new file mode 100644
index 000000000000..216ce7e723b7
--- /dev/null
+++ b/app-shells/bash-completion/files/digest-bash-completion-20041017-r3
@@ -0,0 +1,2 @@
+MD5 3fd0836127d01606a9dc4262f3e2e1fb bash-completion-20041017.tar.bz2 86227
+MD5 d6d22c935ff339c2ebcc0757f5d306d0 gentoo-bashcomp-1.0_beta4.tar.gz 15477