Re: [gentoo-dev] [PATCH] vala.eclass: make has_version aware of ROOT for EAPI 7

2021-01-08 Thread David Michael
On Thu, Jan 7, 2021 at 3:42 AM Mart Raudsepp wrote: > Ühel kenal päeval, K, 06.01.2021 kell 19:27, kirjutas Matt Turner: > > From: David Michael > > The vala dependencies are declared in BDEPEND since EAPI 7 so that > > the valac command is natively executable. With no arguments, the > > has_ver

Re: [gentoo-dev] [PATCH] vala.eclass: make has_version aware of ROOT for EAPI 7

2021-01-07 Thread Mart Raudsepp
Ühel kenal päeval, K, 06.01.2021 kell 19:27, kirjutas Matt Turner: > From: David Michael > > The vala dependencies are declared in BDEPEND since EAPI 7 so that > the valac command is natively executable.  With no arguments, the > has_version function would look for a cross-compiled vala package >

Re: [gentoo-dev] [PATCH] vala.eclass: make has_version aware of ROOT for EAPI 7

2021-01-06 Thread Ulrich Mueller
> On Thu, 07 Jan 2021, Matt Turner wrote: > + has_version $([[ $EAPI == [1-6] ]] || echo -b) > "dev-lang/vala:${v}${u}" && echo "${v}" && return > + has_version $([[ $EAPI == [1-6] ]] || echo -b) > "dev-lang/vala:${version}" || die "No installed vala:${version}" Cur

[gentoo-dev] [PATCH] vala.eclass: make has_version aware of ROOT for EAPI 7

2021-01-06 Thread Matt Turner
From: David Michael The vala dependencies are declared in BDEPEND since EAPI 7 so that the valac command is natively executable. With no arguments, the has_version function would look for a cross-compiled vala package in the target ROOT and always fail. Signed-off-by: David Michael Signed-off-