Re: [gentoo-user] Syntax for set files

2012-02-07 Thread Paul Hartman
On Tue, Feb 7, 2012 at 12:36 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Anyone know a link to documentation on what the syntax is in portage's
 set files? I once had a skimpy doc (since lost) that described
 operators like + - / that let you add, remove and replace named atoms
 in a set file.

Portage documentation, Part I Chapter 2 Package Set Configuration
should have more than you ever wanted to know about sets. :) Emerge
portage with USE=doc if you don't already have it in
/usr/share/doc/portage*/html/.

 I use the enlightenment-niifaq overlay which ships with some awesome
 predfined sets. But source code for some of those ebuilds are broken. I
 really don't feel like maintaining my own sets for this. Much easier to
 just make a small set with a line like so:

 @enlightenment-niifaq - broken_ebuild1 - broken_ebuild2

 Can this even be done in portage?

I think you can use regex in the sets declaration. I haven't really
used them much myself.



Re: [gentoo-user] Syntax for set files

2012-02-07 Thread Alan McKinnon
On Tue, 7 Feb 2012 13:46:04 -0600
Paul Hartman paul.hartman+gen...@gmail.com wrote:

 On Tue, Feb 7, 2012 at 12:36 PM, Alan McKinnon
 alan.mckin...@gmail.com wrote:
  Anyone know a link to documentation on what the syntax is in
  portage's set files? I once had a skimpy doc (since lost) that
  described operators like + - / that let you add, remove and replace
  named atoms in a set file.
 
 Portage documentation, Part I Chapter 2 Package Set Configuration
 should have more than you ever wanted to know about sets. :) Emerge
 portage with USE=doc if you don't already have it in
 /usr/share/doc/portage*/html/.

Ah, that explains it. I have USE=-doc set globally and it never occurred
to me to enable it for portage :-) I have only a few packages where
USE=doc is enabled. I'd always sorta assumed the real docs were on a
wiki somewhere :-)



-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] Syntax for set files

2012-02-07 Thread Michael Orlitzky
On 02/07/12 15:08, Alan McKinnon wrote:
 On Tue, 7 Feb 2012 13:46:04 -0600
 Paul Hartman paul.hartman+gen...@gmail.com wrote:
 
 On Tue, Feb 7, 2012 at 12:36 PM, Alan McKinnon
 alan.mckin...@gmail.com wrote:
 Anyone know a link to documentation on what the syntax is in
 portage's set files? I once had a skimpy doc (since lost) that
 described operators like + - / that let you add, remove and replace
 named atoms in a set file.

 Portage documentation, Part I Chapter 2 Package Set Configuration
 should have more than you ever wanted to know about sets. :) Emerge
 portage with USE=doc if you don't already have it in
 /usr/share/doc/portage*/html/.
 
 Ah, that explains it. I have USE=-doc set globally and it never occurred
 to me to enable it for portage :-) I have only a few packages where
 USE=doc is enabled. I'd always sorta assumed the real docs were on a
 wiki somewhere :-)
 

I tried to look for these a few days ago and did the same thing. Someone
should really put up a webpage titled Portage package sets
documentation that says try checking /usr/share/doc/portage.