On Tue, 31 May 2011 14:28:00 -0500 William Hubbs <willi...@gentoo.org> wrote:
> On Tue, May 31, 2011 at 04:24:23PM +0200, Michał Górny wrote: > > EAPI=4 > > > > inherit github-snapshot > > > > DESCRIPTION="Random github package" > > HOMEPAGE="https://github.com/foo/bar" > > bar is actually ${PN}. AFAIK it is a bad practice to use any variables in HOMEPAGE. Reason unknown, vim highlights this in red. > > SRC_URI="http://github.com/foo/${PN}/tarball/${P} -> ${P}.tar.gz" > > The first ${P} above isn't right, because that is where the tag of the > snapshot goes. This is a slightly modified copy-paste from an ebuild. In this particular example, the tag was same as ${P}. It is just an example. It's supposed to shortly show what needs to be changed and what needs not. My main intent is not to suggest creating additional variables like GITHUB_TAG and so on. -- Best regards, Michał Górny
signature.asc
Description: PGP signature