On Thu, Dec 04, 2008 at 12:31:44AM +0100, Gilles Dartiguelongue wrote:
> Le mardi 02 décembre 2008 à 16:50 -0800, Robin H. Johnson a écrit :
> > As another major pain, for ebuilds where the homepage changes every
> > version in
> > some predictable pattern, you have now increased the maintenance
> > burden. Before
> > we could just copy the ebuild if we had a suitable variable expression
> > in the
> > HOMEPAGE variable, but now we'd have to edit it into metadata.xml as
> > well.
> actually I thought it was strictly forbidden to put any kind of variable
> in the HOMEPAGE value. Did I miss something, is it an old restriction
> that doesn't matter anymore ?
It exists as a warning in some places still I think.

perl-module.eclass has this:
[ -z "${HOMEPAGE}" ] && \
        HOMEPAGE="http://search.cpan.org/search?query=${MY_PN:-${PN}}&mode=dist";

There was something else that used the form of:
MY_PV=$(something-from-versionator ...)
MY_PN=...
HOMEPAGE="http://foobar/${MY_PN}/${MY_PV}";

I'm pretty sure I saw something about one of the EAPIs supporting
USE-dependency stuff in HOMEPAGE as well.

-- 
Robin Hugh Johnson
Gentoo Linux Developer & Infra Guy
E-Mail     : [EMAIL PROTECTED]
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgpr4oXdXnWQ1.pgp
Description: PGP signature

Reply via email to