Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | EAPI 5 stable use.mask/force for bug #431078 | Zac Medico | 2012-08-24 | 1 | -0/+4 |
| | |||||
* | _pkg_str: pass in config + metadata with KEYWORDS | Zac Medico | 2012-08-24 | 1 | -4/+11 |
| | | | | | This will be needed in order to support stable use.mask/force for bug #431078. | ||||
* | Package: save validated_atoms as tuple | Zac Medico | 2012-06-22 | 1 | -2/+2 |
| | |||||
* | Add experimental EAPI 4-slot-abi support. | Zac Medico | 2012-06-22 | 1 | -4/+22 |
| | | | | Refer to 4-slot-abi.docbook for a full description. | ||||
* | Package: move SLOT validation to _pkg_str | Zac Medico | 2012-06-10 | 1 | -14/+9 |
| | |||||
* | Add a _get_slot_re() function. | Zac Medico | 2012-06-10 | 1 | -2/+2 |
| | |||||
* | Package: use _eapi_attrs | Zac Medico | 2012-06-10 | 1 | -3/+4 |
| | |||||
* | Package: calc visiblity on demand | Zac Medico | 2012-06-03 | 1 | -15/+34 |
| | | | | | | This delays visiblity calculations until after FakeVartree applies its metadata tweaks, so commit 650c960be3170bade8bb63ddedcd4796c75ec374 will work as intended. | ||||
* | _pkg_str: validate repo (move code from Package) | Zac Medico | 2012-05-13 | 1 | -10/+7 |
| | |||||
* | _pkg_str: add version attribute for comparisons | Zac Medico | 2012-05-13 | 1 | -7/+7 |
| | | | | | This attribute can be passed directly into vercmp, avoiding the need to generate this string many times. | ||||
* | _pkg_str: add slot and repo attributes | Zac Medico | 2012-05-12 | 1 | -5/+7 |
| | |||||
* | match_from_list: handle Package.UNKNOWN_REPO | Zac Medico | 2012-05-12 | 1 | -3/+4 |
| | |||||
* | Replace @returns with @return. | Zac Medico | 2012-03-27 | 1 | -2/+2 |
| | |||||
* | Use EROOT instead of ROOT for keys everywhere. | Zac Medico | 2011-10-25 | 1 | -4/+4 |
| | | | | | | | | | | It makes more sense to use EROOT instead of ROOT for keys in mappings like portage.db, since it allows for multiple prefixes to exist simultaneously within the same map without having a key collision. This affects all portageq commands which take a <root> parameter, since that parameter now corresponds to EROOT instead of ROOT. None of this makes any difference for non-prefix users, since EROOT and ROOT are identical when EPREFIX is empty. | ||||
* | Package: remove unused profile.system mask type | Zac Medico | 2011-08-08 | 1 | -1/+0 |
| | |||||
* | Remove "profile" mask support as per PMS 5.2.7. | Zac Medico | 2011-08-08 | 1 | -5/+0 |
| | | | | | | | | Since this is considered a "legacy" feature by PMS 5.2.7, there shouldn't be any need to support it anymore. Profiles can use package.mask to get similar results, and package.mask additionally allows for comments which are conveniently displayed by emerge. This will fix bug #377907. | ||||
* | Package.use: share identical frozenset instances | Zac Medico | 2011-06-26 | 1 | -4/+12 |
| | |||||
* | Package: add use.expand/expand_hidden attributes | Zac Medico | 2011-06-26 | 1 | -1/+20 |
| | | | | | This allows the merge list display to account for repository-level USE_EXPAND and USE_EXPAND_HIDDEN settings (see bug #370693). | ||||
* | MergeListItem: fix "unknown repo" display | Zac Medico | 2011-06-05 | 1 | -1/+2 |
| | | | | | The Package class uses an UNKNOWN_REPO constant so that MergeListItem can distinguish this case. | ||||
* | Package: add new _gen_hash_key method | Zac Medico | 2011-05-22 | 1 | -6/+39 |
| | |||||
* | Task: precalculate _hash_value | Zac Medico | 2011-05-19 | 1 | -0/+1 |
| | |||||
* | Task: remove unnecessary _get_hash_key() method | Zac Medico | 2011-05-19 | 1 | -4/+1 |
| | |||||
* | Package: precalculate _hash_key | Marat Radchenko | 2011-05-19 | 1 | -11/+9 |
| | | | | | This eliminates an expensive getattr call in _get_hash_key(), which greatly improves depgraph performance on a weak ARM cpu. | ||||
* | repoman: remove most old-style virtual checks | Zac Medico | 2011-05-01 | 1 | -1/+2 |
| | | | | | | | | | PROVIDE virtuals have been banned from Gentoo's tree (see bug #365505), so these checks aren't needed anymore. The PROVIDE.syntax check is kept in the Package class since PROVIDE is still supported for backward compatibility, and therefore invalid syntax can still have negative effects. This check can be removed if/when backward compatibilty is completely dropped. | ||||
* | Display: Simplify mask code for bug #58416. | Zac Medico | 2011-01-31 | 1 | -15/+16 |
| | | | | | | Hopefully this makes the logic more understandable, though it may support fewer cases. If we want to handle more cases then hopefully we can do it without making the code too complex. | ||||
* | fix the problem of mixing "**" and ebuild keywords for only some archs | Brian Dolbec | 2011-01-30 | 1 | -1/+6 |
| | |||||
* | Fix a typo. | Arfrever Frehtes Taifersar Arahesis | 2011-01-30 | 1 | -2/+2 |
| | |||||
* | Use the new _getRawMissingKeyword() which optimizes the keyword display. ↵ | Brian Dolbec | 2011-01-30 | 1 | -13/+13 |
| | | | | Misc. whitespace cleanup | ||||
* | add a new function to MaskManager that optimizies getting any raw mask atoms | Brian Dolbec | 2011-01-30 | 1 | -23/+6 |
| | |||||
* | optimize isHardMasked() a little more | Brian Dolbec | 2011-01-30 | 1 | -5/+2 |
| | |||||
* | Move most of the code to _emerge's Package object. Refine the hardmasking ↵ | Brian Dolbec | 2011-01-30 | 1 | -0/+45 |
| | | | | code, optimizing as much as possible. | ||||
* | depgraph: prefer highest priority repo more often | Zac Medico | 2011-01-02 | 1 | -0/+7 |
| | | | | | | Prefer the highest priority repo, even when the ebuild from the higher priority repo requires USE adjustments due to USE deps or REQUIRED_USE. This will fix bug #350254. | ||||
* | Package.operation: eliminate duplicate code | Zac Medico | 2010-12-22 | 1 | -9/+5 |
| | |||||
* | Package: Use IUSE to validate built USE | Zac Medico | 2010-12-04 | 1 | -0/+8 |
| | |||||
* | Add Package.use.force/mask attributes. | Zac Medico | 2010-11-20 | 1 | -10/+57 |
| | |||||
* | Fix 'repository' KeyError in Package constructor. | Zac Medico | 2010-10-05 | 1 | -1/+1 |
| | |||||
* | Ensure valid Package.metadata['repository']. | Zac Medico | 2010-10-05 | 1 | -6/+7 |
| | |||||
* | Ensure that Package.repo is always valid. | Zac Medico | 2010-10-05 | 1 | -1/+4 |
| | |||||
* | Clean up repo handling for depgraph pkg_cache. | Zac Medico | 2010-10-04 | 1 | -1/+7 |
| | |||||
* | Omit repo from mtimedb resume mergelist entries since the format | Zac Medico | 2010-09-27 | 1 | -0/+10 |
| | | | | is intended to be frozen. | ||||
* | reposyntax: Add support all over the place | Sebastian Luther | 2010-09-26 | 1 | -5/+11 |
| | |||||
* | Make Package __str__ and __unicode__ methods more like DependencyArg. | Zac Medico | 2010-09-16 | 1 | -1/+9 |
| | |||||
* | In Package._validate_deps(), force unicode format string in | Zac Medico | 2010-09-14 | 1 | -1/+4 |
| | | | | check_required_use() exception handling (for python-2.x safety). | ||||
* | Make Package._metadata_exception() use unicode format strings in order | Zac Medico | 2010-09-14 | 1 | -3/+14 |
| | | | | | | | | | | | | | | | | | | to avoid UnicodeDecodeError in python-2.x. This issue was reported in forum thread http://forums.gentoo.org/viewtopic-t-844623.html where the following traceback was posted: File "/usr/lib/portage/pym/_emerge/FakeVartree.py", line 195, in _pkg type_name="installed") File "/usr/lib/portage/pym/_emerge/Package.py", line 64, in __init__ self._validate_deps() File "/usr/lib/portage/pym/_emerge/Package.py", line 93, in _validate_deps self._metadata_exception(k, e) File "/usr/lib/portage/pym/_emerge/Package.py", line 242, in _metadata_exception "%s: %s in '%s'" % (k, e, path)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 22: ordinal not in range(128) | ||||
* | Only initialize Package.inherited to an empty set when it is None. | Zac Medico | 2010-09-14 | 1 | -1/+2 |
| | |||||
* | Ensure that Package.inherited is always initialized, even if there is no | Zac Medico | 2010-09-14 | 1 | -0/+1 |
| | | | | INHERITED metadata available (like for binary packages). | ||||
* | Make Package.metadata.defined_phases return all possible phases when | Zac Medico | 2010-09-09 | 1 | -1/+11 |
| | | | | | DEFINED_PHASES is undefined. This makes it easy to do containment checks to see if it's safe to skip execution of a given phase. | ||||
* | Fix Package._validate_deps() to pass matchall=True to use_reduce(). | Zac Medico | 2010-08-27 | 1 | -4/+4 |
| | |||||
* | Use InvalidDependString import instead of | Zac Medico | 2010-08-27 | 1 | -6/+6 |
| | | | | portage.exception.InvalidDependString. | ||||
* | Use Package._metadata_exception() to handle invalid LICENSE, PROPERTIES, | Zac Medico | 2010-08-27 | 1 | -12/+22 |
| | | | | | PROVIDE, and RESTRICT, and generate IUSE.missing errors for repoman when appropriate. |