logo

overlay

My (experimental) gentoo overlay
commit: 5ccae39847b1b1f8fba9f844b75d6376ce889b2a
parent: fdfcc49eb8f0bd104aeefaa9c966280f653e9aa9
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 25 Jul 2019 19:14:46 +0200

rebar3.eclass: make deps manual to avoid circular dep

Diffstat:

Mdev-erlang/base64url/base64url-1.0-r1.ebuild5++++-
Meclass/rebar3.eclass11++++++++---
2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/dev-erlang/base64url/base64url-1.0-r1.ebuild b/dev-erlang/base64url/base64url-1.0-r1.ebuild @@ -14,7 +14,10 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND=">=dev-lang/erlang-17.1" +DEPEND=" + ${REBAR3_DEPS} + >=dev-lang/erlang-17.1 +" RDEPEND="${DEPEND}" DOCS=( README.md ) diff --git a/eclass/rebar3.eclass b/eclass/rebar3.eclass @@ -34,9 +34,14 @@ esac EXPORT_FUNCTIONS src_prepare src_compile src_test src_install -RDEPEND="dev-lang/erlang" -DEPEND=" - ${RDEPEND} +# @ECLASS-VARIABLE: REBAR3_DEPS +# @DESCRIPTION: +# This is an eclass-generated dependency string for required dependencies +# +# Not included by default in DEPEND to avoid a circular dependency on +# emerging dev-util/rebar:3 +REBAR3_DEPS=" + dev-lang/erlang dev-util/rebar:3 "