Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-irc/quassel: ChangeLog quassel-9999-r1.ebuild quassel-0.2.0_rc1.ebuild quassel-0.2.9999.ebuild

2008-07-03 Thread Bo Ørsted Andresen
On Thursday 03 July 2008 01:06:17 Diego 'Flameeyes' Pettenò wrote:
 -r1 has this values:

 P=quassel-
 PN=quassel
 PV=
 PF=quassel--r1
 PVR=-r1 (was this the right variable name? I sincerely forgot)

PVR is right. You only forgot PR=r1.

http://devmanual.gentoo.org/ebuild-writing/variables/index.html

-- 
Bo Andresen
Gentoo KDE Dev


signature.asc
Description: This is a digitally signed message part.


[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-irc/quassel: ChangeLog quassel-9999-r1.ebuild quassel-0.2.0_rc1.ebuild quassel-0.2.9999.ebuild

2008-07-02 Thread Thomas Anderson
In-Reply-To: [EMAIL PROTECTED]
   Add missing eutils inherit for the non-git ebuilds as otherwise it seems to 
 be failing.
   (Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 x86_64)
 
The reason it's failing is because you have things after the . You
can do this:

if [[ ${PV} == ** ]]; then
inherit git

instead of:
  if [[ ${PV} == * ]]; then
   inherit git

Doing it my way doesn't fail for, say, -r1

Regards,
Thomas


pgp0Mzp7grOpD.pgp
Description: PGP signature


[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-irc/quassel: ChangeLog quassel-9999-r1.ebuild quassel-0.2.0_rc1.ebuild quassel-0.2.9999.ebuild

2008-07-02 Thread Diego 'Flameeyes' Pettenò
Thomas Anderson [EMAIL PROTECTED] writes:

 The reason it's failing is because you have things after the . You
 can do this:

I actually don't... and it doesn't file for the git case, it fails for
the non-git case (I only updated the git versions so the next time I
copy over the git ebuild I don't have to fix it again)

 Doing it my way doesn't fail for, say, -r1

-r1 has this values:

P=quassel-
PN=quassel
PV=
PF=quassel--r1
PVR=-r1 (was this the right variable name? I sincerely forgot)

the -r1 part is only ever used for the revisions in PVR, not on PV.

-- 
Diego Flameeyes Pettenò
http://blog.flameeyes.eu/


pgpDthx7fgu6m.pgp
Description: PGP signature