summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* _pkg_str: add cpv attribute for match_from_listZac Medico2012-05-121-0/+2
|
* Check type of xml.etree.ElementTree.TreeBuilder before applyingArfrever Frehtes Taifersar Arahesis2012-05-131-4/+10
| | | | workaround for http://bugs.python.org/issue14007.
* test_digraph: fix get_cycles for PYTHONHASHSEEDZac Medico2012-05-122-7/+15
|
* test_digraph: fix bfs for PYTHONHASHSEED=randomZac Medico2012-05-121-4/+39
|
* test_stackLists: fix for PYTHONHASHSEED="random"Zac Medico2012-05-121-2/+2
|
* Add workaround for http://bugs.python.org/issue14007.Arfrever Frehtes Taifersar Arahesis2012-05-121-0/+4
|
* Add a _pkg_str class to cache catpkgsplit resultsZac Medico2012-05-126-13/+68
| | | | | This will compensate for the removal of the catpkgsplit cache in commit 68888b0450b1967cb70673a5f06b04c167ef879c.
* catpkgsplit: don't cache resultsZac Medico2012-05-121-7/+1
| | | | | | | | The cache has been subtly broken since commit eb2056631021a04b62c228206e44376f5c7a81ba when the eapi parameter was added. If necessary, we can add a cpv class (or something like that) in order to avoid redundant catpkgsplit calls in places like match_from_list.
* Add portage.eapi.eapi_allows_dots_in_use_flags().Arfrever Frehtes Taifersar Arahesis2012-05-122-11/+14
|
* Allow dots in package names in EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2012-05-124-49/+99
|
* Fix handling of empty PORTDIR{,_OVERLAY} setting.Zac Medico2012-05-111-2/+2
|
* Cleanup profile-formats code.v2.2.0_alpha104Zac Medico2012-05-112-3/+9
|
* RepoConfig: sort __slots__Zac Medico2012-05-111-3/+3
|
* Avoid redundant layout.conf parsing.Zac Medico2012-05-113-7/+17
| | | | | | By passing the RepoConfigLoader instance into LocationsManager, we can re-use previously parsed layout.conf data. The RepoConfigLoader instance will also be useful for bug #414961.
* config: load repositories before profileZac Medico2012-05-111-5/+19
| | | | | This is useful for bug #414961, since we want to have access to the repositories when we're loading the profile.
* config: propagate SYNC to self.repositoriesZac Medico2012-05-112-9/+6
| | | | | | This resolves a circular dependency on the SYNC variable, which is useful for bug #414961, since we want to be able to initialize self.repositories before the SYNC variable is known.
* config: use shlex to split known_reposZac Medico2012-05-111-3/+3
|
* PollScheduler: use local EventLoop (thread safe)Zac Medico2012-05-106-27/+51
| | | | | | | For API consumers, this makes the doebuild() function compatible with threads, avoiding a ValueError raised by the signal module, as reported at http://bugs.sabayon.org/show_bug.cgi?id=3305. Classes derived from PollScheduler still use the signal module when possible.
* Don't write or trust cache for unsupported EAPIs.Zac Medico2012-05-106-80/+44
| | | | | | Since we're supposed to be able to efficiently obtain the EAPI from _parse_eapi_ebuild_head, we don't need to write or trust cache entries for unsupported EAPIs.
* Make REPOSITORY variable again available in global scope of ebuilds,Arfrever Frehtes Taifersar Arahesis2012-05-101-6/+3
| | | | | which use EAPI="4-python". This fixes regression introduced in commit 1c26d24dfc869a6f5ef426f7c02e1d25abcda34e.
* porttree.py: remove unused importsv2.2.0_alpha103Zac Medico2012-05-091-2/+0
|
* Refer to bug #402167 where appropriate.Zac Medico2012-05-091-1/+1
|
* doebuild_environment: clean up EAPI related codeZac Medico2012-05-091-31/+29
|
* EbuildMetadataPhase: handle empty EAPI from bashZac Medico2012-05-091-1/+2
|
* Split out eapi_invalid function.Zac Medico2012-05-092-39/+55
|
* Show unsatisfied REQUIRED_USE for bug #415125.Zac Medico2012-05-091-4/+9
|
* doebuild_environment: remove unused eapi parsingZac Medico2012-05-091-18/+2
|
* Parse EAPI with pattern from PMS section 7.3.1.Zac Medico2012-05-097-89/+123
| | | | | | | | This implements the specification that was approved in Gentoo's council meeting on May 8, 2012 (see bug #402167). The parse-eapi-ebuild-head FEATURES setting is now enabled by default, and causes non-conformant ebuilds to be treated as invalid. This behavior will soon become enabled unconditionally.
* COLLISION_IGNORE: support fnmatch patternsZac Medico2012-05-072-16/+9
| | | | | | This allows it to be combined with the COLLISION_IGNORE_UNOWNED variable from commit 33545ea18e8816addb3c54bb26a0cc788b8512e6, so only one variable is needed.
* COLLISION_IGNORE: handle prefixZac Medico2012-05-051-3/+4
|
* Support COLLISION_IGNORE_UNOWNED="*.pyc *.pyo"Krzysztof Pawlik2012-05-042-2/+11
| | | | This will fix bug #410691.
* composite_db._visible: fix AttributeErrorZac Medico2012-05-021-1/+1
|
* dispatch-conf: use shlex to parse diff commandZac Medico2012-05-021-3/+7
|
* validate_desktop_entry: handle Python 3.1Zac Medico2012-05-011-1/+6
|
* Bug #413983: Add portage.util.urlopen(), which transparentlyArfrever Frehtes Taifersar Arahesis2012-05-013-12/+26
| | | | handles authentication in the way compatible with Python 3.
* repoman: ignore false Service desktop entry errorZac Medico2012-04-301-0/+70
| | | | This will fix bug #414125.
* LocationsManager: empty profiles_complex on errorZac Medico2012-04-251-0/+1
| | | | | This prevents an IndexError in code which assumes that profiles and profiles_complex are the same length.
* repoman: fix portage.internal false positivesZac Medico2012-04-231-2/+6
|
* EapiDefinition: handle impossible "%d" % Nonev2.2.0_alpha101Zac Medico2012-04-221-3/+3
|
* doebuild: cleanup tempfile if package phase failsZac Medico2012-04-221-0/+7
|
* dep.__init__: move writemsg import to topZac Medico2012-04-221-2/+1
|
* fakedbapi.cp_list: remove obsolete virtual codeZac Medico2012-04-221-2/+1
| | | | | This should have been included in commit d30db49bcaecbdeb20f6d4e180979b60b6260f69.
* portdbapi: update comment about repoman cachesZac Medico2012-04-221-1/+1
|
* dbapi.cp_list: remove special case for virtualsZac Medico2012-04-223-15/+12
| | | | | | | Since commit d603f1440c814377fbc1965729fd9b6b008cf76d, the match caches use the result from dep_expand for the cache_key, so the caches are free of old-style virtual mappings. This allows the match caches to be safely shared with cp_list.
* Add ${T}/build.log symlink to PORT_LOGDIR.Zac Medico2012-04-221-2/+20
| | | | | | This will fix bug #412865. This makes it easier on people who `emerge foo`, do stuff, `emerge foo`, do stuff, etc... to have the same path to the log in between runs.
* dbapi: account for unevaluated_atom in cachesZac Medico2012-04-205-29/+39
| | | | | This will fix bug 412391. This is analogous to the bug fixed in commit 5438bb29c996d777b6343515995176912a7c137f.
* Show config updates later for bug #412845.Zac Medico2012-04-201-2/+1
|
* mergeme: cleanup hardlink_candidates, bug #412453Greg Turner2012-04-171-5/+4
|
* Avoid redundant news display for bug #412161.Zac Medico2012-04-161-1/+4
|
* repoman: update EAPI.definition check for PMSZac Medico2012-04-151-9/+25
| | | | | | The plan is to update PMS section 8.3.1 as discussed here: http://archives.gentoo.org/gentoo-pms/msg_ef7635aa655913f2386e64e385f5a6ae.xml