logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 4b8ff0df6ec65807d355742a8b465631d95821de
parent 5a14b1279270906a1eb00a2a3dd8518436e245b8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu,  7 Jan 2021 01:43:54 +0100

{mix,rebar3}.eclass: BDEPEND="!<${CATEGORY}/${PN} !>${CATEGORY}/${PN}"

Diffstat:

Meclass/mix.eclass6+++++-
Meclass/rebar3.eclass6+++++-
2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/eclass/mix.eclass b/eclass/mix.eclass @@ -1,4 +1,4 @@ -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Copyright 2019-2021 Haelwenn (lanodan) Monnier <contact@hacktivis.me> # Distributed under the terms of the GNU General Public License v2 # @ECLASS: mix.eclass @@ -29,6 +29,10 @@ EXPORT_FUNCTIONS src_prepare src_compile src_install RDEPEND="dev-lang/elixir" DEPEND="${RDEPEND}" +# Erlang/Elixir software fails to build when another version with API +# differences is present +BDEPEND="!<${CATEGORY}/${P} !>${CATEGORY}/${P}" + # @ECLASS-VARIABLE: HEX_OFFLINE HEX_OFFLINE=1 diff --git a/eclass/rebar3.eclass b/eclass/rebar3.eclass @@ -1,5 +1,5 @@ # Copyright 1999-2016 Gentoo Foundation -# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Copyright 2019-2021 Haelwenn (lanodan) Monnier <contact@hacktivis.me> # Distributed under the terms of the GNU General Public License v2 # @ECLASS: rebar3.eclass @@ -34,6 +34,10 @@ esac EXPORT_FUNCTIONS src_prepare src_compile src_test src_install +# Erlang/Elixir software fails to build when another version with API +# differences is present +BDEPEND="!<${CATEGORY}/${P} !>${CATEGORY}/${P}" + # @ECLASS-VARIABLE: REBAR3_DEPS # @DESCRIPTION: # This is an eclass-generated dependency string for required dependencies