From 8fa8a155305505fa5d55dfad73d8e97a5c91bc32 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 12 Sep 2015 12:33:07 +0200 Subject: [PATCH] app-leechcraft/lc-ooronee: Use optfeature from eutils.eclass Package-Manager: portage-2.2.20 RepoMan-Options: --force Signed-off-by: Justin Lecher --- .../lc-ooronee/lc-ooronee-0.6.65.ebuild | 18 ++---------------- .../lc-ooronee/lc-ooronee-0.6.70.ebuild | 18 ++---------------- .../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 f49cc760167d..88749dca7ece 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 f49cc760167d..88749dca7ece 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 6bcfcb00a9ce..ad510adbf77a 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 -- 2.26.2