Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Future EAPI Idea: post source hook for eclasses
Date: Fri, 28 Mar 2014 17:12:56
Message-Id: 20140328171231.7dc055ce@googlemail.com
In Reply to: Re: [gentoo-dev] Future EAPI Idea: post source hook for eclasses by Kent Fredric
1 On Sat, 29 Mar 2014 01:44:06 +1300
2 Kent Fredric <kentfredric@×××××.com> wrote:
3 > On 28 March 2014 23:47, Michał Górny <mgorny@g.o> wrote:
4 > > Please paste a real example, it's easier to understand what you're
5 > > trying to do when we see what it does.
6 >
7 >
8 > For the A.1 style:
9 >
10 > MODULE_AUTHOR=DOY
11 > MODULE_VERSION=2.0604
12 > inherit perl-module
13 >
14 > ^ from Moose 2.60.400.ebuild , this creates SRC_URI based on those
15 > tokens above as:
16 >
17 > "mirror://cpan/authors/id/D/DO/DOY/Moose-2.0604.tar.gz"
18 >
19 >
20 > KDE_HANDBOOK="optional"
21 > KMNAME="kde-workspace"
22 > inherit systemd kde4-meta flag-o-matic user
23 >
24 > ^ from kdm-4.11.7.ebuild
25
26 These look a lot like they're just parameters to an eclass... An
27 alternative approach is to make this explicit, rather than having
28 zillions of environment variables:
29
30 http://exherbo.org/docs/exheres-for-smarties.html#exlib_parameters
31
32 --
33 Ciaran McCreesh

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] Future EAPI Idea: post source hook for eclasses Alec Warner <antarus@g.o>
Re: [gentoo-dev] Future EAPI Idea: post source hook for eclasses Kent Fredric <kentfredric@×××××.com>