Re: [gentoo-user] Syntax for set files
On 02/07/12 15:08, Alan McKinnon wrote: > On Tue, 7 Feb 2012 13:46:04 -0600 > Paul Hartman wrote: > >> On Tue, Feb 7, 2012 at 12:36 PM, Alan McKinnon >> 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".
Re: [gentoo-user] Syntax for set files
On Tue, 7 Feb 2012 13:46:04 -0600 Paul Hartman wrote: > On Tue, Feb 7, 2012 at 12:36 PM, Alan McKinnon > 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
On Tue, Feb 7, 2012 at 12:36 PM, Alan McKinnon 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 - - > > 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.
[gentoo-user] Syntax for set files
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. 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 - - Can this even be done in portage? doc/portage-2.2.0_alpha85/RELEASE-NOTES.bz2 implies it probably isn't supported: * Package set support: There are several important notes regarding package sets: - they may currently only include simple and versioned atoms or other sets, use conditionals or any-of constructs aren't possible yet Can other package managers (eg paludis) do this? -- Alan McKinnnon alan.mckin...@gmail.com