public inbox for gentoo-genkernel@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-genkernel] patch for bashcompletion-r1
@ 2012-05-16 12:50 Richard Farina
  2012-05-16 12:52 ` [gentoo-genkernel] " Richard Farina
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Farina @ 2012-05-16 12:50 UTC (permalink / raw
  To: gentoo-genkernel

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.

Thanks,
Zero

--- genkernel-3.4.30.ebuild	2012-05-14 22:30:47.348296737 -0400
+++ genkernel-3.4.32.ebuild	2012-05-16 08:48:23.444013089 -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.30.ebuild,v
1.2 2012/05/03 22:26:18 sping Exp $
+# $Header:
/var/cvsroot/gentoo-x86/sys-kernel/genkernel/genkernel-3.4.32.ebuild,v
1.1 2012/05/14 00:20:53 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-r1 eutils
+	inherit git-2 bash-completion eutils
 	S="${WORKDIR}/${PN}"
 	SRC_URI="${COMMON_URI}"
 	KEYWORDS=""
 else
-	inherit bash-completion-r1 eutils
+	inherit bash-completion 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..."

-	newbashcomp "${FILESDIR}"/genkernel.bash "${PN}"
+	dobashcompletion "${FILESDIR}"/genkernel.bash
 	insinto /etc
 	doins "${FILESDIR}"/initramfs.mounts
 }



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-16 19:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-16 12:50 [gentoo-genkernel] patch for bashcompletion-r1 Richard Farina
2012-05-16 12:52 ` [gentoo-genkernel] " Richard Farina
2012-05-16 15:28   ` Peter Hjalmarsson
2012-05-16 18:57     ` Richard Farina
2012-05-16 19:00     ` Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox