commit:     8fa8a155305505fa5d55dfad73d8e97a5c91bc32
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 12 10:33:07 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Sep 12 10:33:07 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fa8a155

app-leechcraft/lc-ooronee: Use optfeature from eutils.eclass

Package-Manager: portage-2.2.20
RepoMan-Options: --force
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 app-leechcraft/lc-ooronee/lc-ooronee-0.6.65.ebuild | 18 ++----------------
 app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild | 18 ++----------------
 app-leechcraft/lc-ooronee/lc-ooronee-9999.ebuild   | 18 ++----------------
 3 files changed, 6 insertions(+), 48 deletions(-)

diff --git a/app-leechcraft/lc-ooronee/lc-ooronee-0.6.65.ebuild 
b/app-leechcraft/lc-ooronee/lc-ooronee-0.6.65.ebuild
index f49cc76..88749dc 100644
--- a/app-leechcraft/lc-ooronee/lc-ooronee-0.6.65.ebuild
+++ b/app-leechcraft/lc-ooronee/lc-ooronee-0.6.65.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
 
-inherit leechcraft
+inherit eutils leechcraft
 
 DESCRIPTION="Quark handling text and images droppend onto it"
 
@@ -17,20 +17,6 @@ RDEPEND="${DEPEND}
        virtual/leechcraft-quark-sideprovider
 "
 
-# Grabbed from net-misc/netctl ebuild.
-optfeature() {
-       local desc=$1
-       shift
-       while (( $# )); do
-               if has_version "$1"; then
-                       elog "  [I] $1 to ${desc}"
-               else
-                       elog "  [ ] $1 to ${desc}"
-               fi
-               shift
-       done
-}
-
 pkg_postinst() {
        elog "Install at least some of the following additional LeechCraft 
modules for Ooronee to be useful:"
        optfeature "upload images" app-leechcraft/lc-imgaste 
app-leechcraft/lc-blasq

diff --git a/app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild 
b/app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild
index f49cc76..88749dc 100644
--- a/app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild
+++ b/app-leechcraft/lc-ooronee/lc-ooronee-0.6.70.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
 
-inherit leechcraft
+inherit eutils leechcraft
 
 DESCRIPTION="Quark handling text and images droppend onto it"
 
@@ -17,20 +17,6 @@ RDEPEND="${DEPEND}
        virtual/leechcraft-quark-sideprovider
 "
 
-# Grabbed from net-misc/netctl ebuild.
-optfeature() {
-       local desc=$1
-       shift
-       while (( $# )); do
-               if has_version "$1"; then
-                       elog "  [I] $1 to ${desc}"
-               else
-                       elog "  [ ] $1 to ${desc}"
-               fi
-               shift
-       done
-}
-
 pkg_postinst() {
        elog "Install at least some of the following additional LeechCraft 
modules for Ooronee to be useful:"
        optfeature "upload images" app-leechcraft/lc-imgaste 
app-leechcraft/lc-blasq

diff --git a/app-leechcraft/lc-ooronee/lc-ooronee-9999.ebuild 
b/app-leechcraft/lc-ooronee/lc-ooronee-9999.ebuild
index 6bcfcb0..ad510ad 100644
--- a/app-leechcraft/lc-ooronee/lc-ooronee-9999.ebuild
+++ b/app-leechcraft/lc-ooronee/lc-ooronee-9999.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI="5"
 
-inherit leechcraft
+inherit eutils leechcraft
 
 DESCRIPTION="Quark handling text and images droppend onto it"
 
@@ -17,20 +17,6 @@ RDEPEND="${DEPEND}
        virtual/leechcraft-quark-sideprovider
 "
 
-# Grabbed from net-misc/netctl ebuild.
-optfeature() {
-       local desc=$1
-       shift
-       while (( $# )); do
-               if has_version "$1"; then
-                       elog "  [I] $1 to ${desc}"
-               else
-                       elog "  [ ] $1 to ${desc}"
-               fi
-               shift
-       done
-}
-
 pkg_postinst() {
        elog "Install at least some of the following additional LeechCraft 
modules for Ooronee to be useful:"
        optfeature "upload images" app-leechcraft/lc-imgaste 
app-leechcraft/lc-blasq

Reply via email to