summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-05-15 11:44:19 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-05-15 11:44:19 +0000
commita34ae1eaed28cb563c75d733d35f38815b021335 (patch)
tree8e70a7bc9b405bf1845a244872b53b08724722df /app-shells/bash-completion-config
parentadded ~ppc64 (diff)
downloadgentoo-2-a34ae1eaed28cb563c75d733d35f38815b021335.tar.gz
gentoo-2-a34ae1eaed28cb563c75d733d35f38815b021335.tar.bz2
gentoo-2-a34ae1eaed28cb563c75d733d35f38815b021335.zip
Revision bump; added patch to fix --list all for bug 92655. Also fixed --list to ignore any files matching *~.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'app-shells/bash-completion-config')
-rw-r--r--app-shells/bash-completion-config/ChangeLog9
-rw-r--r--app-shells/bash-completion-config/Manifest11
-rw-r--r--app-shells/bash-completion-config/bash-completion-config-0.8-r2.ebuild (renamed from app-shells/bash-completion-config/bash-completion-config-0.8.ebuild)19
-rw-r--r--app-shells/bash-completion-config/files/0.8-fix-all.diff27
-rw-r--r--app-shells/bash-completion-config/files/digest-bash-completion-config-0.8-r2 (renamed from app-shells/bash-completion-config/files/digest-bash-completion-config-0.8)0
5 files changed, 56 insertions, 10 deletions
diff --git a/app-shells/bash-completion-config/ChangeLog b/app-shells/bash-completion-config/ChangeLog
index 5054a3236d4e..6f4fa17d2021 100644
--- a/app-shells/bash-completion-config/ChangeLog
+++ b/app-shells/bash-completion-config/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-shells/bash-completion-config
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion-config/ChangeLog,v 1.33 2005/04/08 12:30:03 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion-config/ChangeLog,v 1.34 2005/05/15 11:44:19 ka0ttic Exp $
+
+*bash-completion-config-0.8-r2 (15 May 2005)
+
+ 15 May 2005; Aaron Walker <ka0ttic@gentoo.org> +files/0.8-fix-all.diff,
+ -bash-completion-config-0.8.ebuild, +bash-completion-config-0.8-r2.ebuild:
+ Revision bump; added patch to fix --list all for bug 92655. Also fixed
+ --list to ignore any files matching *~.
08 Apr 2005; Markus Rothe <corsair@gentoo.org>
bash-completion-config-0.8-r1.ebuild:
diff --git a/app-shells/bash-completion-config/Manifest b/app-shells/bash-completion-config/Manifest
index 5f164048da00..e7dd3e388d0d 100644
--- a/app-shells/bash-completion-config/Manifest
+++ b/app-shells/bash-completion-config/Manifest
@@ -1,9 +1,10 @@
-MD5 0fd56ef35e6215b43dfce778aa3b1174 ChangeLog 5328
+MD5 78e06af59f6b0b14fd9b64694daf3976 bash-completion-config-0.8-r1.ebuild 1304
MD5 11db45bbec40f85c7e6bc6e8e92f8a1d bash-completion-config-0.7.ebuild 1197
-MD5 ee2ff44da98eaf47bfa809c4c45d1aed bash-completion-config-0.8.ebuild 1197
+MD5 cdbf747b02b7755ca9d189fe08c02932 bash-completion-config-0.8-r2.ebuild 1399
+MD5 a0d7e6227ea58cd2396bcd68d1e66981 ChangeLog 5641
MD5 99ce5509db4b50f28a1f6675f8c09b2b metadata.xml 258
-MD5 78e06af59f6b0b14fd9b64694daf3976 bash-completion-config-0.8-r1.ebuild 1304
MD5 7350eb647c4ed74167513478041f538f files/digest-bash-completion-config-0.7 72
-MD5 4867900c2f58751082d053b8519e359f files/digest-bash-completion-config-0.8 72
-MD5 6c6a3d1b8b03c9858723d66578596562 files/bashcomp 3183
MD5 4867900c2f58751082d053b8519e359f files/digest-bash-completion-config-0.8-r1 72
+MD5 4867900c2f58751082d053b8519e359f files/digest-bash-completion-config-0.8-r2 72
+MD5 13f8fe753a2d860406d6cf48d6603acc files/0.8-fix-all.diff 913
+MD5 6c6a3d1b8b03c9858723d66578596562 files/bashcomp 3183
diff --git a/app-shells/bash-completion-config/bash-completion-config-0.8.ebuild b/app-shells/bash-completion-config/bash-completion-config-0.8-r2.ebuild
index 2e2a400a9546..54ae48b4577b 100644
--- a/app-shells/bash-completion-config/bash-completion-config-0.8.ebuild
+++ b/app-shells/bash-completion-config/bash-completion-config-0.8-r2.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion-config/bash-completion-config-0.8.ebuild,v 1.9 2005/03/30 16:09:23 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion-config/bash-completion-config-0.8-r2.ebuild,v 1.1 2005/05/15 11:44:19 ka0ttic Exp $
+
+inherit eutils
MY_PN="bashcomp-config"
MY_P="${MY_PN}-${PV}"
@@ -12,20 +14,29 @@ SRC_URI="http://download.berlios.de/${MY_PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ~ppc64 ~ppc-macos s390 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 ~ppc-macos s390 sparc x86"
IUSE=""
DEPEND=">=app-shells/bash-2.05"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PV}-fix-all.diff
+}
+
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS TODO ChangeLog README
+
+ insinto /usr/share/bash-completion
+ newins ${FILESDIR}/bashcomp ${PN} || die "failed to install bashcomp"
}
# remove files that bashcomp-config provides for non-Gentoo platforms
pkg_preinst() {
- [ -e "${ROOT}/etc/profile.d/bash-completion" ] && rm -fr "${D}/etc"
- rm -fr "${D}/usr/share/${PN}"
+ [[ -e ${ROOT}/etc/profile.d/bash-completion ]] && rm -fr ${D}/etc
+ rm -fr ${D}/usr/share/${PN}
}
pkg_postinst() {
diff --git a/app-shells/bash-completion-config/files/0.8-fix-all.diff b/app-shells/bash-completion-config/files/0.8-fix-all.diff
new file mode 100644
index 000000000000..9f4cda545368
--- /dev/null
+++ b/app-shells/bash-completion-config/files/0.8-fix-all.diff
@@ -0,0 +1,27 @@
+--- tags/release-0.8/bash-completion-config.in 2005-01-04 07:27:01.000000000 -0500
++++ trunk/bash-completion-config.in 2005-05-15 07:33:26.000000000 -0400
+@@ -195,7 +196,7 @@
+
+ list()
+ {
+- local n maxlen=$(($(maxfnlen $BASHCOMP_DIR) + 1 ))
++ local DIRS dir n maxlen=$(($(maxfnlen $BASHCOMP_DIR) + 1 ))
+ local label="| Local Global |"
+ local llen="${#label}"
+
+@@ -203,9 +204,12 @@
+ printf "%-${maxlen}s$label\n"
+ for ((n = 1 ; n <= (maxlen + llen) ; n++)) ; do echo -n '-' ; done
+ echo
+-
+- for dir in $(getdirs $INSTALL_DIR $GLOBAL_INSTALL_DIR) ; do
++
++ DIRS=$(getdirs $INSTALL_DIR $GLOBAL_INSTALL_DIR)
++ [[ -z "${DIRS}" ]] && DIRS=${BASHCOMP_DIR}
++ for dir in ${DIRS} ; do
+ for bashcomp in $dir/* ; do
++ [[ ${bashcomp} == *~ ]] && continue
+ local bc="${bashcomp##*/}"
+ local i=3 installed=0
+ local len="${#bc}"
+
diff --git a/app-shells/bash-completion-config/files/digest-bash-completion-config-0.8 b/app-shells/bash-completion-config/files/digest-bash-completion-config-0.8-r2
index d094e4018e48..d094e4018e48 100644
--- a/app-shells/bash-completion-config/files/digest-bash-completion-config-0.8
+++ b/app-shells/bash-completion-config/files/digest-bash-completion-config-0.8-r2