Gentoo Archives: gentoo-portage-dev

From: Jason Pepas <cell@×××××××××××.edu>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] partial success: using package compression other than bzip2
Date: Thu, 03 Nov 2005 15:37:37
Message-Id: 20051103153633.GC8285@ices.utexas.edu
In Reply to: Re: [gentoo-portage-dev] partial success: using package compression other than bzip2 by Jason Pepas
1 > - myebuild=tmploc+"/"+mypkg+"/inf/"+os.path.basename(mytbz2)[:-4]+"ebuild"
2 > + myebuild=tmploc+"/"+mypkg+"/inf/"+mypkg+".ebuild"
3
4 You might take a quick glance at this last line. I am pretty sure that
5 will always be correct, but we could also state it like this:
6
7 myebuild=tmploc+"/"+mypkg+"/inf/"+os.path.splitext(os.path.basename(mytbz2))[0]+".ebuild"
8
9 but that seems a little verbose.
10
11 -jason pepas
12 --
13 gentoo-portage-dev@g.o mailing list