summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/Package.py
Commit message (Collapse)AuthorAgeFilesLines
* get_real_flag: handle implicit iusev2.2.0_alpha147Zac Medico2012-12-091-2/+5
|
* get_real_flag: handls use-dep default bug #446666Zac Medico2012-12-091-2/+5
|
* Add Package.built_time property.Zac Medico2012-11-261-0/+9
|
* Package: add defined_phases, properties, restrictZac Medico2012-11-261-0/+12
|
* Rename Package.metadata to _metadata.Zac Medico2012-11-261-28/+32
| | | | | The raw metadata is considered a private low-level internal. This makes the Package class consistent with the _pkg_str class.
* Fix a typo.Arfrever Frehtes Taifersar Arahesis2012-11-221-1/+1
|
* Add Package.eapi property.Zac Medico2012-11-171-5/+9
|
* EAPI="4-python" and EAPI="5-progress": Add support for use.aliases and ↵Arfrever Frehtes Taifersar Arahesis2012-11-151-14/+47
| | | | package.use.aliases.
* Use constants for hardcoded *DEPEND lists.Zac Medico2012-09-251-1/+3
|
* repoman: rename most *DEPEND.* to dependency.*Zac Medico2012-09-251-2/+7
| | | | This makes it easier to add new types, like HDEPEND.
* Add experimental EAPI 5-hdepend support.Ambroz Bizjak2012-09-241-2/+2
|
* repoman: reject "built" slot-operator atomsZac Medico2012-09-161-2/+15
|
* Rename slot-abi stuff to refer to slot-operator.Zac Medico2012-08-291-2/+2
| | | | | 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
* EAPI 5: Profile IUSE injectionZac Medico2012-08-291-5/+8
| | | | | See bug #176467 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=d9040ab3482af5f790368bac5d053bf1cd760ba8
* Package: skip REQUIRED_USE validation if builtZac Medico2012-08-271-1/+1
|
* EAPI 5: REQUIRED_USE at-most-one-of ?? operatorZac Medico2012-08-271-1/+1
| | | | | See bug #354219 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=1c2dff2df2305aff88a734e3a2716de1bb69f3b6
* EAPI 5 stable use.mask/force for bug #431078Zac Medico2012-08-241-0/+4
|
* _pkg_str: pass in config + metadata with KEYWORDSZac Medico2012-08-241-4/+11
| | | | | This will be needed in order to support stable use.mask/force for bug #431078.
* Package: save validated_atoms as tupleZac Medico2012-06-221-2/+2
|
* Add experimental EAPI 4-slot-abi support.Zac Medico2012-06-221-4/+22
| | | | Refer to 4-slot-abi.docbook for a full description.
* 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
|
* 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.
* _pkg_str: validate repo (move code from Package)Zac Medico2012-05-131-10/+7
|
* _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.
* _pkg_str: add slot and repo attributesZac Medico2012-05-121-5/+7
|
* match_from_list: handle Package.UNKNOWN_REPOZac Medico2012-05-121-3/+4
|
* Replace @returns with @return.Zac Medico2012-03-271-2/+2
|
* Use EROOT instead of ROOT for keys everywhere.Zac Medico2011-10-251-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 typeZac Medico2011-08-081-1/+0
|
* Remove "profile" mask support as per PMS 5.2.7.Zac Medico2011-08-081-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 instancesZac Medico2011-06-261-4/+12
|
* Package: add use.expand/expand_hidden attributesZac Medico2011-06-261-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" displayZac Medico2011-06-051-1/+2
| | | | | The Package class uses an UNKNOWN_REPO constant so that MergeListItem can distinguish this case.
* Package: add new _gen_hash_key methodZac Medico2011-05-221-6/+39
|
* Task: precalculate _hash_valueZac Medico2011-05-191-0/+1
|
* Task: remove unnecessary _get_hash_key() methodZac Medico2011-05-191-4/+1
|
* Package: precalculate _hash_keyMarat Radchenko2011-05-191-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 checksZac Medico2011-05-011-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 Medico2011-01-311-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 archsBrian Dolbec2011-01-301-1/+6
|
* Fix a typo.Arfrever Frehtes Taifersar Arahesis2011-01-301-2/+2
|
* Use the new _getRawMissingKeyword() which optimizes the keyword display. ↵Brian Dolbec2011-01-301-13/+13
| | | | Misc. whitespace cleanup
* add a new function to MaskManager that optimizies getting any raw mask atomsBrian Dolbec2011-01-301-23/+6
|
* optimize isHardMasked() a little moreBrian Dolbec2011-01-301-5/+2
|
* Move most of the code to _emerge's Package object. Refine the hardmasking ↵Brian Dolbec2011-01-301-0/+45
| | | | code, optimizing as much as possible.
* depgraph: prefer highest priority repo more oftenZac Medico2011-01-021-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 codeZac Medico2010-12-221-9/+5
|
* Package: Use IUSE to validate built USEZac Medico2010-12-041-0/+8
|