Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | best_match_to_list: use _pkg_str | Zac Medico | 2012-05-13 | 1 | -7/+5 | |
| | ||||||
* | match_from_list: avoid multiple meanings of mycpv | Zac Medico | 2012-05-13 | 1 | -2/+2 | |
| | ||||||
* | cpvequal: use _pkg_str | Zac Medico | 2012-05-13 | 1 | -8/+19 | |
| | ||||||
* | match_from_list: preserve input in result | Zac Medico | 2012-05-13 | 1 | -4/+6 | |
| | | | | | This fixes an unintended change in behavior from commit f31320b67c9f593a2a8592e1a4e547f5f641943a. | |||||
* | _pkg_str: add version attribute for comparisons | Zac Medico | 2012-05-13 | 1 | -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_REPO | Zac Medico | 2012-05-12 | 1 | -1/+4 | |
| | ||||||
* | Add a _pkg_str class to cache catpkgsplit results | Zac Medico | 2012-05-12 | 1 | -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 Arahesis | 2012-05-12 | 1 | -11/+11 | |
| | ||||||
* | Allow dots in package names in EAPI="4-python". | Arfrever Frehtes Taifersar Arahesis | 2012-05-12 | 1 | -23/+48 | |
| | ||||||
* | dep.__init__: move writemsg import to top | Zac Medico | 2012-04-22 | 1 | -2/+1 | |
| | ||||||
* | Replace @returns with @return. | Zac Medico | 2012-03-27 | 1 | -1/+1 | |
| | ||||||
* | Support repository dependencies in EAPI="4-python". | Arfrever Frehtes Taifersar Arahesis | 2012-01-16 | 1 | -2/+6 | |
| | ||||||
* | ExtendedAtomDict: fix for python-trace | Zac Medico | 2012-01-10 | 1 | -4/+7 | |
| | ||||||
* | Fix missed ROOT -> EROOT changes. | Zac Medico | 2011-10-27 | 1 | -2/+6 | |
| | | | | These go along with commit a715b65f7bd36409c1283e6911265d1f4405ab7a. | |||||
* | match_to_list: preserve order | Zac Medico | 2011-10-05 | 1 | -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 number | Zac Medico | 2011-10-03 | 1 | -1/+35 | |
| | | | | This should fix the issue shown in bug 375265, comment #10. | |||||
* | Fix Atom.with_repo() bugs. | Zac Medico | 2011-09-22 | 1 | -5/+2 | |
| | ||||||
* | Atom: add a with_repo method for adding a repo | Zac Medico | 2011-09-22 | 1 | -0/+12 | |
| | ||||||
* | Atom: add a with_slot method for adding a slot | Zac Medico | 2011-09-10 | 1 | -0/+8 | |
| | ||||||
* | Improve indentation for readability. | Arfrever Frehtes Taifersar Arahesis | 2011-06-23 | 1 | -2/+2 | |
| | ||||||
* | Fix some typoes in docs and comments.v2.2.0_alpha39 | Zac Medico | 2011-06-09 | 1 | -1/+1 | |
| | ||||||
* | useflag/dep_re: less strict if eapi None | Zac Medico | 2011-06-09 | 1 | -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 parens | Arfrever Frehtes Taifersar Arahesis | 2011-06-09 | 1 | -0/+3 | |
| | | | | This will fix bug #370565. | |||||
* | Atom: avoid TypeError with PyPy | Zac Medico | 2011-06-08 | 1 | -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 Medico | 2011-06-08 | 1 | -2/+2 | |
| | | | | | This is needed for EAPI="4-python" added in commit 586760f37fb9784327d8447182d49810662f4427. | |||||
* | Add initial support for EAPI="4-python". | Arfrever Frehtes Taifersar Arahesis | 2011-06-08 | 1 | -12/+10 | |
| | ||||||
* | dep_zapdeps: use digraph for preference selection | Zac Medico | 2011-05-30 | 1 | -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 code | Zac Medico | 2011-05-09 | 1 | -2/+13 | |
| | ||||||
* | extract_affecting_use: allow parens in atoms | Zac Medico | 2011-04-11 | 1 | -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 unicode | Zac Medico | 2011-03-17 | 1 | -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 error | Zac Medico | 2011-02-19 | 1 | -2/+4 | |
| | | | | This will fix bug #355629. | |||||
* | depgraph: avoid atom hash collisions in dep_check | Zac Medico | 2011-02-12 | 1 | -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_atoms | Zac Medico | 2011-02-12 | 1 | -3/+4 | |
| | ||||||
* | depgraph: fix distorted display of virtuals | Zac Medico | 2011-02-11 | 1 | -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 call | Zac Medico | 2011-02-08 | 1 | -4/+4 | |
| | | | | AttributeError: 'tuple' object has no attribute 'use' | |||||
* | expand_new_virtuals: handle None for myusev2.2.0_alpha22 | Zac Medico | 2011-02-07 | 1 | -1/+5 | |
| | ||||||
* | expand_new_virtuals: fix last commit USE handling | Zac Medico | 2011-02-07 | 1 | -2/+5 | |
| | ||||||
* | Update dates in headers. | Zac Medico | 2011-02-07 | 1 | -1/+1 | |
| | ||||||
* | paren_reduce: allow parens in atoms, for EAPI 4 | Zac Medico | 2011-02-07 | 1 | -1/+1 | |
| | | | | This will fix bug #354003. | |||||
* | expand_new_virtuals: fix logic from prev commit | Zac Medico | 2011-02-07 | 1 | -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 use | Zac Medico | 2011-02-07 | 1 | -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 hunk | Zac Medico | 2011-02-04 | 1 | -9/+0 | |
| | ||||||
* | REQUIRED_USE: fix parens display and test more | Zac Medico | 2011-02-04 | 1 | -9/+12 | |
| | ||||||
* | REQUIRED_USE: fix single child conditionals disp | Zac Medico | 2011-02-04 | 1 | -4/+4 | |
| | ||||||
* | check_required_use: clarify operator logic | Zac Medico | 2011-02-04 | 1 | -8/+7 | |
| | ||||||
* | REQUIRED_USE: fix parens display and test more | Zac Medico | 2011-02-04 | 1 | -13/+31 | |
| | ||||||
* | Remove from list by index, not search. | Zac Medico | 2011-02-03 | 1 | -1/+1 | |
| | ||||||
* | REQUIRED_USE: fix parens display and test more | Zac Medico | 2011-02-03 | 1 | -3/+32 | |
| | ||||||
* | REQUIRED_USE: fix parens display and test | Zac Medico | 2011-02-03 | 1 | -2/+5 | |
| | ||||||
* | REQUIRED_USE: display unsatisfied part | Zac Medico | 2011-02-03 | 1 | -5/+87 | |
| | | | | This will fix bug #353234. |