portage.git
18 years agoUse the FetchlistDict to simplify code.
Zac Medico [Fri, 28 Jul 2006 18:57:44 +0000 (18:57 -0000)]
Use the FetchlistDict to simplify code.

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

18 years agoPass in the path to the base of the current tree to ensure that the correct fetchlist...
Zac Medico [Fri, 28 Jul 2006 17:46:53 +0000 (17:46 -0000)]
Pass in the path to the base of the current tree to ensure that the correct fetchlist is used when there are overlays present.

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

18 years agoAdd PKG_CONFIG_PATH to env_update incrementals for bug #105384.
Zac Medico [Fri, 28 Jul 2006 07:37:42 +0000 (07:37 -0000)]
Add PKG_CONFIG_PATH to env_update incrementals for bug #105384.

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

18 years agoAllow a digest to be created before any distfiles have been fetched for bug #141843.
Zac Medico [Fri, 28 Jul 2006 06:32:37 +0000 (06:32 -0000)]
Allow a digest to be created before any distfiles have been fetched for bug #141843.

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

18 years agoAdd a --force option for `ebuild digest` so that the user doesn't have to manually...
Zac Medico [Fri, 28 Jul 2006 04:58:45 +0000 (04:58 -0000)]
Add a --force option for `ebuild digest` so that the user doesn't have to manually remove the Manifest and files/digest-* files when upstream changes the identity of distfiles.  See bug #141843.

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

18 years agoSimplify permissions adjustment after a file is fetched.
Zac Medico [Thu, 27 Jul 2006 22:07:49 +0000 (22:07 -0000)]
Simplify permissions adjustment after a file is fetched.

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

18 years agoMove the filesystem mirrors code into the main fetch loop.
Zac Medico [Thu, 27 Jul 2006 21:30:29 +0000 (21:30 -0000)]
Move the filesystem mirrors code into the main fetch loop.

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

18 years agoMove permissions adjustment of previously fetched files into the main fetch loop.
Zac Medico [Thu, 27 Jul 2006 20:20:28 +0000 (20:20 -0000)]
Move permissions adjustment of previously fetched files into the main fetch loop.

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

18 years agoFix ENOENT exception handler so that it only wraps the relevant stat call.
Zac Medico [Thu, 27 Jul 2006 19:11:21 +0000 (19:11 -0000)]
Fix ENOENT exception handler so that it only wraps the relevant stat call.

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

18 years agoHide a password if a uri contains one (a custom local mirror, for example). Thanks...
Zac Medico [Thu, 27 Jul 2006 08:36:23 +0000 (08:36 -0000)]
Hide a password if a uri contains one (a custom local mirror, for example).  Thanks to nelchael for the patch.

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

18 years agoSimplify fetch failure logic.
Zac Medico [Thu, 27 Jul 2006 08:22:40 +0000 (08:22 -0000)]
Simplify fetch failure logic.

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

18 years agoEnsure that that fetch restriction message is only show once in --pretend mode.
Zac Medico [Thu, 27 Jul 2006 08:12:52 +0000 (08:12 -0000)]
Ensure that that fetch restriction message is only show once in --pretend mode.

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

18 years agoAllow fetch restricted files to be fetched from custom local mirrors as per bug ...
Zac Medico [Thu, 27 Jul 2006 08:01:56 +0000 (08:01 -0000)]
Allow fetch restricted files to be fetched from custom local mirrors as per bug #37455.  This patch additionally allows a mirror:// uri to override fetch restriction, but only for the specified mirror (or a custom local mirror).

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

18 years agoMove the initial check of previously fetched files out of the locations loop so that...
Zac Medico [Thu, 27 Jul 2006 06:20:11 +0000 (06:20 -0000)]
Move the initial check of previously fetched files out of the locations loop so that that the same code path can be used (patch to follow) when fetch is restricted and there are no custom local mirrors.  See bug #37455.

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

18 years agoFix unsafe deletion of a dictionary item during iteration.
Zac Medico [Wed, 26 Jul 2006 22:26:55 +0000 (22:26 -0000)]
Fix unsafe deletion of a dictionary item during iteration.

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

18 years agoWhen necessary, always print a list of missing atoms even if --verbose is not enabled...
Zac Medico [Tue, 25 Jul 2006 05:42:05 +0000 (05:42 -0000)]
When necessary, always print a list of missing atoms even if --verbose is not enabled.  Thanks to Caster <caster@matfyz.cz> for this patch from bug #141643.

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

18 years agoMove the self dependency check from digraph.addnode() to depgraph.create() since...
Zac Medico [Tue, 25 Jul 2006 04:57:38 +0000 (04:57 -0000)]
Move the self dependency check from digraph.addnode() to depgraph.create() since that's the only place it's currently needed.  This patch should  not affect emerge behavior.

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

18 years agoAdd more dependencies to the digraph in order to help prevent strange merge orders...
Zac Medico [Tue, 25 Jul 2006 03:18:26 +0000 (03:18 -0000)]
Add more dependencies to the digraph in order to help prevent strange merge orders for bug #126748.

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

18 years agos/difference/symmetric_difference/ for the last two commits.
Zac Medico [Mon, 24 Jul 2006 16:05:20 +0000 (16:05 -0000)]
s/difference/symmetric_difference/ for the last two commits.

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

18 years agoFor binary packages, trigger a rebuild with --newuse when IUSE has changed for bug...
Zac Medico [Mon, 24 Jul 2006 15:48:25 +0000 (15:48 -0000)]
For binary packages, trigger a rebuild with --newuse when IUSE has changed for bug #116955.

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

18 years agoTrigger a rebuild with --newuse when IUSE has changed for bug #116955.
Zac Medico [Mon, 24 Jul 2006 15:25:37 +0000 (15:25 -0000)]
Trigger a rebuild with --newuse when IUSE has changed for bug #116955.

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

18 years agoSimplify depgraph.select_dep() logic by using a list of matched packages (instead...
Zac Medico [Sun, 23 Jul 2006 09:11:24 +0000 (09:11 -0000)]
Simplify depgraph.select_dep() logic by using a list of matched packages (instead of separate variables for ebuild and binary packages).

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

18 years agoReturn tuples instead of lists from getboth functions and methods.
Zac Medico [Sun, 23 Jul 2006 00:37:28 +0000 (00:37 -0000)]
Return tuples instead of lists from getboth functions and methods.

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

18 years agoReturn a tuple from searchindex instead of a list.
Zac Medico [Sun, 23 Jul 2006 00:31:32 +0000 (00:31 -0000)]
Return a tuple from searchindex instead of a list.

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

18 years agoMake xsplit() return False on failure and True on success for bug #141445.
Zac Medico [Sat, 22 Jul 2006 23:37:23 +0000 (23:37 -0000)]
Make xsplit() return False on failure and True on success for bug #141445.

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

18 years agoMove best_match_to_list, match_from_list, and match_to_list from the core portage...
Zac Medico [Sat, 22 Jul 2006 11:39:24 +0000 (11:39 -0000)]
Move best_match_to_list, match_from_list, and match_to_list from the core portage module to portage_dep.

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

18 years agoMove portage.best() to portage_versions.
Zac Medico [Sat, 22 Jul 2006 11:19:17 +0000 (11:19 -0000)]
Move portage.best() to portage_versions.

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

18 years agoRemove unused portage.match_from_list_original() function.
Zac Medico [Sat, 22 Jul 2006 11:12:36 +0000 (11:12 -0000)]
Remove unused portage.match_from_list_original() function.

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

18 years agoUse portage.best() to simplify package comparison.
Zac Medico [Sat, 22 Jul 2006 11:08:22 +0000 (11:08 -0000)]
Use portage.best() to simplify package comparison.

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

18 years agoJust add the providers to the protected set without bothering to check if they're...
Zac Medico [Sat, 22 Jul 2006 06:54:00 +0000 (06:54 -0000)]
Just add the providers to the protected set without bothering to check if they're in the vdb.

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

18 years agoMake depclean account for old-style virtuals so that it doesn't remove the providers.
Zac Medico [Sat, 22 Jul 2006 00:33:15 +0000 (00:33 -0000)]
Make depclean account for old-style virtuals so that it doesn't remove the providers.

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

18 years agoMake sure that PORTAGE_BUILDDIR exists before attempting to lock it. Depending on...
Zac Medico [Fri, 21 Jul 2006 22:31:43 +0000 (22:31 -0000)]
Make sure that PORTAGE_BUILDDIR exists before attempting to lock it. Depending on the phase, either BUILD_PREFIX or PKG_TMPDIR could be the parent, so we simply use PORTAGE_BUILDDIR to cover both cases.

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

18 years agoCollapse whitespace in aux_get calls for remote binpkg metadata. See bug #141279.
Zac Medico [Fri, 21 Jul 2006 20:28:59 +0000 (20:28 -0000)]
Collapse whitespace in aux_get calls for remote binpkg metadata.  See bug #141279.

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

18 years agoIgnore hidden directories and files when updating config files.
Zac Medico [Fri, 21 Jul 2006 19:45:45 +0000 (19:45 -0000)]
Ignore hidden directories and files when updating config files.

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

18 years agoAdd a link for "Setting up your own local rsync mirror" as suggested by jkt.
Zac Medico [Fri, 21 Jul 2006 18:36:42 +0000 (18:36 -0000)]
Add a link for "Setting up your own local rsync mirror" as suggested by jkt.

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

18 years agoMove dep_transform from the portage_dep module to portage_update.
Zac Medico [Fri, 21 Jul 2006 08:41:13 +0000 (08:41 -0000)]
Move dep_transform from the portage_dep module to portage_update.

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

18 years agoMove update_config_files from the core portage module to portage_update.
Zac Medico [Fri, 21 Jul 2006 07:19:10 +0000 (07:19 -0000)]
Move update_config_files from the core portage module to portage_update.

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

18 years agoDo the portage_checksum import in local scope because of circular dependency.
Zac Medico [Fri, 21 Jul 2006 07:09:28 +0000 (07:09 -0000)]
Do the portage_checksum import in local scope because of circular dependency.

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

18 years agoMove new_protect_filename from the core portage module to portage_util.
Zac Medico [Fri, 21 Jul 2006 06:25:16 +0000 (06:25 -0000)]
Move new_protect_filename from the core portage module to portage_util.

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

18 years agoMove parse_updates from the core portage module to portage_update.
Zac Medico [Fri, 21 Jul 2006 05:59:27 +0000 (05:59 -0000)]
Move parse_updates from the core portage module to portage_update.

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

18 years agoMove isjustname, isspecific, dep_getkey, and dep_transform from the core portage...
Zac Medico [Fri, 21 Jul 2006 05:38:50 +0000 (05:38 -0000)]
Move isjustname, isspecific, dep_getkey, and dep_transform from the core portage module to portage_dep.

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

18 years agoRemove grabdict_package and grabfile_package from the core portage module since the...
Zac Medico [Fri, 21 Jul 2006 05:13:41 +0000 (05:13 -0000)]
Remove grabdict_package and grabfile_package from the core portage module since the copies in portage_util can now work by importing isvalidatom from portage_dep.

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

18 years agoMove dep_getcpv, get_operator, and isvalidatom from the core portage module to portag...
Zac Medico [Fri, 21 Jul 2006 05:06:43 +0000 (05:06 -0000)]
Move dep_getcpv, get_operator, and isvalidatom from the core portage module to portage_dep.

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

18 years agoBlacklist some variables in the config constructor so that they can't interfere with...
Zac Medico [Fri, 21 Jul 2006 03:41:27 +0000 (03:41 -0000)]
Blacklist some variables in the config constructor so that they can't interfere with portage internals.

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

18 years agoFix broken if/elif statement.
Zac Medico [Thu, 20 Jul 2006 21:47:47 +0000 (21:47 -0000)]
Fix broken if/elif statement.

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

18 years agoFix a broken reference to portage.portdb.
Zac Medico [Thu, 20 Jul 2006 20:51:23 +0000 (20:51 -0000)]
Fix a broken reference to portage.portdb.

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

18 years agoRemove redundant initialization of directories for cloned config instances.
Zac Medico [Thu, 20 Jul 2006 09:17:29 +0000 (09:17 -0000)]
Remove redundant initialization of directories for cloned config instances.

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

18 years agoMove initialization of config.uvlist into the regenerate() method since that's the...
Zac Medico [Thu, 20 Jul 2006 09:08:42 +0000 (09:08 -0000)]
Move initialization of config.uvlist into the regenerate() method since that's the only place it's used.

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

18 years agoMove initialization of self.lookuplist to a more logical location for cloned config...
Zac Medico [Thu, 20 Jul 2006 08:53:46 +0000 (08:53 -0000)]
Move initialization of self.lookuplist to a more logical location for cloned config instances.

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

18 years agoRemove redundant initialization of self.features (and self.regenerate() call) for...
Zac Medico [Thu, 20 Jul 2006 08:12:02 +0000 (08:12 -0000)]
Remove redundant initialization of self.features (and self.regenerate() call) for cloned config instances.

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

18 years agonote that there is the possibility to have a local rsync server; bug 141110
Simon Stelling [Thu, 20 Jul 2006 07:43:17 +0000 (07:43 -0000)]
note that there is the possibility to have a local rsync server; bug 141110

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

18 years agoRemove redundant initialization of PORTAGE_BIN_PATH and PORTAGE_PYM_PATH for cloned...
Zac Medico [Thu, 20 Jul 2006 07:32:46 +0000 (07:32 -0000)]
Remove redundant initialization of PORTAGE_BIN_PATH and PORTAGE_PYM_PATH for cloned config instances.

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

18 years agoRemove redundant initialization of CBUILD for cloned config instances.
Zac Medico [Thu, 20 Jul 2006 07:26:15 +0000 (07:26 -0000)]
Remove redundant initialization of CBUILD for cloned config instances.

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

18 years agoRemove redundant definition of catsplit() which is already imported from portage_vers...
Zac Medico [Thu, 20 Jul 2006 06:46:59 +0000 (06:46 -0000)]
Remove redundant definition of catsplit() which is already imported from portage_versions.  Thanks to ChrisWhite for reporting.

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

18 years agoRemove redundant copying of self.lookuplist and self.uvlist for cloned config instances.
Zac Medico [Thu, 20 Jul 2006 06:07:01 +0000 (06:07 -0000)]
Remove redundant copying of self.lookuplist and self.uvlist for cloned config instances.

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

18 years agoWhen cloning a config instance, use the copied env instead of grabbing a new copy...
Zac Medico [Thu, 20 Jul 2006 05:59:34 +0000 (05:59 -0000)]
When cloning a config instance, use the copied env instead of grabbing a new copy of os.environ.

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

18 years agoRemove redundant processing of ROOT and PORTAGE_CONFIGROOT for cloned config instances.
Zac Medico [Thu, 20 Jul 2006 05:51:55 +0000 (05:51 -0000)]
Remove redundant processing of ROOT and PORTAGE_CONFIGROOT for cloned config instances.

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

18 years agoRemove redundant (and possibly problem causing) copying of self.backupenv for cloned...
Zac Medico [Thu, 20 Jul 2006 05:21:46 +0000 (05:21 -0000)]
Remove redundant (and possibly problem causing) copying of self.backupenv for cloned config instances.

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

18 years agoRemove redundant processing of PORTDIR_OVERLAY for cloned config instances.
Zac Medico [Thu, 20 Jul 2006 04:40:32 +0000 (04:40 -0000)]
Remove redundant processing of PORTDIR_OVERLAY for cloned config instances.

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

18 years agoRemove redundant initialization of self.depcachedir for cloned config instances.
Zac Medico [Thu, 20 Jul 2006 04:25:32 +0000 (04:25 -0000)]
Remove redundant initialization of self.depcachedir for cloned config instances.

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

18 years agoWhen a config instance is cloned, don't initialize PORTAGE_GID since it would have...
Zac Medico [Thu, 20 Jul 2006 04:14:53 +0000 (04:14 -0000)]
When a config instance is cloned, don't initialize PORTAGE_GID since it would have been done already for the instance being cloned.

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

18 years agoWhen a config instance is cloned, don't set default USE_ORDER since it would have...
Zac Medico [Thu, 20 Jul 2006 04:06:46 +0000 (04:06 -0000)]
When a config instance is cloned, don't set default USE_ORDER since it would have been done already for the instance being cloned.

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

18 years agoHandle a potential ValueError when parsing the number of terminal columns.
Zac Medico [Thu, 20 Jul 2006 01:43:00 +0000 (01:43 -0000)]
Handle a potential ValueError when parsing the number of terminal columns.

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

18 years agoMake user_special() return 1 if none of the patterns in /etc/etc-update.special are...
Zac Medico [Wed, 19 Jul 2006 21:12:04 +0000 (21:12 -0000)]
Make user_special() return 1 if none of the patterns in /etc/etc-update.special are matched.

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

18 years agoMake PORTAGE_TMPDIR cannonical for sandbox before it's exported to the ebuild environ...
Zac Medico [Wed, 19 Jul 2006 19:56:30 +0000 (19:56 -0000)]
Make PORTAGE_TMPDIR cannonical for sandbox before it's exported to the ebuild environment for bug #140436.

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

18 years agoadd support to prevent auto-processing for user-special files that match a pattern...
Marius Mauch [Wed, 19 Jul 2006 11:41:41 +0000 (11:41 -0000)]
add support to prevent auto-processing for user-special files that match a pattern in /etc/etc-update.special

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

18 years agouse eval to allow shell expansion in config file
Marius Mauch [Wed, 19 Jul 2006 11:10:31 +0000 (11:10 -0000)]
use eval to allow shell expansion in config file

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

18 years agoOnly call portageq once
Marius Mauch [Wed, 19 Jul 2006 11:00:28 +0000 (11:00 -0000)]
Only call portageq once

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

18 years agoRemove redundant checksum output.
Zac Medico [Wed, 19 Jul 2006 10:40:50 +0000 (10:40 -0000)]
Remove redundant checksum output.

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

18 years agoupdate mtime after replacing config files
Marius Mauch [Wed, 19 Jul 2006 10:36:14 +0000 (10:36 -0000)]
update mtime after replacing config files

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

18 years agoadd notice about remaining updates on exit
Marius Mauch [Wed, 19 Jul 2006 10:26:20 +0000 (10:26 -0000)]
add notice about remaining updates on exit

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

18 years agoadd option to discard config updates
Marius Mauch [Wed, 19 Jul 2006 10:21:32 +0000 (10:21 -0000)]
add option to discard config updates

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

18 years agoShow full path when auto-merging
Marius Mauch [Wed, 19 Jul 2006 09:57:31 +0000 (09:57 -0000)]
Show full path when auto-merging

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

18 years agoensure we have the necessary access
Marius Mauch [Wed, 19 Jul 2006 09:55:34 +0000 (09:55 -0000)]
ensure we have the necessary access

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

18 years agoUse the python implemention of ebegin/eend to visually enhance the ouput for checksums.
Zac Medico [Wed, 19 Jul 2006 05:56:28 +0000 (05:56 -0000)]
Use the python implemention of ebegin/eend to visually enhance the ouput for checksums.

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

18 years agoAdd an EOutput class that provides a python implementation of the familar e* funtions...
Zac Medico [Wed, 19 Jul 2006 05:54:33 +0000 (05:54 -0000)]
Add an EOutput class that provides a python implementation of the familar e* funtions from /sbin/functions.sh.  Thanks to Alex Tarkovsky <alextarkovsky@gmail.com> for this patch.

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

18 years agoDon't try to create a log file unless PORTAGE_BUILDDIR exists.
Zac Medico [Wed, 19 Jul 2006 05:51:08 +0000 (05:51 -0000)]
Don't try to create a log file unless PORTAGE_BUILDDIR exists.

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

18 years agoUse the portage gid for BUILD_PREFIX.
Zac Medico [Wed, 19 Jul 2006 01:13:52 +0000 (01:13 -0000)]
Use the portage gid for BUILD_PREFIX.

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

18 years agoEnsure that BUILD_PREFIX has been created before attempting to lock PORTAGE_BUILDDIR.
Zac Medico [Wed, 19 Jul 2006 01:11:57 +0000 (01:11 -0000)]
Ensure that BUILD_PREFIX has been created before attempting to lock PORTAGE_BUILDDIR.

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

18 years agoDo file locking on PORTAGE_BUILDDIR and use a finally block to ensure that the lock...
Zac Medico [Tue, 18 Jul 2006 23:40:59 +0000 (23:40 -0000)]
Do file locking on PORTAGE_BUILDDIR and use a finally block to ensure that the lock is properly released.  This fixes bug #140971.

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

18 years agoEnsure a sane umask for repoman.
Zac Medico [Tue, 18 Jul 2006 21:50:02 +0000 (21:50 -0000)]
Ensure a sane umask for repoman.

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

18 years agofix up doman and prepman so that they work with the new .keep files in rev 3917
Simon Stelling [Tue, 18 Jul 2006 18:21:52 +0000 (18:21 -0000)]
fix up doman and prepman so that they work with the new .keep files in rev 3917

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

18 years agomake .keep files package-dependant to fix bug 102436
Simon Stelling [Tue, 18 Jul 2006 17:09:23 +0000 (17:09 -0000)]
make .keep files package-dependant to fix bug 102436

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

18 years agoUse a set instead of a list for better efficiency.
Zac Medico [Tue, 18 Jul 2006 03:59:26 +0000 (03:59 -0000)]
Use a set instead of a list for better efficiency.

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

18 years agoSimplify generation of the cleanlist for depclean.
Zac Medico [Tue, 18 Jul 2006 03:52:13 +0000 (03:52 -0000)]
Simplify generation of the cleanlist for depclean.

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

18 years agoFix depclean so that it cleans unneeded slots (unless they are exempted by the system...
Zac Medico [Mon, 17 Jul 2006 23:57:40 +0000 (23:57 -0000)]
Fix depclean so that it cleans unneeded slots (unless they are exempted by the system or world sets).  See bug #140591.

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

18 years agoAdd a docstring with epytext markup to portage_versions.pkgcmp(). Thanks to chriswhi...
Zac Medico [Mon, 17 Jul 2006 19:14:02 +0000 (19:14 -0000)]
Add a docstring with epytext markup to portage_versions.pkgcmp().  Thanks to chriswhite for this patch.

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

18 years agoEnable repoman to work with portage.init_legacy_globals() disabled.
Zac Medico [Mon, 17 Jul 2006 18:48:51 +0000 (18:48 -0000)]
Enable repoman to work with portage.init_legacy_globals() disabled.

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

18 years agoRemove redundant variable definitions.
Zac Medico [Mon, 17 Jul 2006 17:49:16 +0000 (17:49 -0000)]
Remove redundant variable definitions.

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

18 years agoFix categories and arch.list handling for repoman with overlays so that /etc/portage...
Zac Medico [Mon, 17 Jul 2006 10:34:28 +0000 (10:34 -0000)]
Fix categories and arch.list handling for repoman with overlays so that /etc/portage is not used.

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

18 years agoCollapse two repoman PORTAGE_CALLER conditionals into one.
Zac Medico [Mon, 17 Jul 2006 09:57:33 +0000 (09:57 -0000)]
Collapse two repoman PORTAGE_CALLER conditionals into one.

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

18 years agoAdd ipv6 --sync support for bug #37124. Thanks to Bernhard Schmidt <berni@birkenwald...
Zac Medico [Sun, 16 Jul 2006 22:20:23 +0000 (22:20 -0000)]
Add ipv6 --sync support for bug #37124.  Thanks to Bernhard Schmidt <berni@birkenwald.de> for the initial patch.

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

18 years agoFix broken --usepkg masking logic for bug #140694.
Zac Medico [Sun, 16 Jul 2006 20:47:53 +0000 (20:47 -0000)]
Fix broken --usepkg masking logic for bug #140694.

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

18 years agoMove the ConfigProtect class to the portage_util module.
Zac Medico [Sun, 16 Jul 2006 02:36:40 +0000 (02:36 -0000)]
Move the ConfigProtect class to the portage_util module.

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

18 years agos/config_protect/ConfigProtect/ for the class name.
Zac Medico [Sun, 16 Jul 2006 01:28:22 +0000 (01:28 -0000)]
s/config_protect/ConfigProtect/ for the class name.

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

18 years agoAdd a new portageq metadata function that wraps dbapi.aux_get() so that things like...
Zac Medico [Sat, 15 Jul 2006 19:46:43 +0000 (19:46 -0000)]
Add a new portageq metadata function that wraps dbapi.aux_get() so that things like built_with_use in eutils.eclass can retrieve metadata in manner that is independent of the installed package database implementation.

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

18 years agoRemove the portage_file module for bug #133591.
Zac Medico [Sat, 15 Jul 2006 19:09:11 +0000 (19:09 -0000)]
Remove the portage_file module for bug #133591.

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

18 years agoMove normalize_path into portage_util.
Zac Medico [Sat, 15 Jul 2006 19:03:39 +0000 (19:03 -0000)]
Move normalize_path into portage_util.

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

18 years agoUse normalize_path instead of using normpath directly.
Zac Medico [Sat, 15 Jul 2006 18:54:56 +0000 (18:54 -0000)]
Use normalize_path instead of using normpath directly.

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

18 years agoSimplify portage.normalize_path() logic.
Zac Medico [Sat, 15 Jul 2006 18:34:08 +0000 (18:34 -0000)]
Simplify portage.normalize_path() logic.

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