summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/resolver/circular_dependency.py
Commit message (Collapse)AuthorAgeFilesLines
* Use unicode_literals more.Zac Medico2013-01-181-2/+2
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* Rename Package.metadata to _metadata.Zac Medico2012-11-261-4/+4
| | | | | The raw metadata is considered a private low-level internal. This makes the Package class consistent with the _pkg_str class.
* Add Package.eapi property.Zac Medico2012-11-171-3/+3
|
* Use constants for more hardcoded *DEPEND lists.v2.2.0_alpha133Zac Medico2012-09-251-2/+3
|
* circular_dependency: handle HDEPENDZac Medico2012-09-241-1/+2
|
* Pass eapi to check_required_use more.Zac Medico2012-08-271-3/+6
|
* Fix breakage from last commit.Zac Medico2011-11-071-1/+1
|
* REQUIRED_USE: don't save in built packagesZac Medico2011-11-071-2/+3
| | | | | | | It should be safe to assume that REQUIRED_USE is satisfied if the package is built, so it's a waste to save it. Also, fix code which assumes that built Package instances have a REQUIRED_USE key in their metadata.
* circular_dependency: fix total_flags calcZac Medico2011-07-101-2/+2
|
* circular_dependency: fix REQUIRED_USE testZac Medico2011-07-091-0/+17
|
* circular_dependency: fix ridiculously long loopZac Medico2011-07-091-10/+0
| | | | | | | | The flags from REQUIRED_USE were added to affecting_use, which was not really necessary and was a bad idea because a number of flags in affecting_use affects our number of loops exponentially. This will fix bug #374397 in which the large number of flags in the REQUIRED_USE of dev-lang/php-5.3.6-r1 triggered execution of 2 ^ 45 loops.
* circular_dependency: show debug graph earlierZac Medico2011-07-091-0/+10
| | | | | This might help in some cases like bug 374397 where we're troubleshooting the circular_dependency code.
* circular_dependency: use itertools.product()Zac Medico2011-07-091-24/+3
| | | | | Python's cartesian product function does exactly what we want, so use it to simplify our code.
* use_reduce: less strict for installedZac Medico2011-06-211-4/+10
|
* extract_affecting_use: less strict for installedZac Medico2011-06-211-2/+8
|
* extract_affecting_use: _get_useflag_re(eapi)Zac Medico2011-06-081-1/+2
| | | | | This is needed for EAPI="4-python" added in commit 586760f37fb9784327d8447182d49810662f4427.
* Update timestamps in headers of modified files.Zac Medico2011-06-031-1/+1
|
* Use bool(digraph) instead of empty()/is_empty().Zac Medico2011-06-021-1/+1
|
* Use Package.use.force/mask attributes.Zac Medico2010-11-201-3/+1
|
* Remove unused imports found by pylint.Arfrever Frehtes Taifersar Arahesis2010-08-291-1/+0
|
* If there are circular dependencies, and circular_dependency_handlerZac Medico2010-08-281-0/+15
| | | | | | doesn't have a message, eliminate root nodes before calling digraph.debug_print(). If --debug is enabled then do this even if circular_dependency_handler has a message.
* circular dependency handler: Add support for REQUIRED_USESebastian Luther2010-08-201-13/+31
|
* circular dependency handler: Small code clean upsSebastian Luther2010-08-201-5/+6
|
* Move the clever parts of depgraph._show_circular_deps into its own module.Sebastian Luther2010-08-191-0/+227
This also fixes some bugs related to autounmask.