Gentoo Archives: gentoo-dev

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

Replies

Subject Author
Re: [gentoo-dev] [PATCH] eclass: freedict: require EAPI=6 Aaron Bauman <bman@g.o>