portage.git
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

14 years agoMove the portage.util module into a directory, for splitting into smaller files.
Zac Medico [Tue, 2 Mar 2010 20:55:11 +0000 (20:55 -0000)]
Move the portage.util module into a directory, for splitting into smaller files.
(trunk r15422)

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

14 years agoCreate a directory for splitting the portage.util module into smaller files.
Zac Medico [Tue, 2 Mar 2010 20:54:59 +0000 (20:54 -0000)]
Create a directory for splitting the portage.util module into smaller files.
(trunk r15421)

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

14 years agoDon't import the portage.dbapi.dbapi class as portage.dbapi anymore, since
Zac Medico [Tue, 2 Mar 2010 20:54:43 +0000 (20:54 -0000)]
Don't import the portage.dbapi.dbapi class as portage.dbapi anymore, since
it results in a strange namespace collision (portage.dbapi is both a class
and a module). Hopefully this won't break any api consumers since it's a pure
 virtual class anyway. (trunk r15420)

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

14 years agoUse lazy import for the portage.dbapi module. (trunk r15419)
Zac Medico [Tue, 2 Mar 2010 20:53:03 +0000 (20:53 -0000)]
Use lazy import for the portage.dbapi module. (trunk r15419)

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

14 years agoBug #299095 - Add a deprecation warning for check_license calls with EAPI >= 3
Zac Medico [Tue, 2 Mar 2010 20:52:44 +0000 (20:52 -0000)]
Bug #299095 - Add a deprecation warning for check_license calls with EAPI >= 3
since it is superceded by LICENSE masking. (trunk r15418)

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

14 years agoMove the portage.FetchlistDict class to the portage.dbapi.porttree module.
Zac Medico [Tue, 2 Mar 2010 20:52:31 +0000 (20:52 -0000)]
Move the portage.FetchlistDict class to the portage.dbapi.porttree module.
(trunk r15417)

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

14 years agoShow a deprecation warning when getvirtuals() is called. (trunk r15416)
Zac Medico [Tue, 2 Mar 2010 20:52:22 +0000 (20:52 -0000)]
Show a deprecation warning when getvirtuals() is called. (trunk r15416)

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

14 years agoShow a deprecation warning when pkgmerge() is called. (trunk r15415)
Zac Medico [Tue, 2 Mar 2010 20:52:10 +0000 (20:52 -0000)]
Show a deprecation warning when pkgmerge() is called. (trunk r15415)

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

14 years agoShow a deprecation warning when digestParseFile() is called. (trunk r15414)
Zac Medico [Tue, 2 Mar 2010 20:52:01 +0000 (20:52 -0000)]
Show a deprecation warning when digestParseFile() is called. (trunk r15414)

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

14 years agoMove portage.flatten to portage.dep.flatten. (trunk r15413)
Zac Medico [Tue, 2 Mar 2010 20:51:52 +0000 (20:51 -0000)]
Move portage.flatten to portage.dep.flatten. (trunk r15413)

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

14 years agoHandle CacheCorruption from self.db_ro in _setitem, triggered by INHERITED
Zac Medico [Tue, 2 Mar 2010 20:51:44 +0000 (20:51 -0000)]
Handle CacheCorruption from self.db_ro in _setitem, triggered by INHERITED
containing non-existent eclass inside metadata.database._parse_data. Thanks
to Vlastimil Babka <caster@g.o> for reporting. (trunk r15412)

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

14 years agoAdd a note about --rebuilt-binaries. (trunk r15411)
Zac Medico [Tue, 2 Mar 2010 20:50:14 +0000 (20:50 -0000)]
Add a note about --rebuilt-binaries. (trunk r15411)

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

14 years agoMove portage.cpv_getkey() to the portage.versions module. (trunk r15410)
Zac Medico [Tue, 2 Mar 2010 20:47:57 +0000 (20:47 -0000)]
Move portage.cpv_getkey() to the portage.versions module. (trunk r15410)

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

14 years agoAdd missing newline to the "CONFIG_PROTECT is empty" warning message.
Zac Medico [Tue, 2 Mar 2010 20:47:36 +0000 (20:47 -0000)]
Add missing newline to the "CONFIG_PROTECT is empty" warning message.
(trunk r15409)

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

14 years agoUse a frozenset for use inside binarytree._eval_use_flags(). (trunk r15407)
Zac Medico [Tue, 2 Mar 2010 20:47:21 +0000 (20:47 -0000)]
Use a frozenset for use inside binarytree._eval_use_flags(). (trunk r15407)

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

14 years agoAdd stacklevel=2 to warnings.warn calls. (trunk r15406)
Zac Medico [Tue, 2 Mar 2010 20:47:04 +0000 (20:47 -0000)]
Add stacklevel=2 to warnings.warn calls. (trunk r15406)

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

14 years agoAdd stacklevel=2 to warnings.warn() calls. (trunk r15405)
Zac Medico [Tue, 2 Mar 2010 20:46:56 +0000 (20:46 -0000)]
Add stacklevel=2 to warnings.warn() calls. (trunk r15405)

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

14 years agoRemove deprecated methods that call removed key_expand function. (trunk r15404)
Zac Medico [Tue, 2 Mar 2010 20:46:39 +0000 (20:46 -0000)]
Remove deprecated methods that call removed key_expand function. (trunk r15404)

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

14 years agoAdd DeprecationWarning to dep_virtual function. (trunk r15403)
Zac Medico [Tue, 2 Mar 2010 20:46:27 +0000 (20:46 -0000)]
Add DeprecationWarning to dep_virtual function. (trunk r15403)

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

14 years agoRemove deprecated key_expand function and config.load_infodir method.
Zac Medico [Tue, 2 Mar 2010 20:46:13 +0000 (20:46 -0000)]
Remove deprecated key_expand function and config.load_infodir method.
(trunk r15402)

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

14 years agoUse Atom.cp instead of dep_getkey. (trunk r15401)
Zac Medico [Tue, 2 Mar 2010 20:45:50 +0000 (20:45 -0000)]
Use Atom.cp instead of dep_getkey. (trunk r15401)

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

14 years agoUse Atom.cp instead of dep_getkey. (trunk r15400)
Zac Medico [Tue, 2 Mar 2010 20:45:14 +0000 (20:45 -0000)]
Use Atom.cp instead of dep_getkey. (trunk r15400)

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

14 years agoUse Atom.cp instead of dep_getkey. (trunk r15399)
Zac Medico [Tue, 2 Mar 2010 20:43:32 +0000 (20:43 -0000)]
Use Atom.cp instead of dep_getkey. (trunk r15399)

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

14 years agoUse a valid atom in the dep_getkey docstring. (trunk r15398)
Zac Medico [Tue, 2 Mar 2010 20:39:08 +0000 (20:39 -0000)]
Use a valid atom in the dep_getkey docstring. (trunk r15398)

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

14 years agoUse isvalidatom to validate PROVIDE entries. (trunk r15397)
Zac Medico [Tue, 2 Mar 2010 20:38:54 +0000 (20:38 -0000)]
Use isvalidatom to validate PROVIDE entries. (trunk r15397)

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

14 years agoFix deprecated usage of dep_getkey. (trunk r15396)
Zac Medico [Tue, 2 Mar 2010 20:38:46 +0000 (20:38 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15396)

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

14 years agoFix deprecated usage of dep_getkey. (trunk r15395)
Zac Medico [Tue, 2 Mar 2010 20:38:36 +0000 (20:38 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15395)

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

14 years agoBail out when given an invalid mode. (trunk r15394)
Zac Medico [Tue, 2 Mar 2010 20:38:22 +0000 (20:38 -0000)]
Bail out when given an invalid mode. (trunk r15394)

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

14 years agoBug #268724 - Show a warning message for --unmerge operations and suggest
Zac Medico [Tue, 2 Mar 2010 20:38:11 +0000 (20:38 -0000)]
Bug #268724 - Show a warning message for --unmerge operations and suggest
--depclean <atom> instead. (trunk r15393)

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

14 years agoBug #303519 - Call warnings.warn() with stacklevel=2 inside dep_getkey and
Zac Medico [Tue, 2 Mar 2010 20:38:03 +0000 (20:38 -0000)]
Bug #303519 - Call warnings.warn() with stacklevel=2 inside dep_getkey and
dep_getcpv so that the caller is displayed. (trunk r15392)

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

14 years agoFix deprecated usage of dep_getkey. (trunk r15391)
Zac Medico [Tue, 2 Mar 2010 20:37:56 +0000 (20:37 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15391)

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

14 years agoFix deprecated usage of dep_getkey. (trunk r15390)
Zac Medico [Tue, 2 Mar 2010 20:37:48 +0000 (20:37 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15390)

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

14 years agoFix deprecated usage of dep_getkey. (trunk r15388)
Zac Medico [Tue, 2 Mar 2010 20:37:38 +0000 (20:37 -0000)]
Fix deprecated usage of dep_getkey. (trunk r15388)

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