• [gentoo-dev] [PATCH] rebar.eclass: depend on slotted rebar2

    From Matthew Smith@21:1/5 to All on Sun Apr 10 15:40:01 2022
    Depend on the Rebar 2 slot in preparation for the addition of rebar:3.

    Signed-off-by: Matthew Smith <matthew@gentoo.org>
    ---
    eclass/rebar.eclass | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass
    index 17ae8e0d765..e7a64bb7a7e 100644
    --- a/eclass/rebar.eclass
    +++ b/eclass/rebar.eclass
    @@ -1,4 +1,4 @@
    -# Copyright 1999-2021 Gentoo Authors
    +# Copyright 1999-2022 Gentoo Authors
    # Distributed under the terms of the GNU General Public License v2

    # @ECLASS: rebar.eclass
    @@ -35,7 +35,7 @@ EXPORT_FUNCTIONS src_prepare src_compile src_test
    src_install
    RDEPEND="dev-lang/erlang:="
    DEPEND="${RDEPEND}"
    BDEPEND="
    - dev-util/rebar
    + dev-util/rebar:0
    >=sys-apps/gawk-4.1
    "
    if [[ ${EAPI} == 6 ]]; then
    --
    2.35.1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Florian Schmaus@21:1/5 to Matthew Smith on Sun Apr 10 15:40:01 2022
    On 10/04/2022 15.33, Matthew Smith wrote:
    Depend on the Rebar 2 slot in preparation for the addition of rebar:3.

    Signed-off-by: Matthew Smith <matthew@gentoo.org>
    ---
     eclass/rebar.eclass | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/eclass/rebar.eclass b/eclass/rebar.eclass
    index 17ae8e0d765..e7a64bb7a7e 100644
    --- a/eclass/rebar.eclass
    +++ b/eclass/rebar.eclass
    @@ -1,4 +1,4 @@
    -# Copyright 1999-2021 Gentoo Authors
    +# Copyright 1999-2022 Gentoo Authors
     # Distributed under the terms of the GNU General Public License v2

     # @ECLASS: rebar.eclass
    @@ -35,7 +35,7 @@ EXPORT_FUNCTIONS src_prepare src_compile src_test src_install
     RDEPEND="dev-lang/erlang:="
     DEPEND="${RDEPEND}"
     BDEPEND="
    -    dev-util/rebar
    +    dev-util/rebar:0
         >=sys-apps/gawk-4.1
     "
     if [[ ${EAPI} == 6 ]]; then

    lgtm

    - Flow

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)