Gentoo Archives: gentoo-dev

From: Naohiro Aota <naota@g.o>
To: gentoo-dev@l.g.o
Cc: ruby@g.o, Naohiro Aota <naota@g.o>
Subject: Re: [gentoo-dev] [PATCH 2/9] ruby-ng-gnome2.eclass: drop support for <EAPI=4
Date: Mon, 17 Feb 2020 21:40:31
Message-Id: 20200217214016.awcwym6mduedllwz@zazie
In Reply to: Re: [gentoo-dev] [PATCH 2/9] ruby-ng-gnome2.eclass: drop support for by "Michał Górny"
1 On Sun, Feb 16, 2020 at 06:40:08AM +0100, Michał Górny wrote:
2 > On Sat, 2020-02-15 at 21:18 +0900, Naohiro Aota wrote:
3 > > Signed-off-by: Naohiro Aota <naota@g.o>
4 > > ---
5 > > eclass/ruby-ng-gnome2.eclass | 13 +++----------
6 > > 1 file changed, 3 insertions(+), 10 deletions(-)
7 > >
8 > > diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
9 > > index 4e3c30017e9b..8c8e0c8c0a50 100644
10 > > --- a/eclass/ruby-ng-gnome2.eclass
11 > > +++ b/eclass/ruby-ng-gnome2.eclass
12 > > @@ -6,14 +6,14 @@
13 > > # Ruby herd <ruby@g.o>
14 > > # @AUTHOR:
15 > > # Author: Hans de Graaff <graaff@g.o>
16 > > -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6
17 > > +# @SUPPORTED_EAPIS: 4 5 6
18 > > # @BLURB: An eclass to simplify handling of various ruby-gnome2 parts.
19 > > # @DESCRIPTION:
20 > > # This eclass simplifies installation of the various pieces of
21 > > # ruby-gnome2 since they share a very common installation procedure.
22 > >
23 > > case "${EAPI:-0}" in
24 > > - 0|1|2|3|4|5|6)
25 > > + 4|5|6)
26 > > ;;
27 > > *)
28 > > die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
29 > >
30 >
31 > It's really hard to review this if you provide only minimal context.
32
33 I wanted to drop old EAPIS and reduce conditional branches to set EPREFIX=
34 and S=.
35 >
36 > I think you can drop multilib inherit for EAPI 6+.
37 >
38 > Any reason not to support EAPI 7?
39
40 Ah, I somwhow misunderstood ruby-fakegem or something is not supporting
41 EAPI 7... I will rewrite this series with EAPI 6 and 7 along with fixing
42 other bash style mistakes.
43
44 Thanks,
45
46 >
47 > --
48 > Best regards,
49 > Michał Górny
50 >