summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* _get_pv_re: use _eapi_attrsZac Medico2012-06-101-13/+20
|
* dep: remove old "DEPEND SYNTAX" commentsZac Medico2012-06-101-14/+0
|
* use_reduce: use _eapi_attrsZac Medico2012-06-102-3/+5
|
* _get_eapi_attrs: move to eapi moduleZac Medico2012-06-102-32/+31
|
* dep: move regex constants to top of fileZac Medico2012-06-101-16/+17
|
* _get_atom_wildcard_re: use _eapi_attrsZac Medico2012-06-101-16/+22
|
* _get_atom_re: share cache between more EAPIsZac Medico2012-06-101-4/+6
|
* _get_useflag_re: use _eapi_attrsZac Medico2012-06-101-20/+28
|
* _get_usedep_re: use _eapi_attrsZac Medico2012-06-101-33/+43
|
* Atom: use _eapi_attrs in constructorZac Medico2012-06-101-10/+15
|
* _get_atom_re: handle many combinationsZac Medico2012-06-101-19/+43
| | | | | | A namedtuple of _eapi_attrs is used to hash atom regular expressions, making it easy to handle many different combinations, as will be necessary for the addition of new features such as abi-slot deps.
* cache/sqlite.py: dynamically add columns to tableZac Medico2012-06-101-2/+40
|
* InheritEclass: avoid false positive in func regexZac Medico2012-06-081-5/+6
|
* depgraph: pass use_reduce result to dep_checkZac Medico2012-06-083-42/+38
| | | | This allows us to avoid extraneous use_reduce/paren_enclose calls.
* InheritEclass: avoid false positive in func regexZac Medico2012-06-071-2/+5
|
* parse_layout_conf: fix cache-formats pms fallbackZac Medico2012-06-051-3/+3
| | | | | This fixes an issue where egencache would not generate metadata/cache unless the directory already existed.
* Handle more import exceptions involving xml.Zac Medico2012-06-043-5/+24
| | | | See http://bugs.python.org/issue14988
* InheritEclass: exempt auto/libtool for multilibZac Medico2012-06-031-1/+1
|
* InheritEclass: exempt autotools for libtoolZac Medico2012-06-031-1/+2
|
* 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.
* Delete workaround for http://bugs.python.org/issue14007.Arfrever Frehtes Taifersar Arahesis2012-06-031-10/+0
|
* InheritEclass: remove unused inherited_api codeZac Medico2012-06-011-14/+0
|
* InheritEclass: exempt eclasses that export src_*Zac Medico2012-06-011-3/+35
| | | | | We really need to annotate exceptions like these directly in the eclasses, but hardcode them for now.
* InheritEclass: kde4-base exemptionsZac Medico2012-06-011-2/+2
|
* InheritEclass: add stable / conservative modeZac Medico2012-06-012-2/+29
|
* config: whitelist PORTAGE_COMPRESS, don't save itZac Medico2012-06-011-1/+2
|
* config: lazy VirtualsManager instantiationZac Medico2012-06-011-3/+10
|
* config: lazy MaskManager instantiationZac Medico2012-06-011-6/+14
|
* config: lazy KeywordsManager instantiationZac Medico2012-06-011-5/+18
| | | | | | This allows a config instance to be instantiated by portageq, while accessing /etc/portage/package.keywords only on demand, solving bug #418475 by avoiding PermissionDenied exceptions when possible.
* portageexit: skip SANDBOX_ON checkZac Medico2012-06-011-2/+1
| | | | | This check is redundant, since the portdbapi constructor already has special SANDBOX_ON / SANDBOX_WRITE handling.
* grablines: raise PermissionDenied if appropriateZac Medico2012-06-011-2/+13
|
* portageexit: skip secpass checkZac Medico2012-06-011-1/+1
| | | | | | The portdbapi should handle secpass already internally, and access to secpass here can trigger unnecessary instantiation of a config instance via the portage.data module.
* InheritEclass: base and cmake-utils exemptionsZac Medico2012-05-311-1/+5
|
* InheritEclass: support inherit after && or ||Zac Medico2012-05-311-1/+1
|
* InheritEclass: exempt vim for eutilsZac Medico2012-05-311-1/+1
|
* InheritEclass: fix autotools for polylib-9999Zac Medico2012-05-301-2/+2
|
* InheritEclass: support subclass inherited_apiZac Medico2012-05-301-5/+18
|
* InheritEclass: move eclass info to a dictZac Medico2012-05-301-84/+91
| | | | | This handles the info more like it will be handled when we parse it directly from eclasses.
* Use any() to optimize intersection operations.Zac Medico2012-05-304-34/+29
|
* _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.
* portage.dep.Atom: Ignore allow_repo argument when non-None eapi is passed.Arfrever Frehtes Taifersar Arahesis2012-05-301-4/+9
| | | | Allow repository when allow_repo=False is not passed and eapi=None is passed.
* repoman: add a mini framework for checking eclasses, and fill it outMike Frysinger2012-05-252-49/+113
| | | | | | | | | | | | | Rather than copying & pasting the same behavior for the different eclass checks, add a common class for them to extend. This makes adding more eclass checks trivial, and keeps down bitrot. This does abuse the checking interface slightly -- the eclass will change its category between unused and missing based on the checks. URL: https://bugs.gentoo.org/417159 URL: https://bugs.gentoo.org/417231 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* repoman: unroll escaped lines so we can check the entirety of itMike Frysinger2012-05-251-12/+53
| | | | | | | | | Sometimes people wrap long lines in their ebuilds to make it easier to read, but this causes us issues when doing line-by-line checking. So automatically unroll those lines before passing the full content down to our checkers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* reconstruct_eclasses: unicode hashes for python2v2.2.0_alpha108Zac Medico2012-05-241-2/+5
|
* validate_entry: handle KeyError for bug #417253Zac Medico2012-05-231-1/+6
| | | | This error is triggered by corrupt cache entries.
* Profile parent repo: references for bug #414961.Zac Medico2012-05-202-5/+45
| | | | | | | | | If "profile-formats = portage-2" is specified in metadata/layout.conf, then paths such as 'gentoo:targets/desktop' or ':targets/desktop' in profile parent files can be used to express paths relative to the root 'profiles' directory of a repository. When the repo name is omitted before the colon, it refers to the current repository that the parent file is inside of.
* movefile: fix abs symlink adjustment, bug #416431Zac Medico2012-05-171-3/+3
|
* merge: fix abs symlink adjustment, bug #416431László Szalma2012-05-171-1/+1
|
* getconfig: only raise ParseErrorv2.2.0_alpha107Zac Medico2012-05-161-1/+1
|