Gentoo Archives: gentoo-dev

From: Matthew Smith <matthew@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] rebar.eclass: depend on slotted rebar2
Date: Sun, 10 Apr 2022 13:33:42
Message-Id: 89f14b33-12af-cd8d-e395-6d943da709e1@gentoo.org
1 Depend on the Rebar 2 slot in preparation for the addition of rebar:3.
2
3 Signed-off-by: Matthew Smith <matthew@g.o>
4 ---
5 eclass/rebar.eclass | 4 ++--
6 1 file changed, 2 insertions(+), 2 deletions(-)
7
8 diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass
9 index 17ae8e0d765..e7a64bb7a7e 100644
10 --- a/eclass/rebar.eclass
11 +++ b/eclass/rebar.eclass
12 @@ -1,4 +1,4 @@
13 -# Copyright 1999-2021 Gentoo Authors
14 +# Copyright 1999-2022 Gentoo Authors
15 # Distributed under the terms of the GNU General Public License v2
16
17 # @ECLASS: rebar.eclass
18 @@ -35,7 +35,7 @@ EXPORT_FUNCTIONS src_prepare src_compile src_test
19 src_install
20 RDEPEND="dev-lang/erlang:="
21 DEPEND="${RDEPEND}"
22 BDEPEND="
23 - dev-util/rebar
24 + dev-util/rebar:0
25 >=sys-apps/gawk-4.1
26 "
27 if [[ ${EAPI} == 6 ]]; then
28 --
29 2.35.1

Replies

Subject Author
Re: [gentoo-dev] [PATCH] rebar.eclass: depend on slotted rebar2 Florian Schmaus <flow@g.o>