portage.git
14 years ago* Configuration files now support atoms with wildcards inside the category and
Zac Medico [Wed, 11 Aug 2010 06:39:03 +0000 (23:39 -0700)]
* Configuration files now support atoms with wildcards inside the category and
  package name parts of the atoms.
* The functionality of the autounmask program is emulated by the new emerge
  --autounmask option, which outputs required configuration changes for
  package.keywords and package.use.

14 years agoAdd stacklevel=2 to warnings.warn() calls.
Zac Medico [Wed, 11 Aug 2010 05:38:32 +0000 (22:38 -0700)]
Add stacklevel=2 to warnings.warn() calls.

14 years agoDon't use deprecated paren_normalize() function.
Zac Medico [Wed, 11 Aug 2010 05:33:32 +0000 (22:33 -0700)]
Don't use deprecated paren_normalize() function.

14 years agoTests: Remove paren_reduce tests
Sebastian Luther [Wed, 11 Aug 2010 05:16:23 +0000 (07:16 +0200)]
Tests: Remove paren_reduce tests

14 years agoAdd deprecation warnings for paren_reduce, strip_empty and use_reduce with paren_redu...
Sebastian Luther [Wed, 11 Aug 2010 05:14:43 +0000 (07:14 +0200)]
Add deprecation warnings for paren_reduce, strip_empty and use_reduce with paren_reduce_d dep arrays

14 years agoTests: More portage,dep.Atom tests
Sebastian Luther [Tue, 10 Aug 2010 22:00:01 +0000 (00:00 +0200)]
Tests: More portage,dep.Atom tests

14 years agoportage.dep.dep_opconvert: remove handling of '&&' operator
Sebastian Luther [Tue, 10 Aug 2010 21:39:44 +0000 (23:39 +0200)]
portage.dep.dep_opconvert: remove handling of '&&' operator

14 years agoTests: Add tests for portage.dep.dep_opconvert
Sebastian Luther [Tue, 10 Aug 2010 21:38:55 +0000 (23:38 +0200)]
Tests: Add tests for portage.dep.dep_opconvert

14 years agoTests: add dep/testStandalone. Test small functions here. Currently: cpvequal, flatten
Sebastian Luther [Tue, 10 Aug 2010 21:29:16 +0000 (23:29 +0200)]
Tests: add dep/testStandalone. Test small functions here. Currently: cpvequal, flatten

14 years agoportage.dep.use_reduce: pass is_src_uri when needed
Sebastian Luther [Tue, 10 Aug 2010 20:45:31 +0000 (22:45 +0200)]
portage.dep.use_reduce: pass is_src_uri when needed

Remove the now unneded _src_uri_validate.

14 years agoportage.dep.use_reduce: Add is_src_uri and allow_src_uri_file_renames
Sebastian Luther [Tue, 10 Aug 2010 19:50:35 +0000 (21:50 +0200)]
portage.dep.use_reduce: Add is_src_uri and allow_src_uri_file_renames

All checks done by portage.dbapi.porttree._src_uri_validate are now done by use_reduce.

14 years agoportage.dep._dep_check_strict: Unused, removed
Sebastian Luther [Tue, 10 Aug 2010 19:23:25 +0000 (21:23 +0200)]
portage.dep._dep_check_strict: Unused, removed

14 years agoportage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arrays
Sebastian Luther [Tue, 10 Aug 2010 19:09:09 +0000 (21:09 +0200)]
portage.dep.use_reduce: Work on depstrings instead of paren_reduce'd dep arrays

This change makes paren_reduce and paren_normalize calls for use_reduce redundant,
resp. wrong. All consumers inside portage are adopted.

14 years agoAdd not about RDEPEND not being implicitly set in EAPI 4 or later.
Zac Medico [Wed, 11 Aug 2010 05:13:48 +0000 (22:13 -0700)]
Add not about RDEPEND not being implicitly set in EAPI 4 or later.

14 years agoAdd REQUIRED_USE docs from Brian Harring's GLEP draft.
Zac Medico [Wed, 11 Aug 2010 03:19:47 +0000 (20:19 -0700)]
Add REQUIRED_USE docs from Brian Harring's GLEP draft.

14 years agoEliminate redundant _eclasses_ code from aux_get which is handled
Zac Medico [Wed, 11 Aug 2010 02:41:59 +0000 (19:41 -0700)]
Eliminate redundant _eclasses_ code from aux_get which is handled
by _metadata_callback().

14 years agoDon't cache REQUIRED_USE for EAPIs 1-3 which don't support it.
Zac Medico [Wed, 11 Aug 2010 02:25:15 +0000 (19:25 -0700)]
Don't cache REQUIRED_USE for EAPIs 1-3 which don't support it.

14 years agoAdd some docs for EAPI 4_pre1.
Zac Medico [Wed, 11 Aug 2010 01:54:02 +0000 (18:54 -0700)]
Add some docs for EAPI 4_pre1.

14 years agoAllow flags from IUSE_IMPLICIT in REQUIRED_USE. Move checks to resolution time.
Sebastian Luther [Tue, 13 Apr 2010 20:03:47 +0000 (22:03 +0200)]
Allow flags from IUSE_IMPLICIT in REQUIRED_USE. Move checks to resolution time.

14 years agoAdd repoman check for REQUIRED_USE
Sebastian Luther [Tue, 13 Apr 2010 14:33:28 +0000 (16:33 +0200)]
Add repoman check for REQUIRED_USE

14 years agoAdd missing IUSE check in portage.dep._check_required_use()
Sebastian Luther [Tue, 13 Apr 2010 12:37:49 +0000 (14:37 +0200)]
Add missing IUSE check in portage.dep._check_required_use()

14 years agoAdd REQUIRED_USE check as pre-merge check.
Sebastian Luther [Mon, 12 Apr 2010 19:41:33 +0000 (21:41 +0200)]
Add REQUIRED_USE check as pre-merge check.

14 years agoImplement portage.dep.check_required_use() for checking REQUIRED_USE.
Sebastian Luther [Mon, 12 Apr 2010 19:40:05 +0000 (21:40 +0200)]
Implement portage.dep.check_required_use() for checking REQUIRED_USE.

14 years agoAdd REQUIRED_USE to metadata keys, caches, etc.
Sebastian Luther [Mon, 12 Apr 2010 19:38:06 +0000 (21:38 +0200)]
Add REQUIRED_USE to metadata keys, caches, etc.

14 years agoDon't use os.getlogin() since apparently it's unreliable.
Zac Medico [Tue, 10 Aug 2010 09:28:34 +0000 (02:28 -0700)]
Don't use os.getlogin() since apparently it's unreliable.

14 years agoPretend that the current user's uid/gid are the 'portage' uid/gid,
Zac Medico [Tue, 10 Aug 2010 09:20:33 +0000 (02:20 -0700)]
Pretend that the current user's uid/gid are the 'portage' uid/gid,
so things go smoothly regardless of the current user and global
user/group configuration.

14 years agoAdd suitable default PORTAGE_TMPDIR setting.
Zac Medico [Tue, 10 Aug 2010 08:58:37 +0000 (01:58 -0700)]
Add suitable default PORTAGE_TMPDIR setting.

14 years agoTry using _emerge.main.setconfig_fallback() to make tests pass
Zac Medico [Tue, 10 Aug 2010 08:41:37 +0000 (01:41 -0700)]
Try using _emerge.main.setconfig_fallback() to make tests pass
on the buildbot.

14 years agoportage.dep.paren_reduce: Remove redundant brackets
Sebastian Luther [Tue, 10 Aug 2010 08:10:58 +0000 (10:10 +0200)]
portage.dep.paren_reduce: Remove redundant brackets

14 years agoWhen executing the 'depend' phase inside aux_get(), use the
Zac Medico [Tue, 10 Aug 2010 07:37:54 +0000 (00:37 -0700)]
When executing the 'depend' phase inside aux_get(), use the
EbuildMetadataPhase class, so we can eliminate redundant code.

14 years agoportage.dep: Rewrite paren_reduce and add tests
Sebastian Luther [Tue, 10 Aug 2010 06:41:10 +0000 (08:41 +0200)]
portage.dep: Rewrite paren_reduce and add tests

14 years agoRelocate attributes from AbstractEbuildProcess to subclasses that use
Zac Medico [Tue, 10 Aug 2010 06:38:38 +0000 (23:38 -0700)]
Relocate attributes from AbstractEbuildProcess to subclasses that use
them, since EbuildSpawnProcess doesn't use the attributes.

14 years agoConvert doebuild.spawn() to use the AsynchronousTask api, which
Zac Medico [Tue, 10 Aug 2010 06:27:21 +0000 (23:27 -0700)]
Convert doebuild.spawn() to use the AsynchronousTask api, which
will be useful for ebuild IPC implementation.

14 years agoIn cp_list(), use basestring for ininstance check on the mytree
Zac Medico [Tue, 10 Aug 2010 00:41:10 +0000 (17:41 -0700)]
In cp_list(), use basestring for ininstance check on the mytree
parameter, and assume it's iterable if it's not a string.

14 years agoadd optional list support for mytree to complinment the trees param in cp_list()
Brian Dolbec [Mon, 9 Aug 2010 08:05:03 +0000 (01:05 -0700)]
add optional list support for mytree to complinment the trees param in cp_list()

14 years agoFix /etc/portage/package.keywords handling so that more specific
Zac Medico [Mon, 9 Aug 2010 10:35:45 +0000 (03:35 -0700)]
Fix /etc/portage/package.keywords handling so that more specific
atoms override less specific atoms.

14 years agoTweak the profile package.* atom specificity code to use
Zac Medico [Mon, 9 Aug 2010 10:05:00 +0000 (03:05 -0700)]
Tweak the profile package.* atom specificity code to use
list.append() and finally list.reverse(), instead of a bunch
of list.insert() calls. This should be easier to read.

14 years agoCall portage._disable_legacy_globals() in order to ensure that we
Zac Medico [Mon, 9 Aug 2010 08:57:41 +0000 (01:57 -0700)]
Call portage._disable_legacy_globals() in order to ensure that we
don't instantiate portage.settings, so that tests should work the
same regardless of global configuration file state/existence.

14 years agoDetect if python xml support is enabled and bail out with an
Zac Medico [Mon, 9 Aug 2010 03:43:16 +0000 (20:43 -0700)]
Detect if python xml support is enabled and bail out with an
appropriate when necessary.

14 years agoTests: dep/testAtom: add test for Atom.violated_conditionals()
Sebastian Luther [Sun, 8 Aug 2010 19:55:51 +0000 (21:55 +0200)]
Tests: dep/testAtom: add test for Atom.violated_conditionals()

14 years agoportage.dep.Atom.violated_conditionals(): Fix "not / is None" bug
Sebastian Luther [Sun, 8 Aug 2010 19:10:22 +0000 (21:10 +0200)]
portage.dep.Atom.violated_conditionals(): Fix "not / is None" bug

14 years agoTests: Let ./runTests take files as argument to run only the test in these files
Sebastian Luther [Sun, 8 Aug 2010 20:52:50 +0000 (22:52 +0200)]
Tests: Let ./runTests take files as argument to run only the test in these files

14 years agoautounmask: rename _needed_user_config_changes in _needed_unstable_keywords. Let...
Sebastian Luther [Sat, 7 Aug 2010 08:51:51 +0000 (10:51 +0200)]
autounmask: rename _needed_user_config_changes in _needed_unstable_keywords. Let the tests check for it.

14 years agoTest: resolver/test_autounmask: Check the suggested use changes
Sebastian Luther [Sat, 7 Aug 2010 08:22:46 +0000 (10:22 +0200)]
Test: resolver/test_autounmask: Check the suggested use changes

14 years agoTests: resolver/test_autounmask: Remove test that don't test what they were supposed to
Sebastian Luther [Sat, 7 Aug 2010 08:07:38 +0000 (10:07 +0200)]
Tests: resolver/test_autounmask: Remove test that don't test what they were supposed to

14 years agoautounmask: Restart less often for use changes
Sebastian Luther [Sat, 7 Aug 2010 08:07:13 +0000 (10:07 +0200)]
autounmask: Restart less often for use changes

14 years agoBug #308835: Support options in shebang and terminate 's' option of sed.
Arfrever Frehtes Taifersar Arahesis [Sat, 7 Aug 2010 17:38:59 +0000 (19:38 +0200)]
Bug #308835: Support options in shebang and terminate 's' option of sed.

14 years agoEnsure that _select_pkg_highest_available_imp() falls back to an
Zac Medico [Sat, 7 Aug 2010 05:04:25 +0000 (22:04 -0700)]
Ensure that _select_pkg_highest_available_imp() falls back to an
installed package if the autounmask path fails to select something.

14 years agoFix _getMissingProperties() package.properties handling so that settings
Zac Medico [Sat, 7 Aug 2010 01:06:59 +0000 (18:06 -0700)]
Fix _getMissingProperties() package.properties handling so that settings
from more specific atoms override those of less specific atoms.

14 years agoFix _getMissingLicenses() package.license handling so that settings
Zac Medico [Sat, 7 Aug 2010 01:00:30 +0000 (18:00 -0700)]
Fix _getMissingLicenses() package.license handling so that settings
from more specific atoms override those of less specific atoms.

14 years agoBug #331413 - Clarify the behavior of the =$CATEGORY/$PN-$VERSION* atom
Zac Medico [Sat, 7 Aug 2010 00:45:45 +0000 (17:45 -0700)]
Bug #331413 - Clarify the behavior of the =$CATEGORY/$PN-$VERSION* atom
operator some more. Thanks to Dennis Schridde <devurandom@gmx.net>.

14 years agoUse ResolverPlayground for it's config instance, so that we don't
Zac Medico [Sat, 7 Aug 2010 00:34:09 +0000 (17:34 -0700)]
Use ResolverPlayground for it's config instance, so that we don't
instantiate portage.settings.

14 years agoBug #331429 - Fix breakage in package.properties and package.license
Zac Medico [Sat, 7 Aug 2010 00:25:41 +0000 (17:25 -0700)]
Bug #331429 - Fix breakage in package.properties and package.license
handling due to behavior of ExtendedAtomDict.get(). We need to use
setdefault() when updating ExtendedAtomDict like this.

14 years agoImplement ExtendedAtomDict.__len__().
Zac Medico [Sat, 7 Aug 2010 00:16:09 +0000 (17:16 -0700)]
Implement ExtendedAtomDict.__len__().

14 years agoImplement ExtendedAtomDict.__iter__().
Zac Medico [Sat, 7 Aug 2010 00:01:12 +0000 (17:01 -0700)]
Implement ExtendedAtomDict.__iter__().

14 years agoFix _select_pkg_highest_available_imp to reject installed packages
Zac Medico [Fri, 6 Aug 2010 23:27:26 +0000 (16:27 -0700)]
Fix _select_pkg_highest_available_imp to reject installed packages
returned from _wrapped_select_pkg_highest_available_imp when
necessary.

14 years agoRename allow_missing_keywords to allow_unstable_keywords since that's
Zac Medico [Fri, 6 Aug 2010 23:15:15 +0000 (16:15 -0700)]
Rename allow_missing_keywords to allow_unstable_keywords since that's
what it does.

14 years agoDelay variable definitions in _pkg_visibility_check until
Zac Medico [Fri, 6 Aug 2010 23:01:06 +0000 (16:01 -0700)]
Delay variable definitions in _pkg_visibility_check until
they are needed.

14 years agoMake dep_check use depgraph._pkg_use_enabled to query USE settings of new-style virtu...
Zac Medico [Fri, 6 Aug 2010 22:38:21 +0000 (15:38 -0700)]
Make dep_check use depgraph._pkg_use_enabled to query USE settings of new-style virtuals when appropriate.

14 years agoUse finally block for autounmask handling inside
Zac Medico [Fri, 6 Aug 2010 22:53:26 +0000 (15:53 -0700)]
Use finally block for autounmask handling inside
_select_atoms_highest_available.

14 years agoautounmask: Add ability to adjust USE
Sebastian Luther [Fri, 6 Aug 2010 19:14:21 +0000 (21:14 +0200)]
autounmask: Add ability to adjust USE

14 years agoFix typo in comment.
Arfrever Frehtes Taifersar Arahesis [Fri, 6 Aug 2010 16:37:43 +0000 (18:37 +0200)]
Fix typo in comment.

14 years agoAdd a _MaskReason.hint attribute that the --autounmask code can use
Zac Medico [Fri, 6 Aug 2010 12:49:28 +0000 (05:49 -0700)]
Add a _MaskReason.hint attribute that the --autounmask code can use
to simplify the 'unstable keyword' check.

14 years agoUse _get_masking_status() for the --autounmaks KEYWORDS check.
Zac Medico [Fri, 6 Aug 2010 12:42:07 +0000 (05:42 -0700)]
Use _get_masking_status() for the --autounmaks KEYWORDS check.

14 years ago* Split out a _get_masking_status() method that returns categorized
Zac Medico [Fri, 6 Aug 2010 12:30:42 +0000 (05:30 -0700)]
* Split out a _get_masking_status() method that returns categorized
  message objects instead of plain strings.
* Move masks to the "invalid" category.

14 years agoBug #331413 - Clarify valid $VERSION parts that may be used in
Zac Medico [Fri, 6 Aug 2010 12:09:30 +0000 (05:09 -0700)]
Bug #331413 - Clarify valid $VERSION parts that may be used in
conjunction with the =$CATEGORY/$PN-$VERSION* atom operator.

14 years agoSplit out a _getmaskingstatus() method that returns categorized
Zac Medico [Fri, 6 Aug 2010 11:57:05 +0000 (04:57 -0700)]
Split out a _getmaskingstatus() method that returns categorized
message objects instead of plain strings.

14 years agoUse a regular expression to simplify dblink.getcontents().
Zac Medico [Fri, 6 Aug 2010 10:48:26 +0000 (03:48 -0700)]
Use a regular expression to simplify dblink.getcontents().

14 years agoIn action_unmerge(), create a Schuduler instance for calls to unmerge(),
Zac Medico [Fri, 6 Aug 2010 08:21:47 +0000 (01:21 -0700)]
In action_unmerge(), create a Schuduler instance for calls to unmerge(),
in order to cause redirection of ebuild phase output to logs as required
for options such as --quiet.

14 years agoPass more parameters to the Package constructor.
Zac Medico [Fri, 6 Aug 2010 07:24:16 +0000 (00:24 -0700)]
Pass more parameters to the Package constructor.

14 years agoFix scope issue that could cause 'retval' variable to be undefined.
Zac Medico [Fri, 6 Aug 2010 06:35:33 +0000 (23:35 -0700)]
Fix scope issue that could cause 'retval' variable to be undefined.

14 years agoBug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_*
Zac Medico [Fri, 6 Aug 2010 02:35:37 +0000 (19:35 -0700)]
Bug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_*
-linguas_en_US" case is handled correctly.

14 years agoBug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_en_US
Zac Medico [Thu, 5 Aug 2010 23:02:25 +0000 (16:02 -0700)]
Bug #331271 - Fix USE_EXPAND wildcards so that the USE="linguas_en_US
-linguas_*" case is handled correctly.

14 years agoUse ValueError.args since direct indexing of ValueError is not
Zac Medico [Thu, 5 Aug 2010 22:22:53 +0000 (15:22 -0700)]
Use ValueError.args since direct indexing of ValueError is not
supported in python3, as reported in bug 241132, commment #4.

14 years agoAdd a test case for lazyimport._preload_portage_submodules().
Zac Medico [Thu, 5 Aug 2010 22:11:24 +0000 (15:11 -0700)]
Add a test case for lazyimport._preload_portage_submodules().

14 years agoAdd a fake _test_ option to myopts that can be used for conditional test code.
Zac Medico [Thu, 5 Aug 2010 20:34:47 +0000 (13:34 -0700)]
Add a fake _test_ option to myopts that can be used for conditional test code.

14 years agoUse a ResolverPlayground.cleanup() method to cleanup temporary directories.
Zac Medico [Thu, 5 Aug 2010 20:33:38 +0000 (13:33 -0700)]
Use a ResolverPlayground.cleanup() method to cleanup temporary directories.

14 years agoTests: Add resolver/test_eapi (2 tests disabled)
Sebastian Luther [Thu, 5 Aug 2010 14:29:31 +0000 (16:29 +0200)]
Tests: Add resolver/test_eapi (2 tests disabled)

The resolver accepts EAPI-0 ebuilds with IUSE defaults and slot dependencies.

14 years agoTests: Add resolver/test_simple and the resolver test infrastructure
Sebastian Luther [Thu, 5 Aug 2010 13:47:00 +0000 (15:47 +0200)]
Tests: Add resolver/test_simple and the resolver test infrastructure

14 years ago_emerge.depgraph: If "/" not in trees, treat target_root as running_root (needed...
Sebastian Luther [Thu, 5 Aug 2010 13:45:22 +0000 (15:45 +0200)]
_emerge.depgraph: If "/" not in trees, treat target_root as running_root (needed for tests)

14 years agoMake some variables local.
Arfrever Frehtes Taifersar Arahesis [Thu, 5 Aug 2010 20:06:02 +0000 (22:06 +0200)]
Make some variables local.

14 years agoBug #301915: Add QA check for byte-compiled Python modules.
Arfrever Frehtes Taifersar Arahesis [Thu, 5 Aug 2010 19:28:25 +0000 (21:28 +0200)]
Bug #301915: Add QA check for byte-compiled Python modules.

14 years agoEOFError can still be raised by array.fromfile() in Python >=2.6.6 and >=2.7.1.
Arfrever Frehtes Taifersar Arahesis [Thu, 5 Aug 2010 14:51:34 +0000 (16:51 +0200)]
EOFError can still be raised by array.fromfile() in Python >=2.6.6 and >=2.7.1.

14 years agoBug #330937: Handle IOError raised by remaining calls to array.fromfile().
Arfrever Frehtes Taifersar Arahesis [Thu, 5 Aug 2010 13:02:20 +0000 (15:02 +0200)]
Bug #330937: Handle IOError raised by remaining calls to array.fromfile().

14 years agoSimplify passing of the backtracking parameters from one graph
Zac Medico [Thu, 5 Aug 2010 10:46:20 +0000 (03:46 -0700)]
Simplify passing of the backtracking parameters from one graph
to the next.

14 years ago* Add a --autounmask[=n] option and for now leave it disable
Zac Medico [Thu, 5 Aug 2010 09:45:29 +0000 (02:45 -0700)]
* Add a --autounmask[=n] option and for now leave it disable
by default in order to minimize the impact of any bugs.
* If _wrapped_select_pkg_highest_available_imp returns an installed
package when the user has not explicitly requested for this package
to be replaced (typically via an atom on the command line), reject
the installed package and try to unmask one.

14 years ago_emerge.depgraph.get_backtrack_parameters(): Return a dict instead of a tuple
Sebastian Luther [Thu, 5 Aug 2010 07:39:44 +0000 (09:39 +0200)]
_emerge.depgraph.get_backtrack_parameters(): Return a dict instead of a tuple

14 years ago_emerge.depgraph: Keep _needed_user_config_changes during backtracking
Sebastian Luther [Thu, 5 Aug 2010 07:23:32 +0000 (09:23 +0200)]
_emerge.depgraph: Keep _needed_user_config_changes during backtracking

14 years ago_emerge.depgraph: Use _pkg_visibility_check() everywhere
Sebastian Luther [Thu, 5 Aug 2010 06:52:27 +0000 (08:52 +0200)]
_emerge.depgraph: Use _pkg_visibility_check() everywhere

14 years agoAutomatically take packages masked by ~arch if needed and inform the user
Sebastian Luther [Wed, 4 Aug 2010 21:31:21 +0000 (23:31 +0200)]
Automatically take packages masked by ~arch if needed and inform the user

14 years agoBug #308835 - Make econf() use sed to substitute $CONFIG_SHELL in
Zac Medico [Thu, 5 Aug 2010 06:18:52 +0000 (23:18 -0700)]
Bug #308835 - Make econf() use sed to substitute $CONFIG_SHELL in
the shebang of configure scripts when appropriate.

14 years agoBug #330179 - Ensure that depgraph._show_unsatisfied_dep() only shows
Zac Medico [Thu, 5 Aug 2010 05:32:52 +0000 (22:32 -0700)]
Bug #330179 - Ensure that depgraph._show_unsatisfied_dep() only shows
masked packages if one of them satisfies required IUSE.

14 years agoBug #330179 - Fix depgraph._show_unsatisfied_dep() to show a masked
Zac Medico [Thu, 5 Aug 2010 05:22:44 +0000 (22:22 -0700)]
Bug #330179 - Fix depgraph._show_unsatisfied_dep() to show a masked
package when possible, instead of 'Missing IUSE' message for an
unmasked package.

14 years agoBug #285191 - Add back the RDEPEND.implicit warning to detect the cases
Zac Medico [Thu, 5 Aug 2010 05:06:59 +0000 (22:06 -0700)]
Bug #285191 - Add back the RDEPEND.implicit warning to detect the cases
where DEPEND is set and RDEPEND is unset in the ebuild, since this
triggers implicit RDEPEND=$DEPEND assignment (prior to EAPI 4) and is
forbidden by the QA team.

14 years agorepoman: Check if the prefix.eclass is inherited if eprefixify is used. Thanks to...
Sebastian Luther [Mon, 26 Jul 2010 19:16:58 +0000 (21:16 +0200)]
repoman: Check if the prefix.eclass is inherited if eprefixify is used. Thanks to Jeremy Olexa (darkside) for the initial patch.

14 years agoAdd a sanity check in _preload_portage_submodules() to ensure that the
Zac Medico [Wed, 4 Aug 2010 07:50:25 +0000 (00:50 -0700)]
Add a sanity check in _preload_portage_submodules() to ensure that the
loop always terminates.

14 years agoFix infinite loop in _preload_portage_submodules().
Zac Medico [Wed, 4 Aug 2010 04:14:42 +0000 (21:14 -0700)]
Fix infinite loop in _preload_portage_submodules().

14 years agoFix typo in docstring.
Zac Medico [Wed, 4 Aug 2010 03:51:18 +0000 (20:51 -0700)]
Fix typo in docstring.

14 years agoBug #330645 - Make _unregister_module_proxy() detect partially imported
Zac Medico [Wed, 4 Aug 2010 03:42:36 +0000 (20:42 -0700)]
Bug #330645 - Make _unregister_module_proxy() detect partially imported
modules (indicated when an AttributeError is caught) and handle them
appropriately.

14 years agoBug #330645 - Use more lazy imports for the portage.data module, in
Zac Medico [Wed, 4 Aug 2010 02:33:55 +0000 (19:33 -0700)]
Bug #330645 - Use more lazy imports for the portage.data module, in
order to avoid circular import triggered by missing 'portage' user
or group.