summaryrefslogtreecommitdiffstats
path: root/pym/portage/dep
Commit message (Collapse)AuthorAgeFilesLines
...
* best_match_to_list: use _pkg_strZac Medico2012-05-131-7/+5
|
* match_from_list: avoid multiple meanings of mycpvZac Medico2012-05-131-2/+2
|
* cpvequal: use _pkg_strZac Medico2012-05-131-8/+19
|
* match_from_list: preserve input in resultZac Medico2012-05-131-4/+6
| | | | | This fixes an unintended change in behavior from commit f31320b67c9f593a2a8592e1a4e547f5f641943a.
* _pkg_str: add version attribute for comparisonsZac Medico2012-05-131-7/+11
| | | | | This attribute can be passed directly into vercmp, avoiding the need to generate this string many times.
* match_from_list: handle Package.UNKNOWN_REPOZac Medico2012-05-121-1/+4
|
* Add a _pkg_str class to cache catpkgsplit resultsZac Medico2012-05-121-2/+6
| | | | | This will compensate for the removal of the catpkgsplit cache in commit 68888b0450b1967cb70673a5f06b04c167ef879c.
* Add portage.eapi.eapi_allows_dots_in_use_flags().Arfrever Frehtes Taifersar Arahesis2012-05-121-11/+11
|
* Allow dots in package names in EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2012-05-121-23/+48
|
* dep.__init__: move writemsg import to topZac Medico2012-04-221-2/+1
|
* Replace @returns with @return.Zac Medico2012-03-271-1/+1
|
* Support repository dependencies in EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2012-01-161-2/+6
|
* ExtendedAtomDict: fix for python-traceZac Medico2012-01-101-4/+7
|
* Fix missed ROOT -> EROOT changes.Zac Medico2011-10-271-2/+6
| | | | These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a.
* match_to_list: preserve orderZac Medico2011-10-051-1/+8
| | | | | This allows us to properly test behavior of best_match_to_list with different permutations of the input.
* best_match_to_list: order by version numberZac Medico2011-10-031-1/+35
| | | | This should fix the issue shown in bug 375265, comment #10.
* Fix Atom.with_repo() bugs.Zac Medico2011-09-221-5/+2
|
* Atom: add a with_repo method for adding a repoZac Medico2011-09-221-0/+12
|
* Atom: add a with_slot method for adding a slotZac Medico2011-09-101-0/+8
|
* Improve indentation for readability.Arfrever Frehtes Taifersar Arahesis2011-06-231-2/+2
|
* Fix some typoes in docs and comments.v2.2.0_alpha39Zac Medico2011-06-091-1/+1
|
* useflag/dep_re: less strict if eapi NoneZac Medico2011-06-091-4/+15
| | | | | When eapi is None then validation is not as strict, since we want the same to work for multiple EAPIs that may have slightly different rules.
* use_reduce: disallow empty parensArfrever Frehtes Taifersar Arahesis2011-06-091-0/+3
| | | | This will fix bug #370565.
* Atom: avoid TypeError with PyPyZac Medico2011-06-081-1/+5
| | | | | Our test cases pass in raw bytes here, which causes _atom_base.__init__ to raise TypeError with PyPy.
* extract_affecting_use: _get_useflag_re(eapi)Zac Medico2011-06-081-2/+2
| | | | | This is needed for EAPI="4-python" added in commit 586760f37fb9784327d8447182d49810662f4427.
* Add initial support for EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2011-06-081-12/+10
|
* dep_zapdeps: use digraph for preference selectionZac Medico2011-05-301-2/+9
| | | | | | | | | | This is required in order for dep_zapdeps to work as intended for solving cases of bug #264434 in which there is an installed package that may need to be uninstalled in order to resolve blockers. It fixes a failure to resolve blockers when attempting to replace media-video/ffmpeg with media-video/libav (symptom is similar to bug #339164, but with new-style virtual instead of old-style PROVIDE virtual).
* dep_check: avoid old-style virtuals codeZac Medico2011-05-091-2/+13
|
* extract_affecting_use: allow parens in atomsZac Medico2011-04-111-3/+5
| | | | | | | This fixes bug #363073 in which an InvalidDependString exception is erroneously triggered by atoms containing EAPI 4 USE dependency defaults. This case is very similar to bug #354003 which was fixed in commit 8735222b77e66850213e2aa6a7ea48e744ba0d4f.
* dep_check: return errors as unicodeZac Medico2011-03-171-4/+5
| | | | | | | | | | | This should prevent the following error due to returning raw bytes, reported in forum thread #869281: File "pym/_emerge/BlockerDB.py", line 72, in findInstalledBlockers portage.writemsg("!!! %s/*DEPEND: %s\n" % \ (pkg_location, atoms), noiselevel=-1) UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 23: ordinal not in range(128)
* check_required_use: improve missing IUSE errorZac Medico2011-02-191-2/+4
| | | | This will fix bug #355629.
* depgraph: avoid atom hash collisions in dep_checkZac Medico2011-02-121-8/+16
| | | | | | | | Atoms are stored in the graph as (atom, id(atom)) tuples since each atom is considered to be a unique entity. For example, atoms that appear identical may behave differently in USE matching, depending on their unevaluated form. Also, specially generated virtual atoms may appear identical while having different _orig_atom attributes.
* depgraph: return virtual edges from select_atomsZac Medico2011-02-121-3/+4
|
* depgraph: fix distorted display of virtualsZac Medico2011-02-111-0/+6
| | | | | | | | As mentioned in bug #353933, comment #4, special new-style virtual atoms generated/distorted by _expand_new_virtuals() can prevent extract_affecting_use() from working properly. This is fixed by saving the original atoms so that the depgraph can map them back into place at the appropriate step in dependency evaluation.
* expand_new_virtuals: fix pkg_use_enabled callZac Medico2011-02-081-4/+4
| | | | AttributeError: 'tuple' object has no attribute 'use'
* expand_new_virtuals: handle None for myusev2.2.0_alpha22Zac Medico2011-02-071-1/+5
|
* expand_new_virtuals: fix last commit USE handlingZac Medico2011-02-071-2/+5
|
* Update dates in headers.Zac Medico2011-02-071-1/+1
|
* paren_reduce: allow parens in atoms, for EAPI 4Zac Medico2011-02-071-1/+1
| | | | This will fix bug #354003.
* expand_new_virtuals: fix logic from prev commitZac Medico2011-02-071-1/+5
| | | | | | We need to evaluate conditionals for dependency matching purposes, though the unevaluated atom will still be available later for other purposes.
* expand_new_virtuals: save atom unevaluated useZac Medico2011-02-071-2/+2
| | | | | | | | This leads to a better unsatisfied USE message than the one reported in bug 353933, comment #3. TODO: Fix it so that these generated atoms don't break depgraph._get_dep_chain(), due to not being identical to the original atoms and therefore breaking extract_affecting_use().
* check_required_use: remove obsolete hunkZac Medico2011-02-041-9/+0
|
* REQUIRED_USE: fix parens display and test moreZac Medico2011-02-041-9/+12
|
* REQUIRED_USE: fix single child conditionals dispZac Medico2011-02-041-4/+4
|
* check_required_use: clarify operator logicZac Medico2011-02-041-8/+7
|
* REQUIRED_USE: fix parens display and test moreZac Medico2011-02-041-13/+31
|
* Remove from list by index, not search.Zac Medico2011-02-031-1/+1
|
* REQUIRED_USE: fix parens display and test moreZac Medico2011-02-031-3/+32
|
* REQUIRED_USE: fix parens display and testZac Medico2011-02-031-2/+5
|
* REQUIRED_USE: display unsatisfied partZac Medico2011-02-031-5/+87
| | | | This will fix bug #353234.