Gentoo Archives: gentoo-genkernel

From: Richard Farina <sidhayn@×××××.com>
To: gentoo-genkernel@l.g.o
Subject: [gentoo-genkernel] Re: patch for bashcompletion-r1
Date: Wed, 16 May 2012 12:50:30
Message-Id: 4FB3A2FA.3080504@hotmail.com
In Reply to: [gentoo-genkernel] patch for bashcompletion-r1 by Richard Farina
On 05/16/12 08:50, Richard Farina wrote:
> This has been driving me nuts for a while > > Get rid of deprecation warning by using bash-completion-r1 instead of > bash-completion. Simple and logical migration.
HA! Or the patch not in reverse.... ozzie genkernel # diff -Naur genkernel-3.4.32.ebuild genkernel-3.4.30.ebuild --- genkernel-3.4.32.ebuild 2012-05-16 08:48:23.444013089 -0400 +++ genkernel-3.4.30.ebuild 2012-05-14 22:30:47.348296737 -0400 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.32.ebuild,v 1.1 2012/05/14 00:20:53 sping Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.30.ebuild,v 1.2 2012/05/03 22:26:18 sping Exp $ # genkernel-9999 -> latest Git branch "master" # genkernel-VERSION -> normal genkernel release @@ -38,12 +38,12 @@ then EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/${PN}.git http://git.overlays.gentoo.org/gitroot/proj/${PN}.git" - inherit git-2 bash-completion eutils + inherit git-2 bash-completion-r1 eutils S="${WORKDIR}/${PN}" SRC_URI="${COMMON_URI}" KEYWORDS="" else - inherit bash-completion eutils + inherit bash-completion-r1 eutils SRC_URI="mirror://gentoo/${P}.tar.bz2 ${MY_HOME}/sources/genkernel/${P}.tar.bz2 ${COMMON_URI}" @@ -134,7 +134,7 @@ "${DISTDIR}"/open-iscsi-${VERSION_ISCSI}.tar.gz \ "${D}"/var/cache/genkernel/src || die "Copying distfiles..." - dobashcompletion "${FILESDIR}"/genkernel.bash + newbashcomp "${FILESDIR}"/genkernel.bash "${PN}" insinto /etc doins "${FILESDIR}"/initramfs.mounts }
> > Thanks, > Zero >

Replies

Subject Author
Re: [gentoo-genkernel] Re: patch for bashcompletion-r1 Peter Hjalmarsson <xake@×××××××××.net>