Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: Andreas Sturmlechner <asturm@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH v2 2/3] virtualx.eclass: Make VIRTUALX_DEPEND readonly in EAPI-8
Date: Wed, 04 Aug 2021 10:29:51
Message-Id: ufsvpzenf@gentoo.org
In Reply to: [gentoo-dev] [PATCH v2 2/3] virtualx.eclass: Make VIRTUALX_DEPEND readonly in EAPI-8 by Andreas Sturmlechner
1 >>>>> On Wed, 04 Aug 2021, Andreas Sturmlechner wrote:
2 > +# Standard dependencies string that is automatically added to BDEPEND
3 > +# (in EAPI-6: DEPEND) unless VIRTUALX_REQUIRED is set to "manual".
4 > +# DEPRECATED: Pre-EAPI-8 you can specify the variable BEFORE inherit
5 > +# to add more dependencies.
6 > +[[ ${EAPI} == [67] ]] || VIRTUALX_DEPEND=""
7 > +VIRTUALX_DEPEND+="
8 > x11-base/xorg-server[xvfb]
9 > x11-apps/xhost
10 > "
11 > +[[ ${EAPI} == [67] ]] || readonly VIRTUALX_DEPEND
12
13 I wonder about this one, because the *DEPEND variables are automatically
14 accumulated across eclasses and ebuild. What is the advantage of the
15 ebuild specifying VIRTUALX_DEPEND, instead of specifying BDEPEND
16 directly?
17
18 Ulrich

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies