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

14 years agoRemove code related to $DISTDIR/.locks since that directory is
Zac Medico [Tue, 3 Aug 2010 18:46:45 +0000 (11:46 -0700)]
Remove code related to $DISTDIR/.locks since that directory is
actually unused.

14 years agoMake ExtendedAtomDict.__getitem__() return the value directly from
Zac Medico [Tue, 3 Aug 2010 08:40:04 +0000 (01:40 -0700)]
Make ExtendedAtomDict.__getitem__() return the value directly from
self._extended when given a wildcard (rather than make an unnecessary
copy).

14 years agoMove the */* code out of loops for greater efficiency.
Zac Medico [Tue, 3 Aug 2010 08:34:10 +0000 (01:34 -0700)]
Move the */* code out of loops for greater efficiency.

14 years agoMake the effect of */* atoms in package.{use,license,properties} show up in emerge...
Sebastian Luther [Tue, 3 Aug 2010 08:10:56 +0000 (10:10 +0200)]
Make the effect of */* atoms in package.{use,license,properties} show up in emerge --info

14 years agoOnly populate the binarytree for actions that need it (search or
Zac Medico [Tue, 3 Aug 2010 04:14:41 +0000 (21:14 -0700)]
Only populate the binarytree for actions that need it (search or
install actions).

14 years agoBug #330937: Handle IOError raised by array.fromfile().
Arfrever Frehtes Taifersar Arahesis [Tue, 3 Aug 2010 01:37:02 +0000 (03:37 +0200)]
Bug #330937: Handle IOError raised by array.fromfile().

14 years ago* Make _world_repo_match() try to match both atoms, so it still works
Zac Medico [Sun, 1 Aug 2010 09:33:08 +0000 (02:33 -0700)]
* Make _world_repo_match() try to match both atoms, so it still works
  if the world file and vdb are slighly out of sync wrt package moves.
* Write world file updates at the earliest opportunity.

14 years agoMake update_config_files() take a dict of {repo_name: list} since it's more
Zac Medico [Sun, 1 Aug 2010 08:14:51 +0000 (01:14 -0700)]
Make update_config_files() take a dict of {repo_name: list} since it's more
efficient this way, and this function can't be called separately for each
repo if /etc/portage is under CONFIG_PROTECT (because it would produce
separate updated files for each repo).

14 years agoFix NameError for ConfigProtect.
Zac Medico [Sun, 1 Aug 2010 08:11:41 +0000 (01:11 -0700)]
Fix NameError for ConfigProtect.

14 years agoJust return boolean to indicate whether or not updates have been performed,
Zac Medico [Sun, 1 Aug 2010 05:34:03 +0000 (22:34 -0700)]
Just return boolean to indicate whether or not updates have been performed,
since that's all that the calling code currently needs.

14 years agoMove the mtimedb timestamps code out of an unnecessary loop.
Zac Medico [Sun, 1 Aug 2010 05:23:28 +0000 (22:23 -0700)]
Move the mtimedb timestamps code out of an unnecessary loop.

14 years agoAlways use shlex_split() to split CONFIG_PROTECT{,_MASK}.
Zac Medico [Sun, 1 Aug 2010 04:45:18 +0000 (21:45 -0700)]
Always use shlex_split() to split CONFIG_PROTECT{,_MASK}.

14 years agoAdd a warning message to the --package-moves[=n] docs, noting that
Zac Medico [Thu, 29 Jul 2010 05:34:59 +0000 (22:34 -0700)]
Add a warning message to the --package-moves[=n] docs, noting that
should remain enabled under normal circumstances.

14 years agoAdd a --package-moves[=n] option that can be used to control the
Zac Medico [Wed, 28 Jul 2010 15:14:34 +0000 (08:14 -0700)]
Add a --package-moves[=n] option that can be used to control the
"Performing Global Updates" routine. This option is enabled by
default.

14 years agoDocument --depclean-lib-check[=n].
Zac Medico [Wed, 28 Jul 2010 14:55:17 +0000 (07:55 -0700)]
Document --depclean-lib-check[=n].

14 years agoFix calc_depclean() to skip the topological sort code when there's
Zac Medico [Wed, 28 Jul 2010 14:39:42 +0000 (07:39 -0700)]
Fix calc_depclean() to skip the topological sort code when there's
nothing selected for removal.

14 years agoTweak global updates handling so that updates from $PORTDIR are applied
Zac Medico [Wed, 28 Jul 2010 04:30:45 +0000 (21:30 -0700)]
Tweak global updates handling so that updates from $PORTDIR are applied
for all of the following cases:
* package is missing repository metadata
* package has repository metadata, but the source repository does not
  have a profiles/updates/ directory
* package has repository metadata, but the source repository is not
  currently accessible via PORTDIR_OVERLAY

14 years agoFix UnboundLocalError for do_upgrade_packagesmessage.
Zac Medico [Wed, 28 Jul 2010 01:05:01 +0000 (18:05 -0700)]
Fix UnboundLocalError for do_upgrade_packagesmessage.

14 years agoFix UnboundLocalError for timestamps variable.
Zac Medico [Wed, 28 Jul 2010 00:52:11 +0000 (17:52 -0700)]
Fix UnboundLocalError for timestamps variable.

14 years agoMake dbapi.update_ents() take a dict of {repo_name: list}, since it's
Zac Medico [Wed, 28 Jul 2010 00:45:27 +0000 (17:45 -0700)]
Make dbapi.update_ents() take a dict of {repo_name: list}, since it's
most efficient to process all repos at once.

14 years agoFallback to updates from PORTDIR if repository has no 'updates' dir.
Michał Górny [Thu, 8 Jul 2010 10:58:01 +0000 (12:58 +0200)]
Fallback to updates from PORTDIR if repository has no 'updates' dir.

As a backwards-compatibility measure, if a particular repository doesn't
come with an 'updates' directory, fallback to updates from
dbapi.porttree_root.

14 years agoAdd repository-wide updates support to emaint.
Michał Górny [Thu, 8 Jul 2010 10:40:45 +0000 (12:40 +0200)]
Add repository-wide updates support to emaint.

14 years agoSupport repository-wide updates in FakeVartree.
Michał Górny [Thu, 8 Jul 2010 10:01:33 +0000 (12:01 +0200)]
Support repository-wide updates in FakeVartree.

14 years agoLimit repository-wide dbentry updates.
Michał Górny [Thu, 8 Jul 2010 09:06:28 +0000 (11:06 +0200)]
Limit repository-wide dbentry updates.

Update dbentries only when the repository the package comes from matches
the repository update comes from.

14 years agoSupport repository-wide updates.
Michał Górny [Mon, 5 Jul 2010 09:21:23 +0000 (11:21 +0200)]
Support repository-wide updates.

Support reading repository-wide update files. Apply them as long as the
'repository' for vardb entry matches the repository update is
originating from. For world and configuration files, use the best vardb
match.

14 years agoMake the world-candidate package set attribute default to False, since
Zac Medico [Tue, 27 Jul 2010 20:19:00 +0000 (13:19 -0700)]
Make the world-candidate package set attribute default to False, since
[usersets] is the only one for which it is True in the default config.

14 years agoextended atom syntax: Add comment to make.conf man page
Sebastian Luther [Tue, 27 Jul 2010 11:46:09 +0000 (13:46 +0200)]
extended atom syntax: Add comment to make.conf man page

14 years agoTests: add sets/base/testInternalPackageSet
Sebastian Luther [Tue, 27 Jul 2010 09:32:22 +0000 (11:32 +0200)]
Tests: add sets/base/testInternalPackageSet

14 years agoportage.sets: Don't allow extended atoms unless explicitly told to
Sebastian Luther [Tue, 27 Jul 2010 08:55:46 +0000 (10:55 +0200)]
portage.sets: Don't allow extended atoms unless explicitly told to

14 years agoUse a directory for the default set configuration.
Michał Górny [Tue, 27 Jul 2010 07:31:47 +0000 (09:31 +0200)]
Use a directory for the default set configuration.

Expect /usr/share/portage/config/sets to be a directory containing any
number of set configuration files. The default Portage sets.conf should
be now installed as sets/portage.conf, and other ebuilds are free to
install their own set configuration files there.

14 years agoFix PackageSet._updateAtomMap() to use ExtendedAtomDict.setdefault()
Zac Medico [Tue, 27 Jul 2010 07:10:15 +0000 (00:10 -0700)]
Fix PackageSet._updateAtomMap() to use ExtendedAtomDict.setdefault()
since ExtendedAtomDict__getitem__ doesn't allow modification of
items.

14 years agoFix race condition in Portage symlink creation.
David James [Wed, 21 Jul 2010 01:28:54 +0000 (01:28 +0000)]
Fix race condition in Portage symlink creation.

14 years agoFix ExtendedAtomDict so get() and __getitem__() behave consistently,
Zac Medico [Tue, 27 Jul 2010 05:47:23 +0000 (22:47 -0700)]
Fix ExtendedAtomDict so get() and __getitem__() behave consistently,
since otherwise it can be quite confusing.

14 years agoMake ExtendedAtomDict inherit from MutableMapping, and fix __getitem__
Zac Medico [Tue, 27 Jul 2010 05:08:52 +0000 (22:08 -0700)]
Make ExtendedAtomDict inherit from MutableMapping, and fix __getitem__
to raise KeyError if given a non-string argument.

14 years agoAllow the --depclean library consumer check to be disabled by
Zac Medico [Mon, 26 Jul 2010 09:26:58 +0000 (02:26 -0700)]
Allow the --depclean library consumer check to be disabled by
--depclean-lib-check=n.

14 years agoIf more than 20 file collisions occur, only look up the first 20 since
Zac Medico [Mon, 26 Jul 2010 08:16:33 +0000 (01:16 -0700)]
If more than 20 file collisions occur, only look up the first 20 since
get_owners is slow for large numbers of files.

14 years agoWhen the iter_owners dblink cache becomes full, do not finish processing
Zac Medico [Mon, 26 Jul 2010 08:02:56 +0000 (01:02 -0700)]
When the iter_owners dblink cache becomes full, do not finish processing
the current path, and go directly to the low-memory implemention.

14 years agoMake extended_cp_match() use re.escape() for safety, and since the result is
Zac Medico [Sun, 25 Jul 2010 21:59:56 +0000 (14:59 -0700)]
Make extended_cp_match() use re.escape() for safety, and since the result is
cached here anyway.

14 years agoBug #329159 - If there are merge collisions are detected, only search for
Zac Medico [Sun, 25 Jul 2010 21:45:32 +0000 (14:45 -0700)]
Bug #329159 - If there are merge collisions are detected, only search for
owners if either collision-protect or protect-owned is enabled.

14 years agoMake iter_owners() switch to a slower but lower-memory mode if the number
Zac Medico [Sun, 25 Jul 2010 21:31:09 +0000 (14:31 -0700)]
Make iter_owners() switch to a slower but lower-memory mode if the number
of given files > 10 or dynamically if the dblink_cache grows to 20
instances.

14 years agoBug #329803 - Make unmerge() show a machine-readable list of selected packages.
Sebastian Luther [Sun, 25 Jul 2010 19:42:00 +0000 (12:42 -0700)]
Bug #329803 - Make unmerge() show a machine-readable list of selected packages.

14 years agoMake extended_cp_match() cache regular expressions for re-use.
Zac Medico [Sun, 25 Jul 2010 19:11:19 +0000 (12:11 -0700)]
Make extended_cp_match() cache regular expressions for re-use.

14 years agoAdd a gc.collect() call inside iter_owers(), since people are reporting
Zac Medico [Sun, 25 Jul 2010 18:23:28 +0000 (11:23 -0700)]
Add a gc.collect() call inside iter_owers(), since people are reporting
high memory usage there. We should really only use this function to search
for a small number of files. Larger numbers of files should use a different
algorithm that will ensure that each CONTENTS file is only parsed once.

14 years agoRe-implement extended_cp_match() using regex, and only support cp (instead
Zac Medico [Sun, 25 Jul 2010 17:56:48 +0000 (10:56 -0700)]
Re-implement extended_cp_match() using regex, and only support cp (instead
of full atoms) since that all we need.

14 years agoFix description of FEATURES=fixlafiles.
Zac Medico [Sun, 25 Jul 2010 17:21:11 +0000 (10:21 -0700)]
Fix description of FEATURES=fixlafiles.

14 years agoFEATURES: Rename lafilefixing -> fixlafiles
Sebastian Luther [Sun, 25 Jul 2010 07:12:59 +0000 (09:12 +0200)]
FEATURES: Rename lafilefixing -> fixlafiles

14 years agoextended atom syntax: Allow wildcards in all places
Sebastian Luther [Sat, 24 Jul 2010 18:19:56 +0000 (20:19 +0200)]
extended atom syntax: Allow wildcards in all places

14 years agoHandle UnicodeDecodeError from subprocess.getstatusoutput() calls, reported
Zac Medico [Sat, 24 Jul 2010 20:52:44 +0000 (13:52 -0700)]
Handle UnicodeDecodeError from subprocess.getstatusoutput() calls, reported
with python3.1.

14 years agoportage.dep._use_dep: better validation, enable all tests
Sebastian Luther [Fri, 23 Jul 2010 19:12:07 +0000 (21:12 +0200)]
portage.dep._use_dep: better validation, enable all tests

14 years agoportage.dep.isvalidatom(): Add support for atoms with wildcards
Sebastian Luther [Fri, 23 Jul 2010 13:43:40 +0000 (15:43 +0200)]
portage.dep.isvalidatom(): Add support for atoms with wildcards

14 years agoTest: Add dep/test_best_match_to_list
Sebastian Luther [Fri, 23 Jul 2010 13:21:05 +0000 (15:21 +0200)]
Test: Add dep/test_best_match_to_list

14 years agoTests: dep/test_match_from_list: Complete rewrite
Sebastian Luther [Fri, 23 Jul 2010 12:53:57 +0000 (14:53 +0200)]
Tests: dep/test_match_from_list: Complete rewrite

14 years agoTests: Extend dep/testAtom.py and add test cases for wildcards Two failing tests...
Sebastian Luther [Fri, 23 Jul 2010 12:28:19 +0000 (14:28 +0200)]
Tests: Extend dep/testAtom.py and add test cases for wildcards Two failing tests disabled for now.

14 years agoportage.tests.TestCase: Add assertRaisesMsg() from pkgcore
Sebastian Luther [Fri, 23 Jul 2010 12:25:11 +0000 (14:25 +0200)]
portage.tests.TestCase: Add assertRaisesMsg() from pkgcore

14 years ago--exclude: Add support for atoms with wildcards
Sebastian Luther [Fri, 23 Jul 2010 11:05:42 +0000 (13:05 +0200)]
--exclude: Add support for atoms with wildcards

14 years agoportage.sets: Add support for atoms with wildcards
Sebastian Luther [Fri, 23 Jul 2010 10:56:55 +0000 (12:56 +0200)]
portage.sets: Add support for atoms with wildcards

14 years agoMake atoms with wildcards work in package.properties
Sebastian Luther [Fri, 23 Jul 2010 10:38:19 +0000 (12:38 +0200)]
Make atoms with wildcards work in package.properties

14 years agoMake atoms with wildcards work in package.license
Sebastian Luther [Fri, 23 Jul 2010 10:36:08 +0000 (12:36 +0200)]
Make atoms with wildcards work in package.license

14 years agoMake atoms with wildcards work in package.mask and package.unmask
Sebastian Luther [Fri, 23 Jul 2010 10:26:13 +0000 (12:26 +0200)]
Make atoms with wildcards work in package.mask and package.unmask

14 years agoMake atoms with wildcards in package.use work
Sebastian Luther [Fri, 23 Jul 2010 10:13:53 +0000 (12:13 +0200)]
Make atoms with wildcards in package.use work

14 years agoportage.dep.{match_from_list,best_match_to_list}: Add support for wildcards in atoms
Sebastian Luther [Fri, 23 Jul 2010 10:13:04 +0000 (12:13 +0200)]
portage.dep.{match_from_list,best_match_to_list}: Add support for wildcards in atoms