summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-10-16 21:26:10 +0000
committerMichał Górny <mgorny@gentoo.org>2011-10-16 21:26:10 +0000
commit39a3cb3a0754831c00ac0b545a0c5e65979ef236 (patch)
tree6002f55ff4d520ddf5c497c8e7544eb24747cb97 /app-portage
parentBlock <libview-0.6.6-r2 for polluting pkg-config Libs: with versioned -lpng (diff)
downloadgentoo-2-39a3cb3a0754831c00ac0b545a0c5e65979ef236.tar.gz
gentoo-2-39a3cb3a0754831c00ac0b545a0c5e65979ef236.tar.bz2
gentoo-2-39a3cb3a0754831c00ac0b545a0c5e65979ef236.zip
Migrate to bash-completion-r1.
(Portage version: 2.2.0_alpha67_p52/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/flaggie/ChangeLog5
-rw-r--r--app-portage/flaggie/flaggie-0.1.4.ebuild16
2 files changed, 13 insertions, 8 deletions
diff --git a/app-portage/flaggie/ChangeLog b/app-portage/flaggie/ChangeLog
index 6772c48d9a42..59a1d6f0f36a 100644
--- a/app-portage/flaggie/ChangeLog
+++ b/app-portage/flaggie/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-portage/flaggie
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/ChangeLog,v 1.20 2011/10/08 17:36:08 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/ChangeLog,v 1.21 2011/10/16 21:26:10 mgorny Exp $
+
+ 16 Oct 2011; Michał Górny <mgorny@gentoo.org> flaggie-0.1.4.ebuild:
+ Migrate to bash-completion-r1.
*flaggie-0.1.4 (08 Oct 2011)
diff --git a/app-portage/flaggie/flaggie-0.1.4.ebuild b/app-portage/flaggie/flaggie-0.1.4.ebuild
index ced995cfb75e..2bc123ec9049 100644
--- a/app-portage/flaggie/flaggie-0.1.4.ebuild
+++ b/app-portage/flaggie/flaggie-0.1.4.ebuild
@@ -1,13 +1,13 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/flaggie-0.1.4.ebuild,v 1.1 2011/10/08 17:36:07 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/flaggie/flaggie-0.1.4.ebuild,v 1.2 2011/10/16 21:26:10 mgorny Exp $
EAPI=3
PYTHON_DEPEND="*:2.6"
SUPPORT_PYTHON_ABIS=1
RESTRICT_PYTHON_ABIS="2.4 2.5"
-inherit base bash-completion distutils
+inherit base bash-completion-r1 distutils
DESCRIPTION="A smart CLI mangler for package.* files"
HOMEPAGE="https://github.com/mgorny/flaggie/"
@@ -18,8 +18,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""
-RDEPEND=">=sys-apps/portage-2.1.8.3
- bash-completion? ( app-shells/gentoo-bashcomp )"
+RDEPEND=">=sys-apps/portage-2.1.8.3"
src_prepare() {
base_src_prepare
@@ -29,7 +28,7 @@ src_prepare() {
src_install() {
distutils_src_install
- dobashcompletion contrib/bash-completion/${PN}.bash-completion || die
+ newbashcomp contrib/bash-completion/${PN}.bash-completion ${PN} || die
}
pkg_postinst() {
@@ -39,6 +38,9 @@ pkg_postinst() {
ewarn "before performing each change through appending a single '~'."
ewarn "If you'd like to keep your own backup of them, please use another"
ewarn "naming scheme (or even better some VCS)."
-
- bash-completion_pkg_postinst
+ elog
+ elog "bash-completion support requires:"
+ elog " app-shells/gentoo-bashcomp"
+ has_version app-shells/gentoo-bashcomp && \
+ elog "(installed already)"
}