Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@g.o
Subject: Re: Fwd: Re: [gentoo-dev] strange ebuild error
Date: Thu, 14 Aug 2003 04:12:38
Message-Id: 200308140012.38178.vapier@gentoo.org
In Reply to: Fwd: Re: [gentoo-dev] strange ebuild error by Ben Calvert
1 On Thursday 14 August 2003 00:01, Ben Calvert wrote:
2 > ok - mike and max both tried to explain how to fix the version number
3 > within the *ebuild file, but having pretty much 0 python skillz it went
4 > straight over my head. I replaced the code with the number, can someone
5 > show me exactly what i should have?
6 >
7 > <snip>
8 >
9 > S=${WORKDIR}/AfterStep-2.00.beta1
10 > DESCRIPTION="A window manager based on the NeXTStep interface."
11 > SRC_URI="ftp://ftp.afterstep.org/stable/AfterStep-2.00.beta1.tar.bz2"
12 >
13 > <snip>
14
15 well, i think you mean bash and not python since thats what ebuilds are
16 written in :)
17 try this:
18 MY_PV=${PV/_/.}
19 S=${WORKDIR}/AfterStep-${MY_PV}
20 SRC_URI="ftp://ftp.afterstep.org/stable/AfterStep-${MY_PV}.tar.bz2"
21 -mike
22
23 --
24 gentoo-dev@g.o mailing list