Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: "Hanno Böck" <hanno@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] rebar.eclass: Use := dependency
Date: Sat, 25 Apr 2020 08:06:58
Message-Id: 20200425090648.71a98a1b@sf
In Reply to: [gentoo-dev] [PATCH] rebar.eclass: Use := dependency by "Hanno Böck"
1 On Sat, 25 Apr 2020 10:01:50 +0200
2 Hanno Böck <hanno@g.o> wrote:
3
4 > All erlang rebar based packages should be rebuilt after a subslot
5 > update of dev-lang/erlang.
6 >
7 > Right now this is done in some ebuilds, but inconsistent.
8 > Given this affects all packages this should be reflected in the
9 > rebar.eclass, see also [1].
10 >
11 > [1] https://bugs.gentoo.org/714702
12 >
13 > Closes: https://bugs.gentoo.org/714702
14 > Signed-off-by: Hanno Böck <hanno@g.o>
15 > ---
16 >
17 > diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass
18 > index f2a620fd8..92dd16b08 100644
19 > --- a/eclass/rebar.eclass
20 > +++ b/eclass/rebar.eclass
21 > @@ -32,7 +32,7 @@ esac
22 >
23 > EXPORT_FUNCTIONS src_prepare src_compile src_test src_install
24 >
25 > -RDEPEND="dev-lang/erlang"
26 > +RDEPEND="dev-lang/erlang:="
27 > DEPEND="${RDEPEND}
28 > dev-util/rebar
29 > >=sys-apps/gawk-4.1"
30 >
31 > --
32 > Hanno Böck
33 > https://hboeck.de/
34 >
35
36 Looks good.
37
38 --
39
40 Sergei