portage.git
16 years agoAdd docs for /etc/portage/color.map and a few misc man page fixes. Thanks to Arfreve...
Zac Medico [Sat, 30 Jun 2007 23:15:51 +0000 (23:15 -0000)]
Add docs for /etc/portage/color.map and a few misc man page fixes.  Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> in bug #183758.

svn path=/main/trunk/; revision=7100

16 years agoRemove old wheel group warnings since portage stopped using this group long ago.
Zac Medico [Sat, 30 Jun 2007 13:19:58 +0000 (13:19 -0000)]
Remove old wheel group warnings since portage stopped using this group long ago.

svn path=/main/trunk/; revision=7099

16 years agoapply additional phase filters as otherwise some messages are logged in both unmerge...
Marius Mauch [Sat, 30 Jun 2007 11:21:26 +0000 (11:21 -0000)]
apply additional phase filters as otherwise some messages are logged in both unmerge and merge

svn path=/main/trunk/; revision=7098

16 years agoewarn when merging a package and the source repository/overlay does not have a name
Marius Mauch [Sat, 30 Jun 2007 10:32:36 +0000 (10:32 -0000)]
ewarn when merging a package and the source repository/overlay does not have a name

svn path=/main/trunk/; revision=7097

16 years agoprint a notice when a repository/overlay does not have a name
Marius Mauch [Sat, 30 Jun 2007 10:04:42 +0000 (10:04 -0000)]
print a notice when a repository/overlay does not have a name

svn path=/main/trunk/; revision=7096

16 years agoAdd a 0xAAAA00 rgb color code to represent the darkyellow color that some terminals...
Zac Medico [Fri, 29 Jun 2007 21:46:13 +0000 (21:46 -0000)]
Add a 0xAAAA00 rgb color code to represent the darkyellow color that some terminals have instead of brown.

svn path=/main/trunk/; revision=7094

16 years agoTest for existence of the getRepositories method since bindbapi doesn't have it atm.
Zac Medico [Fri, 29 Jun 2007 21:30:10 +0000 (21:30 -0000)]
Test for existence of the getRepositories method since bindbapi doesn't have it atm.

svn path=/main/trunk/; revision=7093

16 years agoFor bug #183639, give a more informative message with the package.provided warning.
Zac Medico [Fri, 29 Jun 2007 14:09:12 +0000 (14:09 -0000)]
For bug #183639, give a more informative message with the package.provided warning.

svn path=/main/trunk/; revision=7091

16 years agodisplay source repository for installed package and target package (bug #67072)
Marius Mauch [Fri, 29 Jun 2007 09:09:49 +0000 (09:09 -0000)]
display source repository for installed package and target package (bug #67072)

svn path=/main/trunk/; revision=7089

16 years agoUse better parseable format for list_preserved_libs
Marius Mauch [Fri, 29 Jun 2007 08:04:24 +0000 (08:04 -0000)]
Use better parseable format for list_preserved_libs

svn path=/main/trunk/; revision=7088

16 years agoStore name of source repository in vdb node for later comparison
Marius Mauch [Fri, 29 Jun 2007 08:03:46 +0000 (08:03 -0000)]
Store name of source repository in vdb node for later comparison

svn path=/main/trunk/; revision=7087

16 years agoFix typo.
Zac Medico [Thu, 28 Jun 2007 09:44:48 +0000 (09:44 -0000)]
Fix typo.

svn path=/main/trunk/; revision=7083

16 years agoFor bug #144333, document the new --reinstall=changed-use option.
Zac Medico [Thu, 28 Jun 2007 09:31:37 +0000 (09:31 -0000)]
For bug #144333, document the new --reinstall=changed-use option.

svn path=/main/trunk/; revision=7081

16 years agoRemove unused worldlist variable.
Zac Medico [Thu, 28 Jun 2007 09:06:02 +0000 (09:06 -0000)]
Remove unused worldlist variable.

svn path=/main/trunk/; revision=7078

16 years agoDon't colorize system package when in "world" mode.
Zac Medico [Thu, 28 Jun 2007 09:01:17 +0000 (09:01 -0000)]
Don't colorize system package when in "world" mode.

svn path=/main/trunk/; revision=7076

16 years agoFor bug #142473, add 2 additional color classes for system packages and packages...
Zac Medico [Thu, 28 Jun 2007 08:50:29 +0000 (08:50 -0000)]
For bug #142473, add 2 additional color classes for system packages and packages matched by arguments.

svn path=/main/trunk/; revision=7075

16 years agoFor bug #183431, catch a ParseError caused by a corrupt profile and dump an error...
Zac Medico [Thu, 28 Jun 2007 04:57:05 +0000 (04:57 -0000)]
For bug #183431, catch a ParseError caused by a corrupt profile and dump an error message.  This allows emerge to continue with actions that don't require a valid profile, such as --sync.

svn path=/main/trunk/; revision=7073

16 years agoWhen filling in "nomerge" nodes for --tree display, stop at a node that is an argumen...
Zac Medico [Thu, 28 Jun 2007 02:48:02 +0000 (02:48 -0000)]
When filling in "nomerge" nodes for --tree display, stop at a node that is an argument or a direct member of a set that has been specified as an argument (system or world).

svn path=/main/trunk/; revision=7071

16 years agoFor bug #144333, make the --reinstall option a single choice type.
Zac Medico [Thu, 28 Jun 2007 02:36:53 +0000 (02:36 -0000)]
For bug #144333, make the --reinstall option a single choice type.

svn path=/main/trunk/; revision=7069

16 years agoDiscard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used...
Zac Medico [Thu, 28 Jun 2007 01:48:17 +0000 (01:48 -0000)]
Discard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used and the --tree algorithm does a good job of regenerating them when appropriate.

svn path=/main/trunk/; revision=7067

16 years agoJust use a containment test for matching pprovided args since it works correctly...
Zac Medico [Thu, 28 Jun 2007 01:22:19 +0000 (01:22 -0000)]
Just use a containment test for matching pprovided args since it works correctly and match_to_list() isn't appropriate for this.

svn path=/main/trunk/; revision=7065

16 years agoCache aux_get() metadata in depgraph.create() and use PROVIDE for matching packages...
Zac Medico [Thu, 28 Jun 2007 01:04:36 +0000 (01:04 -0000)]
Cache aux_get() metadata in depgraph.create() and use PROVIDE for matching packages to arguments.

svn path=/main/trunk/; revision=7064

16 years agoImprove tracking of correspondence between arguments and packages in the depgraph.
Zac Medico [Wed, 27 Jun 2007 18:16:42 +0000 (18:16 -0000)]
Improve tracking of correspondence between arguments and packages in the depgraph.

svn path=/main/trunk/; revision=7063

16 years agoInstead of just a list, use a cat/pkg dict for matching packages against args in...
Zac Medico [Wed, 27 Jun 2007 15:15:19 +0000 (15:15 -0000)]
Instead of just a list, use a cat/pkg dict for matching packages against args in the depgraph.

svn path=/main/trunk/; revision=7061

16 years agoFor bug #142473, account for $ROOT when deciding if a package is part of world or...
Zac Medico [Wed, 27 Jun 2007 14:54:49 +0000 (14:54 -0000)]
For bug #142473, account for $ROOT when deciding if a package is part of world or not.

svn path=/main/trunk/; revision=7059

16 years agoFix quoting.
Zac Medico [Wed, 27 Jun 2007 10:11:01 +0000 (10:11 -0000)]
Fix quoting.

svn path=/main/trunk/; revision=7057

16 years agoFormat $EBUILD_OVERLAY_ECLASSES output more like it was before.
Zac Medico [Wed, 27 Jun 2007 09:56:12 +0000 (09:56 -0000)]
Format $EBUILD_OVERLAY_ECLASSES output more like it was before.

svn path=/main/trunk/; revision=7055

16 years agoFor bug #144333, add a --reinstall=changed-use option which behaves similar to how...
Zac Medico [Wed, 27 Jun 2007 04:18:39 +0000 (04:18 -0000)]
For bug #144333, add a --reinstall=changed-use option which behaves similar to how --newuse behaved in portage-2.0.x days.

svn path=/main/trunk/; revision=7052

16 years agoFormat the callstack indentation more like it used to be.
Zac Medico [Wed, 27 Jun 2007 03:21:30 +0000 (03:21 -0000)]
Format the callstack indentation more like it used to be.

svn path=/main/trunk/; revision=7050

16 years agoSend the ebuild die message through eerror and make sure that elog_process() gets...
Zac Medico [Wed, 27 Jun 2007 01:20:56 +0000 (01:20 -0000)]
Send the ebuild die message through eerror and make sure that elog_process() gets called when an ebuild dies.  This makes the elog echo module display the die message last in case other elog messages push the original die message off of the top of the screen.

svn path=/main/trunk/; revision=7047

16 years agoPreserve merge order in elog output.
Zac Medico [Tue, 26 Jun 2007 23:08:44 +0000 (23:08 -0000)]
Preserve merge order in elog output.

svn path=/main/trunk/; revision=7046

16 years agoShort circuit the loop as soon as missing hashes are detected.
Zac Medico [Tue, 26 Jun 2007 22:38:17 +0000 (22:38 -0000)]
Short circuit the loop as soon as missing hashes are detected.

svn path=/main/trunk/; revision=7044

16 years agoShort circuit the loop as soon as missing hashes are detected.
Zac Medico [Tue, 26 Jun 2007 22:18:57 +0000 (22:18 -0000)]
Short circuit the loop as soon as missing hashes are detected.

svn path=/main/trunk/; revision=7042

16 years agoAdd one more size == 0 check to digestgen().
Zac Medico [Tue, 26 Jun 2007 22:16:27 +0000 (22:16 -0000)]
Add one more size == 0 check to digestgen().

svn path=/main/trunk/; revision=7041

16 years agoAdd sanity checks in fetch() and digestgen() to automatically detect and handle inval...
Zac Medico [Tue, 26 Jun 2007 17:48:49 +0000 (17:48 -0000)]
Add sanity checks in fetch() and digestgen() to automatically detect and handle invalid empty distfiles since some users have reported difficulty when trying to create digests.

svn path=/main/trunk/; revision=7039

16 years agoFor bug #183167, explicitly call elog_process() when --buildpkgonly is enabled.
Zac Medico [Mon, 25 Jun 2007 19:41:56 +0000 (19:41 -0000)]
For bug #183167, explicitly call elog_process() when --buildpkgonly is enabled.

svn path=/main/trunk/; revision=7034

16 years agoFor bug #142473, add 4 color classes corresponding to combinations of world/merge...
Zac Medico [Mon, 25 Jun 2007 10:36:59 +0000 (10:36 -0000)]
For bug #142473, add 4 color classes corresponding to combinations of world/merge/nomerge attributes of each package.

svn path=/main/trunk/; revision=7031

16 years agoFix typo.
Zac Medico [Mon, 25 Jun 2007 09:14:44 +0000 (09:14 -0000)]
Fix typo.

svn path=/main/trunk/; revision=7029

16 years agoDon't use urljoin() in binarytree.gettbz2() since it doesn't work correctly wih unrec...
Zac Medico [Mon, 25 Jun 2007 06:21:33 +0000 (06:21 -0000)]
Don't use urljoin() in binarytree.gettbz2() since it doesn't work correctly wih unrecognized protocols like sftp.

svn path=/main/trunk/; revision=7027

16 years agoAllow SystemExit through as usual.
Zac Medico [Mon, 25 Jun 2007 04:49:12 +0000 (04:49 -0000)]
Allow SystemExit through as usual.

svn path=/main/trunk/; revision=7025

16 years agoFix file_get_lib() so it behaves the same way with sftp as it does with other protocols.
Zac Medico [Mon, 25 Jun 2007 04:47:35 +0000 (04:47 -0000)]
Fix file_get_lib() so it behaves the same way with sftp as it does with other protocols.

svn path=/main/trunk/; revision=7024

16 years agoFor bug #175891, add sftp protocol support via the paramiko library.
Zac Medico [Mon, 25 Jun 2007 03:23:17 +0000 (03:23 -0000)]
For bug #175891, add sftp protocol support via the paramiko library.

svn path=/main/trunk/; revision=7023

16 years agoFix typo.
Zac Medico [Mon, 25 Jun 2007 02:54:15 +0000 (02:54 -0000)]
Fix typo.

svn path=/main/trunk/; revision=7019

16 years agoFix resume logic in binarytree.gettbz2().
Zac Medico [Mon, 25 Jun 2007 02:48:41 +0000 (02:48 -0000)]
Fix resume logic in binarytree.gettbz2().

svn path=/main/trunk/; revision=7018

16 years agoFor bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in binarytree.gettbz2().
Zac Medico [Mon, 25 Jun 2007 02:35:55 +0000 (02:35 -0000)]
For bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in binarytree.gettbz2().

svn path=/main/trunk/; revision=7016

16 years agoClean up file_get() to use shlex, varexpand, and spawn.
Zac Medico [Mon, 25 Jun 2007 02:07:11 +0000 (02:07 -0000)]
Clean up file_get() to use shlex, varexpand, and spawn.

svn path=/main/trunk/; revision=7014

16 years agoFix binarytree.isremote() to be consistent with binarytree.gettbz2() logic wrt partia...
Zac Medico [Sun, 24 Jun 2007 23:47:03 +0000 (23:47 -0000)]
Fix binarytree.isremote() to be consistent with binarytree.gettbz2() logic wrt partially downloaded files.

svn path=/main/trunk/; revision=7012

16 years agoRemove unused imports and unnecessary dict.keys() call.
Zac Medico [Sun, 24 Jun 2007 22:44:59 +0000 (22:44 -0000)]
Remove unused imports and unnecessary dict.keys() call.

svn path=/main/trunk/; revision=7011

16 years agoUse a set to optimize containment lookups.
Zac Medico [Sun, 24 Jun 2007 22:05:52 +0000 (22:05 -0000)]
Use a set to optimize containment lookups.

svn path=/main/trunk/; revision=7008

16 years agoClarify RESUMECOMMAND requirements.
Zac Medico [Sun, 24 Jun 2007 21:47:03 +0000 (21:47 -0000)]
Clarify RESUMECOMMAND requirements.

svn path=/main/trunk/; revision=7005

16 years agoUpdate the FETCHCOMMAND docs to indicate that the command should be +written to place...
Zac Medico [Sun, 24 Jun 2007 21:29:39 +0000 (21:29 -0000)]
Update the FETCHCOMMAND docs to indicate that the command should be +written to place the fetched file at ${DISTDIR}/${FILE}.

svn path=/main/trunk/; revision=7004

16 years agoFix broken base_uri handling for old-style binhosts in binarytree.gettbz2().
Zac Medico [Sun, 24 Jun 2007 20:36:52 +0000 (20:36 -0000)]
Fix broken base_uri handling for old-style binhosts in binarytree.gettbz2().

svn path=/main/trunk/; revision=7002

16 years agoFor bug #180706, add sorting and a trailing newline in the rest of the cases where...
Zac Medico [Sun, 24 Jun 2007 18:58:42 +0000 (18:58 -0000)]
For bug #180706, add sorting and a trailing newline in the rest of the cases where the world file is written.

svn path=/main/trunk/; revision=6999

16 years agoFix more typos from r6988.
Zac Medico [Sun, 24 Jun 2007 18:09:01 +0000 (18:09 -0000)]
Fix more typos from r6988.

svn path=/main/trunk/; revision=6996

16 years agoHandle 'Permission denied' errors that can occur if the current user isn't allowed...
Zac Medico [Sun, 24 Jun 2007 09:38:29 +0000 (09:38 -0000)]
Handle 'Permission denied' errors that can occur if the current user isn't allowed to access PRIVATE_PATH.

svn path=/main/trunk/; revision=6990

16 years agoFix typo.
Zac Medico [Sun, 24 Jun 2007 08:47:40 +0000 (08:47 -0000)]
Fix typo.

svn path=/main/trunk/; revision=6989

16 years agoFix column alignment in unmerge output.
Zac Medico [Sun, 24 Jun 2007 07:54:50 +0000 (07:54 -0000)]
Fix column alignment in unmerge output.

svn path=/main/trunk/; revision=6988

16 years agoMake the fix for bug #139600 slightly less icky by grabbing the ACCEPT_KEYWORDS throu...
Zac Medico [Sun, 24 Jun 2007 07:11:46 +0000 (07:11 -0000)]
Make the fix for bug #139600 slightly less icky by grabbing the ACCEPT_KEYWORDS through mysettings.configdict[backupenv] instead of directly through os.environ.

svn path=/main/trunk/; revision=6987

16 years agoAlways unlink the .installed flag prior to merge since portage.movefile() never leave...
Zac Medico [Sun, 24 Jun 2007 06:43:09 +0000 (06:43 -0000)]
Always unlink the .installed flag prior to merge since portage.movefile() never leaves  intact.

svn path=/main/trunk/; revision=6986

16 years agoProvide a default value for PORTAGE_BINPKG_TMPFILE in case the package phase is calle...
Zac Medico [Sun, 24 Jun 2007 06:40:36 +0000 (06:40 -0000)]
Provide a default value for PORTAGE_BINPKG_TMPFILE in case the package phase is called by the ebuild command.

svn path=/main/trunk/; revision=6985

16 years agoFor bug #182964, replace os.rename() with portage.movefile() in cases where the paren...
Zac Medico [Sun, 24 Jun 2007 00:32:05 +0000 (00:32 -0000)]
For bug #182964, replace os.rename() with portage.movefile() in cases where the parent directory might change.

svn path=/main/trunk/; revision=6983

16 years agoFix check_config_instance() weirdness when the ebuild command reloads the portage...
Zac Medico [Sat, 23 Jun 2007 23:03:17 +0000 (23:03 -0000)]
Fix check_config_instance() weirdness when the ebuild command reloads the portage module.

svn path=/main/trunk/; revision=6982

16 years agoget ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values...
Marius Mauch [Sat, 23 Jun 2007 19:36:30 +0000 (19:36 -0000)]
get ACCEPT_KEYWORDS from the env in gvisible() to properly handle negated values (bug #139600)

svn path=/main/trunk/; revision=6981

16 years agoAdd a pointer from FETCHCOMMAND to RESUMECOMMAND (bug #141550)
Marius Mauch [Sat, 23 Jun 2007 19:16:52 +0000 (19:16 -0000)]
Add a pointer from FETCHCOMMAND to RESUMECOMMAND (bug #141550)

svn path=/main/trunk/; revision=6980

16 years agohighlight world packages in --pretend output (bug #142473)
Marius Mauch [Sat, 23 Jun 2007 19:12:36 +0000 (19:12 -0000)]
highlight world packages in --pretend output (bug #142473)

svn path=/main/trunk/; revision=6979

16 years agodont break when the binhost url doesn't end with a slash (bug #144440)
Marius Mauch [Sat, 23 Jun 2007 18:47:55 +0000 (18:47 -0000)]
dont break when the binhost url doesn't end with a slash (bug #144440)

svn path=/main/trunk/; revision=6978

16 years agochange default diff_command for emacs (bug #147558)
Marius Mauch [Sat, 23 Jun 2007 18:16:45 +0000 (18:16 -0000)]
change default diff_command for emacs (bug #147558)

svn path=/main/trunk/; revision=6977

16 years agosort the world file before writing it and ensure that it's terminated by a newline
Marius Mauch [Sat, 23 Jun 2007 16:29:05 +0000 (16:29 -0000)]
sort the world file before writing it and ensure that it's terminated by a newline

svn path=/main/trunk/; revision=6976

16 years agos/!owned/replaced/ in merge output to clarify it
Marius Mauch [Sat, 23 Jun 2007 16:17:49 +0000 (16:17 -0000)]
s/!owned/replaced/ in merge output to clarify it

svn path=/main/trunk/; revision=6975

16 years agosyntax error
Marius Mauch [Sat, 23 Jun 2007 16:11:47 +0000 (16:11 -0000)]
syntax error

svn path=/main/trunk/; revision=6974

16 years agoAllow sync for unpriviledges users if they have write access to $PORTDIR
Marius Mauch [Sat, 23 Jun 2007 15:50:35 +0000 (15:50 -0000)]
Allow sync for unpriviledges users if they have write access to $PORTDIR

svn path=/main/trunk/; revision=6973

16 years agoadd hashlib support for checksum verification, refactor checksum functions to not...
Marius Mauch [Sat, 23 Jun 2007 13:12:07 +0000 (13:12 -0000)]
add hashlib support for checksum verification, refactor checksum functions to not look like a complete mess

svn path=/main/trunk/; revision=6972

16 years agoRevert r6967 since shutil.move() is broken internally.
Zac Medico [Sat, 23 Jun 2007 13:09:30 +0000 (13:09 -0000)]
Revert r6967 since shutil.move() is broken internally.

svn path=/main/trunk/; revision=6970

16 years agos/OSError/EnvironmentError/ since shutil.move() generally raises an IOError.
Zac Medico [Sat, 23 Jun 2007 11:09:45 +0000 (11:09 -0000)]
s/OSError/EnvironmentError/ since shutil.move() generally raises an IOError.

svn path=/main/trunk/; revision=6969

16 years agoFor bug #182964, replace os.rename() with shutil.move() in order to handle EXDEV...
Zac Medico [Sat, 23 Jun 2007 10:58:09 +0000 (10:58 -0000)]
For bug #182964, replace os.rename() with shutil.move() in order to handle EXDEV errors that are triggered by layered filesystems.

svn path=/main/trunk/; revision=6967

16 years agoRemove redundant 'Usage: ' from the usage message.
Zac Medico [Sat, 23 Jun 2007 03:58:10 +0000 (03:58 -0000)]
Remove redundant 'Usage: ' from the usage message.

svn path=/main/trunk/; revision=6964

16 years agoAdd a logrotate config for the save_summary elog module since it's enabled by default...
Zac Medico [Sat, 23 Jun 2007 00:21:36 +0000 (00:21 -0000)]
Add a logrotate config for the save_summary elog module since it's enabled by default now.

svn path=/main/trunk/; revision=6962

16 years agoShow which $ROOT a package was merged to when $ROOT is not /.
Zac Medico [Fri, 22 Jun 2007 23:42:22 +0000 (23:42 -0000)]
Show which $ROOT a package was merged to when $ROOT is not /.

svn path=/main/trunk/; revision=6959

16 years agoRemove confcache docs.
Zac Medico [Fri, 22 Jun 2007 23:17:08 +0000 (23:17 -0000)]
Remove confcache docs.

svn path=/main/trunk/; revision=6956

16 years agoMake elog finalize() handling safe for PORTAGE_CONFIGROOT.
Zac Medico [Fri, 22 Jun 2007 23:11:38 +0000 (23:11 -0000)]
Make elog finalize() handling safe for PORTAGE_CONFIGROOT.

svn path=/main/trunk/; revision=6955

16 years agoDocument RESTRICT=bindist and add a note about allowance for conditional syntax.
Zac Medico [Fri, 22 Jun 2007 21:55:05 +0000 (21:55 -0000)]
Document RESTRICT=bindist and add a note about allowance for conditional syntax.

svn path=/main/trunk/; revision=6954

16 years agoDump mod_echo elog output inside post_emerge(), just before the other notifications...
Zac Medico [Fri, 22 Jun 2007 13:43:46 +0000 (13:43 -0000)]
Dump mod_echo elog output inside post_emerge(), just before the other notifications that happen at exit.

svn path=/main/trunk/; revision=6953

16 years agoAdd a note about potential for config mixups in elog finalizers.
Zac Medico [Fri, 22 Jun 2007 12:57:41 +0000 (12:57 -0000)]
Add a note about potential for config mixups in elog finalizers.

svn path=/main/trunk/; revision=6952

16 years agoUpdate 2.1.3 news for elog stuff.
Zac Medico [Fri, 22 Jun 2007 11:00:39 +0000 (11:00 -0000)]
Update 2.1.3 news for elog stuff.

svn path=/main/trunk/; revision=6950

16 years agoFor bug #182428, make quickpkg exclude config files that are protected by CONFIG_PROT...
Zac Medico [Fri, 22 Jun 2007 08:47:02 +0000 (08:47 -0000)]
For bug #182428, make quickpkg exclude config files that are protected by CONFIG_PROTECT.  Add a --include-config option that includes all config files and a --include-unmodified-config that includes config files that have not been modified since installation (matching md5sum).

svn path=/main/trunk/; revision=6945

16 years agoMake quickpkg print a warning if "bindist" is in RESTRICT.
Zac Medico [Fri, 22 Jun 2007 06:13:46 +0000 (06:13 -0000)]
Make quickpkg print a warning if "bindist" is in RESTRICT.

svn path=/main/trunk/; revision=6937

16 years agocache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_
Mike Frysinger [Thu, 21 Jun 2007 23:42:52 +0000 (23:42 -0000)]
cache the result of --suffix to reduce testing overhead as suggested by Mr_Bones_

svn path=/main/trunk/; revision=6922

16 years agoClean up config.__getitem__(), get() and setdefault() implementions.
Zac Medico [Thu, 21 Jun 2007 21:37:25 +0000 (21:37 -0000)]
Clean up config.__getitem__(), get() and setdefault() implementions.

svn path=/main/trunk/; revision=6920

16 years agoSimplify the implementation of config.__iter__ and also implement iterkeys().
Zac Medico [Thu, 21 Jun 2007 21:14:56 +0000 (21:14 -0000)]
Simplify the implementation of config.__iter__ and also implement iterkeys().

svn path=/main/trunk/; revision=6919

16 years agoImplement iterkeys on top of __iter__ instead of vice versa. Thanks to Brian Harring...
Zac Medico [Thu, 21 Jun 2007 21:10:00 +0000 (21:10 -0000)]
Implement iterkeys on top of __iter__ instead of vice versa.  Thanks to Brian Harring for the suggestion.

svn path=/main/trunk/; revision=6918

16 years agoAutodetect if sandbox is active in order to prevent recursive sandbox invocation...
Zac Medico [Thu, 21 Jun 2007 20:36:22 +0000 (20:36 -0000)]
Autodetect if sandbox is active in order to prevent recursive sandbox invocation.  Thanks to Brian Harring for the suggestion.

svn path=/main/trunk/; revision=6917

16 years agoImplement config.has_key() on top of __contains__ instead of vice versa.
Zac Medico [Thu, 21 Jun 2007 20:15:10 +0000 (20:15 -0000)]
Implement config.has_key() on top of __contains__ instead of vice versa.

svn path=/main/trunk/; revision=6916

16 years agoFix the test so that it can run inside a sandbox.
Zac Medico [Thu, 21 Jun 2007 12:16:49 +0000 (12:16 -0000)]
Fix the test so that it can run inside a sandbox.

svn path=/main/trunk/; revision=6915

16 years agoImplement UserConfigKlass.__iter__() so that tests pass.
Zac Medico [Thu, 21 Jun 2007 12:12:01 +0000 (12:12 -0000)]
Implement UserConfigKlass.__iter__() so that tests pass.

svn path=/main/trunk/; revision=6914

16 years agoRemove more unnecessary list generation.
Zac Medico [Thu, 21 Jun 2007 12:01:43 +0000 (12:01 -0000)]
Remove more unnecessary list generation.

svn path=/main/trunk/; revision=6913

16 years agoRemove more unnecessary list generation.
Zac Medico [Thu, 21 Jun 2007 11:40:51 +0000 (11:40 -0000)]
Remove more unnecessary list generation.

svn path=/main/trunk/; revision=6912

16 years agoRemove lots of unnecessary list generation via dict.keys().
Zac Medico [Thu, 21 Jun 2007 10:57:55 +0000 (10:57 -0000)]
Remove lots of unnecessary list generation via dict.keys().

svn path=/main/trunk/; revision=6911

16 years agoDon't generate a list of keys for a containment test.
Zac Medico [Thu, 21 Jun 2007 06:25:32 +0000 (06:25 -0000)]
Don't generate a list of keys for a containment test.

svn path=/main/trunk/; revision=6909

16 years agoDon't call digraph.hasallzeros() in --resume mode because the digraph isn't currently...
Zac Medico [Thu, 21 Jun 2007 05:59:57 +0000 (05:59 -0000)]
Don't call digraph.hasallzeros() in --resume mode because the digraph isn't currently populated in that case.

svn path=/main/trunk/; revision=6907

16 years agoMake IUSE handling safe for IUSE defaults.
Zac Medico [Thu, 21 Jun 2007 03:42:16 +0000 (03:42 -0000)]
Make IUSE handling safe for IUSE defaults.

svn path=/main/trunk/; revision=6897