Gentoo Archives: gentoo-dev

From: Aaron Bauman <bman@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] eclass: freedict: require EAPI=6
Date: Wed, 04 Apr 2018 11:28:38
Message-Id: 8A0F398B-9914-4DDB-BB28-BB6C83E2B9E4@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] eclass: freedict: require EAPI=6 by "Marty E. Plummer"
1 Marty, I will get this merged today. I apologize for the delay.
2
3 On April 4, 2018 4:04:21 AM EDT, "Marty E. Plummer" <hanetzer@×××××××××.com> wrote:
4 >Any action on this?
5 >
6 >On Wed, Mar 28, 2018 at 10:52:40AM +0200, Ulrich Mueller wrote:
7 >> >>>>> On Wed, 28 Mar 2018, Marty E Plummer wrote:
8 >>
9 >> > How's this:
10 >>
11 >> Looks good to me.
12 >>
13 >> > ---
14 >> > eclass/freedict.eclass | 18 ++++++++++--------
15 >> > 1 file changed, 10 insertions(+), 8 deletions(-)
16 >>
17 >> > diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass
18 >> > index 06419626d34..7c598aa6eaf 100644
19 >> > --- a/eclass/freedict.eclass
20 >> > +++ b/eclass/freedict.eclass
21 >> > @@ -1,4 +1,4 @@
22 >> > -# Copyright 1999-2014 Gentoo Foundation
23 >> > +# Copyright 1999-2018 Gentoo Foundation
24 >> > # Distributed under the terms of the GNU General Public License v2
25 >>
26 >> > # @ECLASS: freedict.eclass
27 >> > @@ -21,21 +21,23 @@
28 >> > # @DESCRIPTION:
29 >> > # Please see above for a description.
30 >>
31 >> > -inherit eutils multilib
32 >> > -
33 >> > -IUSE=""
34 >> > +case ${EAPI:-0} in
35 >> > + 6) ;;
36 >> > + *) die "${ECLASS}.eclass is banned in EAPI=${EAPI}" ;;
37 >> > +esac
38 >>
39 >> > MY_P=${PN/freedict-/}
40 >>
41 >> > -S="${WORKDIR}"
42 >> > DESCRIPTION="Freedict for language translation from ${FORLANG} to
43 >${TOLANG}"
44 >> > -HOMEPAGE="http://www.freedict.de"
45 >> > +HOMEPAGE="http://freedict.sourceforge.net"
46 >> >
47 >SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
48 >>
49 >> > +LICENSE="GPL-2+"
50 >> > SLOT="0"
51 >> > -LICENSE="GPL-2"
52 >>
53 >> > -DEPEND="app-text/dictd"
54 >> > +RDEPEND="app-text/dictd"
55 >> > +
56 >> > +S="${WORKDIR}"
57 >>
58 >> > # @FUNCTION: freedict_src_install
59 >> > # @DESCRIPTION:
60 >> > --
61 >> > 2.16.3
62 >>
63 >>
64 >>
65
66 --
67 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-dev] [PATCH] eclass: freedict: require EAPI=6 Ulrich Mueller <ulm@g.o>