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 CBF0C1382C5 for ; Wed, 4 Apr 2018 11:28:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46182E0C2A; Wed, 4 Apr 2018 11:28:32 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C83EEE0C21 for ; Wed, 4 Apr 2018 11:28:31 +0000 (UTC) Received: from [192.168.254.36] (unknown [184.16.99.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: bman) by smtp.gentoo.org (Postfix) with ESMTPSA id 6E212335C0A for ; Wed, 4 Apr 2018 11:28:30 +0000 (UTC) Date: Wed, 04 Apr 2018 07:28:26 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <20180404080420.iq2p4eyjhy7trh4p@proprietary-killer> References: <20180326213310.4507-1-hanetzer@startmail.com> <23226.3272.11913.791591@a1i15.kph.uni-mainz.de> <20180328073109.inqow7vsl6ja6jug@proprietary-killer.fossland> <23227.22488.110720.428667@a1i15.kph.uni-mainz.de> <20180404080420.iq2p4eyjhy7trh4p@proprietary-killer> 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: multipart/alternative; boundary="----HP3LE7PSI7HLZ62VQW48PHXL4IYTV2" Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] [PATCH] eclass: freedict: require EAPI=6 To: gentoo-dev@lists.gentoo.org From: Aaron Bauman Message-ID: <8A0F398B-9914-4DDB-BB28-BB6C83E2B9E4@gentoo.org> X-Archives-Salt: a920149d-263e-4cbc-aa90-208b9cf3d0ed X-Archives-Hash: 19c70d69a6ac0fb07b1745466af632cc ------HP3LE7PSI7HLZ62VQW48PHXL4IYTV2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Marty, I will get this merged today=2E I apologize for the delay=2E On April 4, 2018 4:04:21 AM EDT, "Marty E=2E Plummer" wrote: >Any action on this? > >On Wed, Mar 28, 2018 at 10:52:40AM +0200, Ulrich Mueller wrote: >> >>>>> On Wed, 28 Mar 2018, Marty E Plummer wrote: >>=20 >> > How's this: >>=20 >> Looks good to me=2E >>=20 >> > --- >> > eclass/freedict=2Eeclass | 18 ++++++++++-------- >> > 1 file changed, 10 insertions(+), 8 deletions(-) >>=20 >> > diff --git a/eclass/freedict=2Eeclass b/eclass/freedict=2Eeclass >> > index 06419626d34=2E=2E7c598aa6eaf 100644 >> > --- a/eclass/freedict=2Eeclass >> > +++ b/eclass/freedict=2Eeclass >> > @@ -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 >> =20 >> > # @ECLASS: freedict=2Eeclass >> > @@ -21,21 +21,23 @@ >> > # @DESCRIPTION: >> > # Please see above for a description=2E >> =20 >> > -inherit eutils multilib >> > - >> > -IUSE=3D"" >> > +case ${EAPI:-0} in >> > + 6) ;; >> > + *) die "${ECLASS}=2Eeclass is banned in EAPI=3D${EAPI}" ;; >> > +esac >> =20 >> > MY_P=3D${PN/freedict-/} >> =20 >> > -S=3D"${WORKDIR}" >> > DESCRIPTION=3D"Freedict for language translation from ${FORLANG} to >${TOLANG}" >> > -HOMEPAGE=3D"http://www=2Efreedict=2Ede" >> > +HOMEPAGE=3D"http://freedict=2Esourceforge=2Enet" >> >=20 >SRC_URI=3D"http://freedict=2Esourceforge=2Enet/download/linux/${MY_P}=2Et= ar=2Egz" >> =20 >> > +LICENSE=3D"GPL-2+" >> > SLOT=3D"0" >> > -LICENSE=3D"GPL-2" >> =20 >> > -DEPEND=3D"app-text/dictd" >> > +RDEPEND=3D"app-text/dictd" >> > + >> > +S=3D"${WORKDIR}" >> =20 >> > # @FUNCTION: freedict_src_install >> > # @DESCRIPTION: >> > --=20 >> > 2=2E16=2E3 >>=20 >>=20 >>=20 --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E ------HP3LE7PSI7HLZ62VQW48PHXL4IYTV2 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Marty, I will get this merged today=2E I apologize= for the delay=2E

On April 4, 2018 4:04:2= 1 AM EDT, "Marty E=2E Plummer" <hanetzer@startmail=2Ecom> w= rote:
Any action on this?

On Wed, Mar 28, 2018 at 1= 0:52:40AM +0200, Ulrich Mueller wrote:
On Wed, 28 Mar 2018, Marty E Plummer wrot= e:
How's this:

Looks good to me=2E

---
eclass/freedict=2Eeclass | 18 ++++++++++--------
= 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/eclass/freedict= =2Eeclass b/eclass/freedict=2Eeclass
index 06419626d34=2E=2E7c598aa6eaf= 100644
--- a/eclass/freedict=2Eeclass
+++ b/eclass/freedict=2Eecla= ss
@@ -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=2Eeclass
@@ -21,2= 1 +21,23 @@
# @DESCRIPTION:
# Please see above for a description= =2E

= -inherit eutils multilib
-
-IUSE=3D""
+case ${EAPI:-0} in
= + 6) ;;
+ *) die "${ECLASS}=2Eeclass is banned in EAPI=3D${EAPI}" ;; +esac

MY_P=3D${PN/freedict-/}

-S=3D"${WORKDIR}"
DESCRIPTION=3D"Freedict f= or language translation from ${FORLANG} to ${TOLANG}"
-HOMEPAGE=3D"http= ://www=2Efreedict=2Ede"
+HOMEPAGE=3D"http://freedict=2Esourceforge=2Ene= t"
SRC_URI=3D"http://freedict=2Esourceforge=2Enet/download/linux/${MY_= P}=2Etar=2Egz"

+LICENSE=3D"GPL-2+"
SLOT=3D"0"
-LICENSE=3D"GPL-2"
<= /blockquote>
-DEPEND= =3D"app-text/dictd"
+RDEPEND=3D"app-text/dictd"
+
+S=3D"${WORKD= IR}"

# @FUNCTION: freedict_src_install
# @DESCRIPTION:
--
2=2E1= 6=2E3





--
Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E ------HP3LE7PSI7HLZ62VQW48PHXL4IYTV2--