Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFD: EAPI specification in ebuilds
Date: Sat, 10 Mar 2012 13:55:20
Message-Id: 20120310135321.531348b5@googlemail.com
In Reply to: Re: [gentoo-dev] RFD: EAPI specification in ebuilds by Kent Fredric
1 On Sat, 10 Mar 2012 14:06:49 +1300
2 Kent Fredric <kentfredric@×××××.com> wrote:
3 > > HOMEPAGE         Package's homepage. If you are unable to locate an
4 > > official one, try to provide a link to freshmeat.net or a similar
5 > > package tracking site. Never refer to a variable name in the string;
6 > > include only raw text.
7 >
8 > I'm not sure if that is a good example of "things that are weird like
9 > EAPI"
10 >
11 > You can set HOMEPAGE in an eclass for instance, using anything you can
12 > do with bash and build it out of substrings.
13 >
14 > perl-module.eclass does just that.
15 >
16 > [[ -z "${HOMEPAGE}" ]] && \
17 > HOMEPAGE="http://search.cpan.org/dist/${MY_PN:-${PN}}/"
18 >
19 > Not really comparable in entirety to EAPI.
20
21 The point is that there's a silly QA policy saying not to do that. It's
22 not a PMS rule.
23
24 --
25 Ciaran McCreesh

Attachments

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