summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
Commit message (Collapse)AuthorAgeFilesLines
* Enable /etc/portage/sets for stable, bug #384061.Zac Medico2012-06-223-18/+32
|
* Add experimental EAPI 4-slot-abi support.Zac Medico2012-06-228-21/+410
| | | | Refer to 4-slot-abi.docbook for a full description.
* getportageversion: handle repo: in parent fileZac Medico2012-06-221-0/+15
|
* action_build: always display_problemsZac Medico2012-06-211-0/+10
|
* resolver/output: cleanup countersZac Medico2012-06-201-16/+9
|
* depgraph._complete_graph: old virt sanity checkZac Medico2012-06-201-3/+5
|
* 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._iter_atoms_for_pkg: fix for --rebuild-*Zac Medico2012-06-192-10/+27
| | | | | | The SetArg instances that are generated for --rebuild-if-* behvior need to be passed into _set_args() in order for _iter_atoms_for_pkg to be aware of these arguments.
* depgraph: optimize slot conflict backtrack orderZac Medico2012-06-192-3/+15
|
* depgraph: defer slot conflict backtrackingZac Medico2012-06-181-91/+75
| | | | | | Defer slot conflict backtracking until after _complete_graph is used to complete the graph, so that all relevant reverse dependencies are available for making informed backtracking decisions.
* depgraph._add_pkg: preserve previous pkg depthZac Medico2012-06-171-0/+2
|
* depgraph: use package sets for rebuild/reinstallZac Medico2012-06-171-5/+21
|
* DependencyArg: add __slots__Zac Medico2012-06-173-3/+12
|
* _process_slot_conflicts: do one slot at a timeZac Medico2012-06-161-36/+37
| | | | | This allows us to avoid redundant processing of slots that have already been processed by a previous call.
* depgraph: split out _handle_slot_conflict methodZac Medico2012-06-161-120/+129
|
* depgraph: simplify _select_pkg_highest_availableZac Medico2012-06-161-8/+0
| | | | | | This hunk of code is no longer needed since the content of _highest_pkg_cache is discarded each time a package is added to the graph.
* depgraph: _autounmask in _highest_pkg_cache keyZac Medico2012-06-161-1/+1
|
* Add USE + license autounmask for bug #420847.Zac Medico2012-06-151-2/+7
|
* Move post_src_install metadata code to one func.Zac Medico2012-06-111-2/+2
|
* Package: move SLOT validation to _pkg_strZac Medico2012-06-101-14/+9
|
* Add a _get_slot_re() function.Zac Medico2012-06-101-2/+2
|
* Package: use _eapi_attrsZac Medico2012-06-101-3/+4
|
* depgraph: pass use_reduce result to dep_checkZac Medico2012-06-081-34/+24
| | | | This allows us to avoid extraneous use_reduce/paren_enclose calls.
* Handle more import exceptions involving xml.Zac Medico2012-06-041-2/+11
| | | | See http://bugs.python.org/issue14988
* Package: calc visiblity on demandZac Medico2012-06-031-15/+34
| | | | | | This delays visiblity calculations until after FakeVartree applies its metadata tweaks, so commit 650c960be3170bade8bb63ddedcd4796c75ec374 will work as intended.
* FakeVartree: use KEYWORDS from unbuilt ebuildZac Medico2012-06-031-1/+1
| | | | | | This allows us to avoid triggering the code from bug #350285 (see commit b7de3d1fb10e40b4ef03462f8a145968689ac587) in cases when the KEYWORDS from the unbuilt ebuild would unmask the package.
* Use any() to optimize intersection operations.Zac Medico2012-05-301-18/+16
|
* _wildcard_set: specify allow_repo=FalseZac Medico2012-05-301-2/+2
| | | | | This make is behave as it did prior to the change in Atom constructor behavior in commit 587cce4816afc7d57b3edf0be6c0670ec0be89c9.
* depgraph: send output to stderr when appropriateZac Medico2012-05-141-70/+48
| | | | | | This also removes the stderr -> stdout redirect from display_problems, since the app-portage/autounmask program is no longer supported, and that will fix bug #406867.
* BlockerCache: use _unicode() for pickled atomsZac Medico2012-05-131-2/+2
|
* _pkg_str: validate repo (move code from Package)Zac Medico2012-05-131-10/+7
|
* unmerge: use cpv_sort_key instead of pkgcmpZac Medico2012-05-131-10/+12
|
* _pkg_str: add version attribute for comparisonsZac Medico2012-05-131-7/+7
| | | | | This attribute can be passed directly into vercmp, avoiding the need to generate this string many times.
* depgraph: minimize match_from_list operationsZac Medico2012-05-131-58/+64
| | | | | | In _iter_match_pkgs, call match_from_list on one cpv at a time, in order to avoid unnecessary match_from_list comparisons on versions that are never yielded from this method.
* _pkg_str: add slot and repo attributesZac Medico2012-05-121-5/+7
|
* match_from_list: handle Package.UNKNOWN_REPOZac Medico2012-05-121-3/+4
|
* Add a _pkg_str class to cache catpkgsplit resultsZac Medico2012-05-121-2/+5
| | | | | This will compensate for the removal of the catpkgsplit cache in commit 68888b0450b1967cb70673a5f06b04c167ef879c.
* PollScheduler: use local EventLoop (thread safe)Zac Medico2012-05-105-9/+19
| | | | | | | For API consumers, this makes the doebuild() function compatible with threads, avoiding a ValueError raised by the signal module, as reported at http://bugs.sabayon.org/show_bug.cgi?id=3305. Classes derived from PollScheduler still use the signal module when possible.
* Don't write or trust cache for unsupported EAPIs.Zac Medico2012-05-104-27/+35
| | | | | | Since we're supposed to be able to efficiently obtain the EAPI from _parse_eapi_ebuild_head, we don't need to write or trust cache entries for unsupported EAPIs.
* EbuildMetadataPhase: handle empty EAPI from bashZac Medico2012-05-091-1/+2
|
* Split out eapi_invalid function.Zac Medico2012-05-091-39/+9
|
* Show unsatisfied REQUIRED_USE for bug #415125.Zac Medico2012-05-091-4/+9
|
* Parse EAPI with pattern from PMS section 7.3.1.Zac Medico2012-05-092-32/+88
| | | | | | | | This implements the specification that was approved in Gentoo's council meeting on May 8, 2012 (see bug #402167). The parse-eapi-ebuild-head FEATURES setting is now enabled by default, and causes non-conformant ebuilds to be treated as invalid. This behavior will soon become enabled unconditionally.
* composite_db._visible: fix AttributeErrorZac Medico2012-05-021-1/+1
|
* dbapi.cp_list: remove special case for virtualsZac Medico2012-04-221-4/+4
| | | | | | | Since commit d603f1440c814377fbc1965729fd9b6b008cf76d, the match caches use the result from dep_expand for the cache_key, so the caches are free of old-style virtual mappings. This allows the match caches to be safely shared with cp_list.
* dbapi: account for unevaluated_atom in cachesZac Medico2012-04-202-8/+13
| | | | | This will fix bug 412391. This is analogous to the bug fixed in commit 5438bb29c996d777b6343515995176912a7c137f.
* Show config updates later for bug #412845.Zac Medico2012-04-201-2/+1
|
* Avoid redundant news display for bug #412161.Zac Medico2012-04-161-1/+4
|
* EbuildBinpkg: remove temp file on failureZac Medico2012-04-131-1/+5
|
* depgraph._complete_graph: fix for --root-depsv2.2.0_alpha100Zac Medico2012-04-051-1/+2
|