Gentoo Archives: gentoo-dev

From: Rich Freeman <rich0@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Opportunities to use slot operators
Date: Mon, 15 Apr 2013 11:30:45
In Reply to: Re: [gentoo-dev] Opportunities to use slot operators by Christopher Schwan
1 On Mon, Apr 15, 2013 at 5:39 AM, Christopher Schwan
2 <cschwan@××××××××××××××××××.de> wrote:
3 > Is it possible to check a local overlay? Specifying CPV for a single ebuild
4 > works, but I wonder if its possible to parse an entire overlay at once.
6 The script already checks all configured overlays as well as the main
7 tree if you invoke it with no parameters. However, I just added
8 metadata.xml parsing last night and it lacks error handling in the
9 event the file is not present. So, you'll have to add this, wait
10 until I get a chance to add it, or use the older version of the script
11 if you want to process most overlays.
13 If you want to only process the overlay I suspect you could modify the
14 source to point to it (likely by changing the porttree
15 initialization). Pointing PORTDIR in your environment to some copy of
16 portage minus the packages would likely work as well (I suspect it may
17 still need access to eclasses/etc).
19 Rich