summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/resolver
Commit message (Collapse)AuthorAgeFilesLines
* Add workaround for Python 2.6.4 issue 4978Zac Medico2013-01-181-1/+3
| | | | | Avoid "TypeError: keywords must be strings" issue triggered by unicode_literals: http://bugs.python.org/issue4978
* Use unicode_literals more.Zac Medico2013-01-184-27/+46
| | | | | This helps to ensure consistent results, regardless of whether we're using Python 2 or Python 3.
* get_real_flag: handls use-dep default bug #446666Zac Medico2012-12-091-0/+3
|
* Package: add defined_phases, properties, restrictZac Medico2012-11-261-2/+2
|
* Rename Package.metadata to _metadata.Zac Medico2012-11-263-7/+7
| | | | | The raw metadata is considered a private low-level internal. This makes the Package class consistent with the _pkg_str class.
* Use Package.repo where appropriate.Zac Medico2012-11-261-5/+3
|
* Add Package.eapi property.Zac Medico2012-11-172-4/+4
|
* EAPI="4-python" and EAPI="5-progress": Add support for use.aliases and ↵Arfrever Frehtes Taifersar Arahesis2012-11-151-2/+3
| | | | package.use.aliases.
* backtracking: discard extra rebuilds, bug #439688Zac Medico2012-10-261-4/+22
|
* Add Display._append_repository() to avoid duplication of some code.Arfrever Frehtes Taifersar Arahesis2012-10-151-13/+18
|
* Display slots and subslots in output of `emerge -pv ${package}`.Arfrever Frehtes Taifersar Arahesis2012-10-152-22/+65
|
* Invert order of arguments in Display._set_non_root_columns() andArfrever Frehtes Taifersar Arahesis2012-10-141-6/+6
| | | | Display._set_root_columns() for consistency with Display._set_no_columns().
* Display.set_pkg_info(): Set cp and ver attributes.Arfrever Frehtes Taifersar Arahesis2012-10-141-3/+2
|
* simplify Display.convert_myoldbest().Zac Medico2012-10-131-2/+2
|
* Simplify Display.get_ver_str().Zac Medico2012-10-131-6/+4
|
* 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
|
* _create_use_string: pass in feature_flags argv2.2.0_alpha132Zac Medico2012-09-232-7/+8
| | | | This allows them to be looked up outside of the USE_EXPAND loop.
* Add _get_feature_flags(eapi_attrs) function.Zac Medico2012-09-232-4/+6
| | | | | | This will be useful for adding flags that behave specially in experimental EAPIs, such as the targetroot/sysroot flag which is planned for EAPI 5-hdepend.
* Display: simplify _blockersZac Medico2012-09-131-13/+6
| | | | | The fetch_symbol variable was always just a space, and no return value was really needed.
* merge list: distinguish reinstall with red "r"Zac Medico2012-09-132-2/+13
| | | | | This is for reinstall due to slot or sub-slot change of a dependency when the := slot operator is used.
* Refactor merge list attribute display.Zac Medico2012-09-132-84/+106
| | | | | This should not change the behavior at all, but it makes the display much easier to modify or extend.
* Bind FEATURES=-test to USE=-test for bug #373209.Zac Medico2012-09-131-3/+5
| | | | | | Also, make options like emerge --newuse ignore the state of USE=test, since users typically don't want to trigger a bunch of rebuilds when they enable or disable FEATURES=test.
* Rename slot-abi stuff to refer to slot-operator.Zac Medico2012-08-292-10/+10
| | | | | This makes it consistent with the language in the PMS eapi-5 branch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=5d6749ac9e5ddc5b1daaad7737b65fa81c6ece47
* Pass eapi to check_required_use more.Zac Medico2012-08-271-3/+6
|
* BacktrackParameter: fix runtime_pkg_mask copyZac Medico2012-06-271-1/+5
| | | | This caused the backtracker to bail out too early sometimes.
* slot_conflict_handler: handle slot_abiZac Medico2012-06-271-14/+30
| | | | | We have to distinguish this from the "version" conflict, in order to avoid invalid vercmp calls when there's not version.
* Slot conflict "abi" backtrack nodes non-terminal.Zac Medico2012-06-221-0/+2
|
* slot_abi_mask_built: don't discard other masksZac Medico2012-06-221-1/+3
|
* Add experimental EAPI 4-slot-abi support.Zac Medico2012-06-221-4/+13
| | | | Refer to 4-slot-abi.docbook for a full description.
* resolver/output: cleanup countersZac Medico2012-06-201-16/+9
|
* backtracking: only feedback first slot conflictZac Medico2012-06-201-6/+5
| | | | | | Only create BacktrackNode instances for the first conflict which occurred, since the conflicts that occurred later may have been caused by the first conflict.
* depgraph: optimize slot conflict backtrack orderZac Medico2012-06-191-1/+9
|
* Limit long slot conflict loop for bug #410801.Zac Medico2012-04-051-3/+15
|
* Replace @returns with @return.Zac Medico2012-03-271-4/+4
|
* emerge --changelog: show some log entries aboveZac Medico2012-03-221-3/+18
| | | | This will fix bug #373009.
* emerge --changelog: fix split ChangeLog bugsZac Medico2012-03-222-19/+46
| | | | | This should fix possible missing content when displaying split ChangeLogs (bug #389611), and also normalizes blank lines.
* spawn_nofetch: clone locked config, bug #408817Zac Medico2012-03-191-2/+1
| | | | | | It's unsafe to pass in an unlocked config instance, since that can trigger issues like bug #408817 due to fragile assumptions involving the config state inside doebuild_environment().
* Display: spawn pkg_nofetch when appropriateMartin von Gagern2012-03-131-1/+12
| | | | Signed-off-by: Zac Medico <zmedico@gentoo.org>
* Use consistent indentation in output of `emerge -p --columns ${package}`Arfrever Frehtes Taifersar Arahesis2012-01-281-2/+2
| | | | regardless of ROOT.
* Delete needless parentheses.Arfrever Frehtes Taifersar Arahesis2012-01-281-5/+5
|
* Don't print ::${repository} for main repository in output ofArfrever Frehtes Taifersar Arahesis2012-01-282-31/+38
| | | | | `emerge -pv ${package}` by default. Add --verbose-main-repo-display option, which enables printing ::${repository} for main repository.
* Fix display of installed version for packages, which have multiple slotsArfrever Frehtes Taifersar Arahesis2012-01-231-2/+3
| | | | installed. Follow-up to commit 8118be36842a2db2eb72538e21a3b343773b3365.
* Make the second part of_emerge.resolver.output.Display.verbose_size()Arfrever Frehtes Taifersar Arahesis2012-01-221-26/+24
| | | | | conditional on self.quiet_repo_display instead of earlier returning if self.quiet_repo_display is False. No functional changes.
* Print [${old_version}::${old_repository}] in output of `emerge -pv ${package}`Arfrever Frehtes Taifersar Arahesis2012-01-221-1/+3
| | | | | when ${old_version} is the same as ${new_version}, but ${old_repository} is different than ${new_repository}.
* Print ::${repository} in output of `emerge -pv ${package}` by default.Arfrever Frehtes Taifersar Arahesis2012-01-212-18/+45
| | | | Add --quiet-repo-display option, which enables previous, more quiet output.
* Display EROOT when ROOT != "/".Zac Medico2011-12-192-2/+2
| | | | | | | Since commit a715b65f7bd36409c1283e6911265d1f4405ab7a, the Package.root and RootConfig.root attributes refer to EROOT instead of ROOT. Therefore, adjust display code so that EROOT is only displayed when ROOT != "/".
* Fix some warnings found by pylint.Arfrever Frehtes Taifersar Arahesis2011-12-181-1/+1
|
* resolver/output: unused importsZac Medico2011-11-171-4/+3
|
* emerge --changelog: omit entry for current verZac Medico2011-11-171-1/+2
| | | | | This is a regression from commit 69d7f169ba2e27cf56746791331c63a019357100, reported in bug #390893.