portage.git
14 years agoIf _implicit_libc_deps() finds both a new-style virtual and an old-style
Zac Medico [Tue, 9 Mar 2010 05:04:22 +0000 (05:04 -0000)]
If _implicit_libc_deps() finds both a new-style virtual and an old-style
PROVIDE virtual, use the new-style virtual. (trunk r15789)

svn path=/main/branches/2.1.7/; revision=15791

14 years agoAdd support for displaying profile listed in make.profile/parent when
Zac Medico [Tue, 9 Mar 2010 04:31:13 +0000 (04:31 -0000)]
Add support for displaying profile listed in make.profile/parent when
make.profile is not a symlink. The first parent with a path inside
$PORTDIR is displayed. (trunk r15787)

svn path=/main/branches/2.1.7/; revision=15788

14 years agoFix typo in parenthesis from previous commit. (trunk r15784)
Zac Medico [Tue, 9 Mar 2010 03:59:01 +0000 (03:59 -0000)]
Fix typo in parenthesis from previous commit. (trunk r15784)

svn path=/main/branches/2.1.7/; revision=15786

14 years agoBug #303567 - Create implicit dependencies on libc, in order to ensure that
Zac Medico [Tue, 9 Mar 2010 03:58:53 +0000 (03:58 -0000)]
Bug #303567 - Create implicit dependencies on libc, in order to ensure that
libc is installed as early as possible. (trunk r15783)

svn path=/main/branches/2.1.7/; revision=15785

14 years agoWhen portage upgrades or downgrades itself, preload lazily referenced portage
Zac Medico [Tue, 9 Mar 2010 02:42:40 +0000 (02:42 -0000)]
When portage upgrades or downgrades itself, preload lazily referenced portage
submodules into memory so that imports won't fail later. (trunk r15778)

svn path=/main/branches/2.1.7/; revision=15782

14 years agoMove --update from the actions to the options section. (trunk r15777)
Zac Medico [Tue, 9 Mar 2010 02:42:23 +0000 (02:42 -0000)]
Move --update from the actions to the options section. (trunk r15777)

svn path=/main/branches/2.1.7/; revision=15781

14 years agoClean up/sync docs for emerge --sync, and add a note about PORTAGE_SYNC_STALE.
Zac Medico [Tue, 9 Mar 2010 02:42:13 +0000 (02:42 -0000)]
Clean up/sync docs for emerge --sync, and add a note about PORTAGE_SYNC_STALE.
(trunk r15776)

svn path=/main/branches/2.1.7/; revision=15780

14 years agoEscape hyphens. (trunk r15775)
Zac Medico [Tue, 9 Mar 2010 02:42:01 +0000 (02:42 -0000)]
Escape hyphens. (trunk r15775)

svn path=/main/branches/2.1.7/; revision=15779

14 years agoAdd copyright header. (trunk r15771) v2.1.8.2
Zac Medico [Mon, 8 Mar 2010 09:40:46 +0000 (09:40 -0000)]
Add copyright header. (trunk r15771)

svn path=/main/branches/2.1.7/; revision=15772

14 years agoDisable PORTAGE_SYNC_STALE warnings when --usepkgonly is enabled. (trunk r15769)
Zac Medico [Mon, 8 Mar 2010 09:10:56 +0000 (09:10 -0000)]
Disable PORTAGE_SYNC_STALE warnings when --usepkgonly is enabled. (trunk r15769)

svn path=/main/branches/2.1.7/; revision=15770

14 years agoExclude PORTAGE_SYNC_STALE from the ebuild environment. (trunk r15767)
Zac Medico [Mon, 8 Mar 2010 09:05:13 +0000 (09:05 -0000)]
Exclude PORTAGE_SYNC_STALE from the ebuild environment. (trunk r15767)

svn path=/main/branches/2.1.7/; revision=15768

14 years agoBug #307409 - Force --verbose mode when displaying circular deps. (trunk r15765)
Zac Medico [Mon, 8 Mar 2010 08:57:44 +0000 (08:57 -0000)]
Bug #307409 - Force --verbose mode when displaying circular deps. (trunk r15765)

svn path=/main/branches/2.1.7/; revision=15766

14 years agoBug #291331 - Force ascii encoding in send_mail() in order to avoid
Zac Medico [Mon, 8 Mar 2010 08:47:40 +0000 (08:47 -0000)]
Bug #291331 - Force ascii encoding in send_mail() in order to avoid
UnicodeEncodeError from smtplib.sendmail with python3. (trunk r15759)

svn path=/main/branches/2.1.7/; revision=15764

14 years agoShow --sync in messages, to help avoid confusion. (trunk r15758)
Zac Medico [Mon, 8 Mar 2010 08:47:29 +0000 (08:47 -0000)]
Show --sync in messages, to help avoid confusion. (trunk r15758)

svn path=/main/branches/2.1.7/; revision=15763

14 years agoNote that PORTAGE_SYNC_STALE=0 will disable warnings. (trunk r15757)
Zac Medico [Mon, 8 Mar 2010 08:47:13 +0000 (08:47 -0000)]
Note that PORTAGE_SYNC_STALE=0 will disable warnings. (trunk r15757)

svn path=/main/branches/2.1.7/; revision=15762

14 years agoProduce a warning message if the timestamp of the portage tree is more than
Zac Medico [Mon, 8 Mar 2010 08:47:02 +0000 (08:47 -0000)]
Produce a warning message if the timestamp of the portage tree is more than
30 days old, and make it adjustable via the PORTAGE_SYNC_STALE variable.
Thanks to Ned Ludd <solar@g.o> for the most of this code. (trunk r15756)

svn path=/main/branches/2.1.7/; revision=15761

14 years agoBug #308415 - Fix broken uri parameter passed to fetch () for some cases when
Zac Medico [Mon, 8 Mar 2010 08:46:53 +0000 (08:46 -0000)]
Bug #308415 - Fix broken uri parameter passed to fetch () for some cases when
using ebuild(1). (trunk r15755)

svn path=/main/branches/2.1.7/; revision=15760

14 years agoBug #307723 - Define basestring for python3. (trunk r15745) v2.1.8.1
Zac Medico [Thu, 4 Mar 2010 11:23:09 +0000 (11:23 -0000)]
Bug #307723 - Define basestring for python3. (trunk r15745)

svn path=/main/branches/2.1.7/; revision=15749

14 years agoFix imports doebuild_environment and prepare_build_dirs imports to import from
Zac Medico [Thu, 4 Mar 2010 11:23:00 +0000 (11:23 -0000)]
Fix imports doebuild_environment and prepare_build_dirs imports to import from
the real location instead of importing proxies. (trunk r15744)

svn path=/main/branches/2.1.7/; revision=15748

14 years agoBug #307707 - Fix fetch() to use the correct spawn function when calling
Zac Medico [Thu, 4 Mar 2010 11:22:48 +0000 (11:22 -0000)]
Bug #307707 - Fix fetch() to use the correct spawn function when calling
nofetch. (trunk r15743)

svn path=/main/branches/2.1.7/; revision=15747

14 years agoAdd new colors for binary packages in the merge list. Thanks to Sebastian
Zac Medico [Thu, 4 Mar 2010 11:22:15 +0000 (11:22 -0000)]
Add new colors for binary packages in the merge list. Thanks to Sebastian
Luther (few) for this patch. (trunk r15739)

svn path=/main/branches/2.1.7/; revision=15746

14 years agoAdd news about splitting the top-level __init__.py. (trunk r15730) v2.1.8
Zac Medico [Wed, 3 Mar 2010 06:27:20 +0000 (06:27 -0000)]
Add news about splitting the top-level __init__.py. (trunk r15730)

svn path=/main/branches/2.1.7/; revision=15731

14 years agoMake _global_updates() silently return if ROOT != "/" and make fixpackages
Zac Medico [Wed, 3 Mar 2010 05:46:45 +0000 (05:46 -0000)]
Make _global_updates() silently return if ROOT != "/" and make fixpackages
bail out with an error message in this case which suggests to instead use
emaint --fix movebin and/or moveinst. This prevents useless/ugly global
updates messages that flood the terminal when ROOT != "/". (trunk r15728)

svn path=/main/branches/2.1.7/; revision=15729

14 years agoRemove preserve libs code from unmerge() that accidentally got merged from
Zac Medico [Wed, 3 Mar 2010 01:27:27 +0000 (01:27 -0000)]
Remove preserve libs code from unmerge() that accidentally got merged from
trunk.

svn path=/main/branches/2.1.7/; revision=15727

14 years agoFix incorrect merge.
Zac Medico [Tue, 2 Mar 2010 22:55:54 +0000 (22:55 -0000)]
Fix incorrect merge.

svn path=/main/branches/2.1.7/; revision=15726

14 years agoUnlink log instead of truncate, to avoid leaving empty log in
Zac Medico [Tue, 2 Mar 2010 22:29:16 +0000 (22:29 -0000)]
Unlink log instead of truncate, to avoid leaving empty log in
$PORT_LOGDIR. This reverts bug 304981 (reporting doesn't use tee like
this anymore so he'd prefer the old behavior). (trunk r15722)

svn path=/main/branches/2.1.7/; revision=15725

14 years agoRemove fetch log after successful fetch. (trunk r15721)
Zac Medico [Tue, 2 Mar 2010 22:29:08 +0000 (22:29 -0000)]
Remove fetch log after successful fetch. (trunk r15721)

svn path=/main/branches/2.1.7/; revision=15724

14 years agoBug #304981 - Remove redundant fetch log removal code which is already
Zac Medico [Tue, 2 Mar 2010 22:29:00 +0000 (22:29 -0000)]
Bug #304981 - Remove redundant fetch log removal code which is already
handled by EbuildFetcher. (trunk r15720)

svn path=/main/branches/2.1.7/; revision=15723

14 years agoClean up imports and unused variables. (trunk r15716)
Zac Medico [Tue, 2 Mar 2010 21:38:01 +0000 (21:38 -0000)]
Clean up imports and unused variables. (trunk r15716)

svn path=/main/branches/2.1.7/; revision=15719

14 years agoMove imports to top. (trunk r15715)
Zac Medico [Tue, 2 Mar 2010 21:37:48 +0000 (21:37 -0000)]
Move imports to top. (trunk r15715)

svn path=/main/branches/2.1.7/; revision=15718

14 years agoClean up imports. (trunk r15714)
Zac Medico [Tue, 2 Mar 2010 21:37:27 +0000 (21:37 -0000)]
Clean up imports. (trunk r15714)

svn path=/main/branches/2.1.7/; revision=15717

14 years agoMove _pty module to portage.util._pty. (trunk r15515)
Zac Medico [Tue, 2 Mar 2010 21:14:43 +0000 (21:14 -0000)]
Move _pty module to portage.util._pty. (trunk r15515)

svn path=/main/branches/2.1.7/; revision=15713

14 years agoMove imports to top. (trunk r15514)
Zac Medico [Tue, 2 Mar 2010 21:14:34 +0000 (21:14 -0000)]
Move imports to top. (trunk r15514)

svn path=/main/branches/2.1.7/; revision=15712

14 years agoBug #306659 - For --rebuilt-binaries, only reinstall if binary package
Zac Medico [Tue, 2 Mar 2010 21:14:20 +0000 (21:14 -0000)]
Bug #306659 - For --rebuilt-binaries, only reinstall if binary package
BUILD_TIME is non-empty, in order to avoid cases like to bug #306659 where
BUILD_TIME fields are missing in local and/or remote Packages file.
(trunk r15513)

svn path=/main/branches/2.1.7/; revision=15711

14 years agoTest for python openpty breakage after freebsd7 to freebsd8 upgrade, which
Zac Medico [Tue, 2 Mar 2010 21:13:58 +0000 (21:13 -0000)]
Test for python openpty breakage after freebsd7 to freebsd8 upgrade, which
results in a 'Function not implemented' error and the process being killed.
Thanks to Javier Villavicenciom <the_paya@g.o> for reporting and helping to
develop this test. (trunk r15512)

svn path=/main/branches/2.1.7/; revision=15710

14 years agoFix legacy globals proxies to reset state when the portage module is reloaded.
Zac Medico [Tue, 2 Mar 2010 21:13:50 +0000 (21:13 -0000)]
Fix legacy globals proxies to reset state when the portage module is reloaded.
This fixes ebuild(1) failing to generate manifests when the ebuild is not
in PORTDIR_OVERLAY, as reported by Arfrever. (trunk r15511)

svn path=/main/branches/2.1.7/; revision=15709

14 years agoAdd a note in _find_system_deps about needing the system set added to the
Zac Medico [Tue, 2 Mar 2010 21:13:39 +0000 (21:13 -0000)]
Add a note in _find_system_deps about needing the system set added to the
graph. (trunk r15510)

svn path=/main/branches/2.1.7/; revision=15708

14 years agoUse writemsg instead of print. Also don't use _ as a variable name since it
Zac Medico [Tue, 2 Mar 2010 21:13:18 +0000 (21:13 -0000)]
Use writemsg instead of print. Also don't use _ as a variable name since it
collides with _ from portage.localization. (trunk r15509)

svn path=/main/branches/2.1.7/; revision=15707

14 years agoMove imports to the top and use writemsg_stdout instead of print().
Zac Medico [Tue, 2 Mar 2010 21:11:13 +0000 (21:11 -0000)]
Move imports to the top and use writemsg_stdout instead of print().
(trunk r15508)

svn path=/main/branches/2.1.7/; revision=15706

14 years agoCall stack_lists on profile_only_variables for incremental processing.
Zac Medico [Tue, 2 Mar 2010 21:11:02 +0000 (21:11 -0000)]
Call stack_lists on profile_only_variables for incremental processing.
(trunk r15507)

svn path=/main/branches/2.1.7/; revision=15705

14 years agoRemove redundant eerror import. (trunk r15506)
Zac Medico [Tue, 2 Mar 2010 21:10:46 +0000 (21:10 -0000)]
Remove redundant eerror import. (trunk r15506)

svn path=/main/branches/2.1.7/; revision=15704

14 years agoRemove redundant local elog_process import that can trigger UnboundLocalError
Zac Medico [Tue, 2 Mar 2010 21:10:37 +0000 (21:10 -0000)]
Remove redundant local elog_process import that can trigger UnboundLocalError
in some cases. (trunk r15505)

svn path=/main/branches/2.1.7/; revision=15703

14 years agoRemove unused print_function. (trunk r15504)
Zac Medico [Tue, 2 Mar 2010 21:10:28 +0000 (21:10 -0000)]
Remove unused print_function. (trunk r15504)

svn path=/main/branches/2.1.7/; revision=15702

14 years agoBug #307235 - Inside depgraph._add_dep, discard child choices for deps that
Zac Medico [Tue, 2 Mar 2010 21:10:20 +0000 (21:10 -0000)]
Bug #307235 - Inside depgraph._add_dep, discard child choices for deps that
will be not be processed immediately, since "complete" mode may select a
different child later. (trunk r15503)

svn path=/main/branches/2.1.7/; revision=15701

14 years agoRemove unused print() import. (trunk r15502)
Zac Medico [Tue, 2 Mar 2010 21:10:06 +0000 (21:10 -0000)]
Remove unused print() import. (trunk r15502)

svn path=/main/branches/2.1.7/; revision=15700

14 years agoRemove unused imports. (trunk r15501)
Zac Medico [Tue, 2 Mar 2010 21:09:59 +0000 (21:09 -0000)]
Remove unused imports. (trunk r15501)

svn path=/main/branches/2.1.7/; revision=15699

14 years agoAdd ObjectProxy __gt__, __ge__, __lt__, and __le__ methods to fix TypeError
Zac Medico [Tue, 2 Mar 2010 21:09:52 +0000 (21:09 -0000)]
Add ObjectProxy __gt__, __ge__, __lt__, and __le__ methods to fix TypeError
with python3 reported by Arfrever:

  File "/usr/lib/portage/pym/portage/__init__.py", line 513, in portageexit
    if secpass > 1 and os.environ.get("SANDBOX_ON") != "1":
TypeError: unorderable types: _LazyImportFrom() > int() (trunk r15497)

svn path=/main/branches/2.1.7/; revision=15698

14 years agoFix broken reference to portage._spawn_misc_sh(). Thanks to Arfrever for
Zac Medico [Tue, 2 Mar 2010 21:09:44 +0000 (21:09 -0000)]
Fix broken reference to portage._spawn_misc_sh(). Thanks to Arfrever for
reporting. (trunk r15496)

svn path=/main/branches/2.1.7/; revision=15697

14 years agoRemove print() usage. (trunk r15495)
Zac Medico [Tue, 2 Mar 2010 21:09:35 +0000 (21:09 -0000)]
Remove print() usage. (trunk r15495)

svn path=/main/branches/2.1.7/; revision=15696

14 years agoRemove print() usage. (trunk r15494)
Zac Medico [Tue, 2 Mar 2010 21:09:26 +0000 (21:09 -0000)]
Remove print() usage. (trunk r15494)

svn path=/main/branches/2.1.7/; revision=15695

14 years agoFix broken fakedbapi.cpv_inject/cpv_remove calls. (trunk r15493)
Zac Medico [Tue, 2 Mar 2010 21:09:18 +0000 (21:09 -0000)]
Fix broken fakedbapi.cpv_inject/cpv_remove calls. (trunk r15493)

svn path=/main/branches/2.1.7/; revision=15694

14 years agoMove legacy globals code into a _legacy_globals module that's imported on
Zac Medico [Tue, 2 Mar 2010 21:09:07 +0000 (21:09 -0000)]
Move legacy globals code into a _legacy_globals module that's imported on
demand. (trunk r15492)

svn path=/main/branches/2.1.7/; revision=15693

14 years agoMove deprecated_profile_check to portage.package.ebuild submodule.
Zac Medico [Tue, 2 Mar 2010 21:09:01 +0000 (21:09 -0000)]
Move deprecated_profile_check to portage.package.ebuild submodule.
(trunk r15491)

svn path=/main/branches/2.1.7/; revision=15692

14 years agoMove the MtimeDB class to portage.util.mtimedb and deprecate the commit_mtimedb
Zac Medico [Tue, 2 Mar 2010 21:08:42 +0000 (21:08 -0000)]
Move the MtimeDB class to portage.util.mtimedb and deprecate the commit_mtimedb
function. (trunk r15490)

svn path=/main/branches/2.1.7/; revision=15691

14 years agoFix vardbapi.move_ent and aux_update to clear relevant caches. (trunk r15489)
Zac Medico [Tue, 2 Mar 2010 21:08:24 +0000 (21:08 -0000)]
Fix vardbapi.move_ent and aux_update to clear relevant caches. (trunk r15489)

svn path=/main/branches/2.1.7/; revision=15690

14 years agoMake bindbapi override cpv_inject and cpv_remove, for deleting stale values
Zac Medico [Tue, 2 Mar 2010 21:08:12 +0000 (21:08 -0000)]
Make bindbapi override cpv_inject and cpv_remove, for deleting stale values
from self._aux_cache. Also, add a comment about stale cache handling inside
aux_update. (trunk r15488)

svn path=/main/branches/2.1.7/; revision=15689

14 years agoMake _global_updates ensure that the binarytree is only populated with local
Zac Medico [Tue, 2 Mar 2010 21:08:03 +0000 (21:08 -0000)]
Make _global_updates ensure that the binarytree is only populated with local
packages (getbinpkgs=0), and fix binarytree.populate() to behave properly
when called more than once. (trunk r15487)

svn path=/main/branches/2.1.7/; revision=15688

14 years agoAdd a --quiet-unmerge-warn option to disable the warning message that's shown
Zac Medico [Tue, 2 Mar 2010 21:07:53 +0000 (21:07 -0000)]
Add a --quiet-unmerge-warn option to disable the warning message that's shown
prior to --unmerge actions. Thanks to Thomas Sachau <tommy@gentoo.org> for the
suggestion. (trunk r15486)

svn path=/main/branches/2.1.7/; revision=15687

14 years agoFix reference to portage.util.listdir.dircache. (trunk r15477)
Zac Medico [Tue, 2 Mar 2010 21:07:13 +0000 (21:07 -0000)]
Fix reference to portage.util.listdir.dircache. (trunk r15477)

svn path=/main/branches/2.1.7/; revision=15686

14 years agoRemove deprecated flushmtimedb function. (trunk r15476)
Zac Medico [Tue, 2 Mar 2010 21:07:01 +0000 (21:07 -0000)]
Remove deprecated flushmtimedb function. (trunk r15476)

svn path=/main/branches/2.1.7/; revision=15685

14 years agoMove portage._global_updates to a submodule. (trunk r15475)
Zac Medico [Tue, 2 Mar 2010 21:06:52 +0000 (21:06 -0000)]
Move portage._global_updates to a submodule. (trunk r15475)

svn path=/main/branches/2.1.7/; revision=15684

14 years agoRemove unused 'dircache' variable that's moved to portage.util.listdir.
Zac Medico [Tue, 2 Mar 2010 21:06:43 +0000 (21:06 -0000)]
Remove unused 'dircache' variable that's moved to portage.util.listdir.
(trunk r15474)

svn path=/main/branches/2.1.7/; revision=15683

14 years agoMove missing encodings module workarounds (<python-2.6.4 + USE=build) to a
Zac Medico [Tue, 2 Mar 2010 21:06:35 +0000 (21:06 -0000)]
Move missing encodings module workarounds (<python-2.6.4 + USE=build) to a
_ensure_encodings module that's only imported on demand. (trunk r15473)

svn path=/main/branches/2.1.7/; revision=15682

14 years agoAnother turquoise -> red. (trunk r15472)
Zac Medico [Tue, 2 Mar 2010 21:06:22 +0000 (21:06 -0000)]
Another turquoise -> red. (trunk r15472)

svn path=/main/branches/2.1.7/; revision=15681

14 years agoBug #307021 - Show "Please fix" message in red instead of turquoise when
Zac Medico [Tue, 2 Mar 2010 21:06:14 +0000 (21:06 -0000)]
Bug #307021 - Show "Please fix" message in red instead of turquoise when
repoman fails. (trunk r15471)

svn path=/main/branches/2.1.7/; revision=15680

14 years agoEliminate the PhaseCheck constructor and make PhaseCheck.phases_re a class
Zac Medico [Tue, 2 Mar 2010 21:06:02 +0000 (21:06 -0000)]
Eliminate the PhaseCheck constructor and make PhaseCheck.phases_re a class
attribute. Thanks to Sebastian Pipping <sping@g.o> for the initial patch.
(trunk r15470)

svn path=/main/branches/2.1.7/; revision=15679

14 years agoMove getvirtuals to _deprecated module. (trunk r15469)
Zac Medico [Tue, 2 Mar 2010 21:05:39 +0000 (21:05 -0000)]
Move getvirtuals to _deprecated module. (trunk r15469)

svn path=/main/branches/2.1.7/; revision=15678

14 years agoMove merge and unmerge functions to the vartree module. (trunk r15468)
Zac Medico [Tue, 2 Mar 2010 21:05:00 +0000 (21:05 -0000)]
Move merge and unmerge functions to the vartree module. (trunk r15468)

svn path=/main/branches/2.1.7/; revision=15677

14 years agoFix broken dep_expand import from previous commit. (trunk r15467)
Zac Medico [Tue, 2 Mar 2010 21:01:55 +0000 (21:01 -0000)]
Fix broken dep_expand import from previous commit. (trunk r15467)

svn path=/main/branches/2.1.7/; revision=15676

14 years agoSplid deprecated functions into a _deprecated module. (trunk r15466)
Zac Medico [Tue, 2 Mar 2010 21:01:48 +0000 (21:01 -0000)]
Splid deprecated functions into a _deprecated module. (trunk r15466)

svn path=/main/branches/2.1.7/; revision=15675

14 years agoAvoid name collision with dep_expand submodule so epydoc won't crash.
Zac Medico [Tue, 2 Mar 2010 21:01:41 +0000 (21:01 -0000)]
Avoid name collision with dep_expand submodule so epydoc won't crash.
(trunk r15465)

svn path=/main/branches/2.1.7/; revision=15674

14 years agoMove portage.movefile to portage.util.movefile. (trunk r15464)
Zac Medico [Tue, 2 Mar 2010 21:01:30 +0000 (21:01 -0000)]
Move portage.movefile to portage.util.movefile. (trunk r15464)

svn path=/main/branches/2.1.7/; revision=15673

14 years agoSplit getmaskingstatus and getmaskingreason info portage.package.ebuild
Zac Medico [Tue, 2 Mar 2010 21:01:19 +0000 (21:01 -0000)]
Split getmaskingstatus and getmaskingreason info portage.package.ebuild
submodules. (trunk r15463)

svn path=/main/branches/2.1.7/; revision=15672

14 years agoMove portage.dep_check and related functions to portage.dep.dep_check.
Zac Medico [Tue, 2 Mar 2010 21:01:10 +0000 (21:01 -0000)]
Move portage.dep_check and related functions to portage.dep.dep_check.
(trunk r15462)

svn path=/main/branches/2.1.7/; revision=15671

14 years agoMove dep.py to dep/__init__.py, for splitting into smaller files. (trunk r15461)
Zac Medico [Tue, 2 Mar 2010 21:01:00 +0000 (21:01 -0000)]
Move dep.py to dep/__init__.py, for splitting into smaller files. (trunk r15461)

svn path=/main/branches/2.1.7/; revision=15670

14 years agoMove dep_expand and cpv_expand into portage.dbapi submodules. (trunk r15460)
Zac Medico [Tue, 2 Mar 2010 21:00:53 +0000 (21:00 -0000)]
Move dep_expand and cpv_expand into portage.dbapi submodules. (trunk r15460)

svn path=/main/branches/2.1.7/; revision=15669

14 years agoFix typo in import. (trunk r15459)
Zac Medico [Tue, 2 Mar 2010 21:00:43 +0000 (21:00 -0000)]
Fix typo in import. (trunk r15459)

svn path=/main/branches/2.1.7/; revision=15668

14 years agoMove portage.digestcheck to portage.package.ebuild.digestcheck. (trunk r15458)
Zac Medico [Tue, 2 Mar 2010 21:00:36 +0000 (21:00 -0000)]
Move portage.digestcheck to portage.package.ebuild.digestcheck. (trunk r15458)

svn path=/main/branches/2.1.7/; revision=15667

14 years agoFix broken digestgen import. (trunk r15457)
Zac Medico [Tue, 2 Mar 2010 21:00:27 +0000 (21:00 -0000)]
Fix broken digestgen import. (trunk r15457)

svn path=/main/branches/2.1.7/; revision=15666

14 years agoRelocate portage.util.digestgen to portage.package.ebuild.digestgen.
Zac Medico [Tue, 2 Mar 2010 21:00:19 +0000 (21:00 -0000)]
Relocate portage.util.digestgen to portage.package.ebuild.digestgen.
(trunk r15456)

svn path=/main/branches/2.1.7/; revision=15665

14 years agoDefine 'long' for Python 3. (trunk r15455)
Zac Medico [Tue, 2 Mar 2010 21:00:03 +0000 (21:00 -0000)]
Define 'long' for Python 3. (trunk r15455)

svn path=/main/branches/2.1.7/; revision=15664

14 years agoMove digestgen to portage.util.digestgen. (trunk r15454)
Zac Medico [Tue, 2 Mar 2010 20:59:56 +0000 (20:59 -0000)]
Move digestgen to portage.util.digestgen. (trunk r15454)

svn path=/main/branches/2.1.7/; revision=15663

14 years agoMove ExtractKernelVersion portage.util.ExtractKernelVersion. (trunk r15453)
Zac Medico [Tue, 2 Mar 2010 20:59:48 +0000 (20:59 -0000)]
Move ExtractKernelVersion portage.util.ExtractKernelVersion. (trunk r15453)

svn path=/main/branches/2.1.7/; revision=15662

14 years agoMove env_update to portage.util.env_update.envupdate. (trunk r15452)
Zac Medico [Tue, 2 Mar 2010 20:59:38 +0000 (20:59 -0000)]
Move env_update to portage.util.env_update.envupdate. (trunk r15452)

svn path=/main/branches/2.1.7/; revision=15661

14 years agoFix broken references to portage._doebuild_manifest_exempt_depend.
Zac Medico [Tue, 2 Mar 2010 20:59:28 +0000 (20:59 -0000)]
Fix broken references to portage._doebuild_manifest_exempt_depend.
(trunk r15451)

svn path=/main/branches/2.1.7/; revision=15660

14 years agoMove cacheddir and listdir to portage.util.listdir. (trunk r15450)
Zac Medico [Tue, 2 Mar 2010 20:59:20 +0000 (20:59 -0000)]
Move cacheddir and listdir to portage.util.listdir. (trunk r15450)

svn path=/main/branches/2.1.7/; revision=15659

14 years agoMake auxdbkeys a tuple instead of a list. (trunk r15449)
Zac Medico [Tue, 2 Mar 2010 20:59:11 +0000 (20:59 -0000)]
Make auxdbkeys a tuple instead of a list. (trunk r15449)

svn path=/main/branches/2.1.7/; revision=15658

14 years agoSplit doebuild and related code to the portage.package.ebuild module.
Zac Medico [Tue, 2 Mar 2010 20:59:00 +0000 (20:59 -0000)]
Split doebuild and related code to the portage.package.ebuild module.
(trunk r15448)

svn path=/main/branches/2.1.7/; revision=15657

14 years agoRemove unused 'expandcache' global variable. (trunk r15447)
Zac Medico [Tue, 2 Mar 2010 20:58:52 +0000 (20:58 -0000)]
Remove unused 'expandcache' global variable. (trunk r15447)

svn path=/main/branches/2.1.7/; revision=15656

14 years agoFix a logic error which causes blockers from installed packages to be
Zac Medico [Tue, 2 Mar 2010 20:58:42 +0000 (20:58 -0000)]
Fix a logic error which causes blockers from installed packages to be
ignored in some cases. Thanks to Brian Dolbec (dol-sen) for reporting.
(trunk r15446)

svn path=/main/branches/2.1.7/; revision=15655

14 years agoAdd missing writmsg import. (trunk r15445)
Zac Medico [Tue, 2 Mar 2010 20:58:31 +0000 (20:58 -0000)]
Add missing writmsg import. (trunk r15445)

svn path=/main/branches/2.1.7/; revision=15654

14 years agoMake the first two positional arguments of digestgen() into keyword arguments
Zac Medico [Tue, 2 Mar 2010 20:58:16 +0000 (20:58 -0000)]
Make the first two positional arguments of digestgen() into keyword arguments
since the first one isn't really needed (when this code is in stable we can
start showing a deprecation warning when the redundant argument is used).
(trunk r15438)

svn path=/main/branches/2.1.7/; revision=15653

14 years agoAdd deprecation warnings for unused digestgen() parameters. (trunk r15437)
Zac Medico [Tue, 2 Mar 2010 20:58:04 +0000 (20:58 -0000)]
Add deprecation warnings for unused digestgen() parameters. (trunk r15437)

svn path=/main/branches/2.1.7/; revision=15652

14 years agoFix "AttributeError: 'module' object has no attribute 'mappings'".
Zac Medico [Tue, 2 Mar 2010 20:57:51 +0000 (20:57 -0000)]
Fix "AttributeError: 'module' object has no attribute 'mappings'".
Also fix some typos. (trunk r15429)

svn path=/main/branches/2.1.7/; revision=15651

14 years agoFix "NameError: global name 'basestring' is not defined" with Python 3.
Zac Medico [Tue, 2 Mar 2010 20:57:38 +0000 (20:57 -0000)]
Fix "NameError: global name 'basestring' is not defined" with Python 3.
(trunk r15428)

svn path=/main/branches/2.1.7/; revision=15650

14 years agoEnable --rebuilt-binaries automatically only when in --usepkgonly or
Zac Medico [Tue, 2 Mar 2010 20:56:37 +0000 (20:56 -0000)]
Enable --rebuilt-binaries automatically only when in --usepkgonly or
--getbinpkgonly mode, since --usepkgonly  behaves better in cases when
the portage tree is not exactly the same revision that was used to
build the packages. (trunk r15427)

svn path=/main/branches/2.1.7/; revision=15649

14 years agoUse lazy import for portage.Manifest. (trunk r15426)
Zac Medico [Tue, 2 Mar 2010 20:56:25 +0000 (20:56 -0000)]
Use lazy import for portage.Manifest. (trunk r15426)

svn path=/main/branches/2.1.7/; revision=15648

14 years agoMove portage.fetch() to portage.package.ebuild.fetch.fetch(). (trunk r15425)
Zac Medico [Tue, 2 Mar 2010 20:56:10 +0000 (20:56 -0000)]
Move portage.fetch() to portage.package.ebuild.fetch.fetch(). (trunk r15425)

svn path=/main/branches/2.1.7/; revision=15647

14 years agoMove portage.config class to portage.package.ebuild.config.config.
Zac Medico [Tue, 2 Mar 2010 20:55:43 +0000 (20:55 -0000)]
Move portage.config class to portage.package.ebuild.config.config.
(trunk r15424)

svn path=/main/branches/2.1.7/; revision=15646

14 years agoMove portage.digraph class to portage.util.digraph.digraph. (trunk r15423)
Zac Medico [Tue, 2 Mar 2010 20:55:29 +0000 (20:55 -0000)]
Move portage.digraph class to portage.util.digraph.digraph. (trunk r15423)

svn path=/main/branches/2.1.7/; revision=15645