From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6C8F1382C5 for ; Wed, 28 Mar 2018 08:52:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50694E09A8; Wed, 28 Mar 2018 08:52:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EF08BE0935 for ; Wed, 28 Mar 2018 08:52:45 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (host2092.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 6F2A9335C9F; Wed, 28 Mar 2018 08:52:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23227.22488.110720.428667@a1i15.kph.uni-mainz.de> Date: Wed, 28 Mar 2018 10:52:40 +0200 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH] eclass: freedict: require EAPI=6 In-Reply-To: <20180328073109.inqow7vsl6ja6jug@proprietary-killer.fossland> References: <20180326213310.4507-1-hanetzer@startmail.com> <23226.3272.11913.791591@a1i15.kph.uni-mainz.de> <20180328073109.inqow7vsl6ja6jug@proprietary-killer.fossland> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller X-Archives-Salt: 27a99c9e-8169-4cc4-ac4a-be8f84c7df46 X-Archives-Hash: 1c33d2c66826b83255d9eff4d95f836e >>>>> On Wed, 28 Mar 2018, Marty E Plummer wrote: > How's this: Looks good to me. > --- > eclass/freedict.eclass | 18 ++++++++++-------- > 1 file changed, 10 insertions(+), 8 deletions(-) > diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass > index 06419626d34..7c598aa6eaf 100644 > --- a/eclass/freedict.eclass > +++ b/eclass/freedict.eclass > @@ -1,4 +1,4 @@ > -# Copyright 1999-2014 Gentoo Foundation > +# Copyright 1999-2018 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # @ECLASS: freedict.eclass > @@ -21,21 +21,23 @@ > # @DESCRIPTION: > # Please see above for a description. > -inherit eutils multilib > - > -IUSE="" > +case ${EAPI:-0} in > + 6) ;; > + *) die "${ECLASS}.eclass is banned in EAPI=${EAPI}" ;; > +esac > MY_P=${PN/freedict-/} > -S="${WORKDIR}" > DESCRIPTION="Freedict for language translation from ${FORLANG} to ${TOLANG}" > -HOMEPAGE="http://www.freedict.de" > +HOMEPAGE="http://freedict.sourceforge.net" > SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz" > +LICENSE="GPL-2+" > SLOT="0" > -LICENSE="GPL-2" > -DEPEND="app-text/dictd" > +RDEPEND="app-text/dictd" > + > +S="${WORKDIR}" > # @FUNCTION: freedict_src_install > # @DESCRIPTION: > -- > 2.16.3