Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a _pkg_str class to cache catpkgsplit results | Zac Medico | 2012-05-12 | 6 | -13/+68 |
| | | | | | This will compensate for the removal of the catpkgsplit cache in commit 68888b0450b1967cb70673a5f06b04c167ef879c. | ||||
* | catpkgsplit: don't cache results | Zac Medico | 2012-05-12 | 1 | -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. | ||||
* | prepstrip/ecompressdir: parallelize operations | Mike Frysinger | 2012-05-12 | 3 | -8/+104 |
| | | | | | | | | | | | Stealing some ideas from ferringb, add a new API for doing parallel processing in bash, and then deploy this with the stripping and compressing stages. For stripping coreutils which has about 100 ELFs, this brings time to strip down from ~7 seconds to ~0.7 seconds on my system. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | Add portage.eapi.eapi_allows_dots_in_use_flags(). | Arfrever Frehtes Taifersar Arahesis | 2012-05-12 | 2 | -11/+14 |
| | |||||
* | Allow dots in package names in EAPI="4-python". | Arfrever Frehtes Taifersar Arahesis | 2012-05-12 | 6 | -51/+113 |
| | |||||
* | Fix handling of empty PORTDIR{,_OVERLAY} setting. | Zac Medico | 2012-05-11 | 1 | -2/+2 |
| | |||||
* | Cleanup profile-formats code.v2.2.0_alpha104 | Zac Medico | 2012-05-11 | 2 | -3/+9 |
| | |||||
* | RepoConfig: sort __slots__ | Zac Medico | 2012-05-11 | 1 | -3/+3 |
| | |||||
* | Avoid redundant layout.conf parsing. | Zac Medico | 2012-05-11 | 3 | -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 profile | Zac Medico | 2012-05-11 | 1 | -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.repositories | Zac Medico | 2012-05-11 | 2 | -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_repos | Zac Medico | 2012-05-11 | 1 | -3/+3 |
| | |||||
* | PollScheduler: use local EventLoop (thread safe) | Zac Medico | 2012-05-10 | 6 | -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 Medico | 2012-05-10 | 7 | -82/+51 |
| | | | | | | 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 Arahesis | 2012-05-10 | 1 | -6/+3 |
| | | | | | which use EAPI="4-python". This fixes regression introduced in commit 1c26d24dfc869a6f5ef426f7c02e1d25abcda34e. | ||||
* | porttree.py: remove unused importsv2.2.0_alpha103 | Zac Medico | 2012-05-09 | 1 | -2/+0 |
| | |||||
* | Refer to bug #402167 where appropriate. | Zac Medico | 2012-05-09 | 2 | -2/+2 |
| | |||||
* | doebuild_environment: clean up EAPI related code | Zac Medico | 2012-05-09 | 1 | -31/+29 |
| | |||||
* | EbuildMetadataPhase: handle empty EAPI from bash | Zac Medico | 2012-05-09 | 1 | -1/+2 |
| | |||||
* | Split out eapi_invalid function. | Zac Medico | 2012-05-09 | 2 | -39/+55 |
| | |||||
* | ebuild.sh: remove redundant EAPI=0 default | Zac Medico | 2012-05-09 | 1 | -2/+0 |
| | |||||
* | Show unsatisfied REQUIRED_USE for bug #415125. | Zac Medico | 2012-05-09 | 1 | -4/+9 |
| | |||||
* | doebuild_environment: remove unused eapi parsing | Zac Medico | 2012-05-09 | 1 | -18/+2 |
| | |||||
* | Parse EAPI with pattern from PMS section 7.3.1. | Zac Medico | 2012-05-09 | 12 | -98/+132 |
| | | | | | | | | 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. | ||||
* | die: fix ${T}/build.log{,.gz} message | Zac Medico | 2012-05-08 | 1 | -2/+2 |
| | |||||
* | make.conf.5: COLLISION_IGNORE s/shell/fnmatch/v2.2.0_alpha102 | Zac Medico | 2012-05-08 | 1 | -3/+3 |
| | |||||
* | Strip EPREFIX in RESTRICT=binchecks QA Notice. | Zac Medico | 2012-05-08 | 1 | -2/+2 |
| | |||||
* | NEEDED.ELF.2: include sonames from $ORIGIN | Zac Medico | 2012-05-08 | 1 | -23/+2 |
| | | | | | | | | | This reverts the behavior change from bug #205531 (see commit 5baa57a65368472c2c22b9bd2b30e634ef644b92). That special handling should be unnecessary since the changes from bug #289180 (see commit 296fc63fee262600811520fccf4692f47a39ffba), where the LinkageMapELF.findConsumers() exclude_providers argument is used to exclude irrelevant consumers. | ||||
* | COLLISION_IGNORE: support fnmatch patterns | Zac Medico | 2012-05-07 | 4 | -29/+15 |
| | | | | | | This allows it to be combined with the COLLISION_IGNORE_UNOWNED variable from commit 33545ea18e8816addb3c54bb26a0cc788b8512e6, so only one variable is needed. | ||||
* | COLLISION_IGNORE: handle prefix | Zac Medico | 2012-05-05 | 1 | -3/+4 |
| | |||||
* | COLLISION_IGNORE_UNOWNED: tweak default *.py[co] | Zac Medico | 2012-05-05 | 1 | -1/+1 |
| | |||||
* | Enable globstar shell option by default in EAPI="4-python". | Arfrever Frehtes Taifersar Arahesis | 2012-05-05 | 2 | -0/+10 |
| | |||||
* | QA Notice for RESTRICT=binchecks + ELF files | Zac Medico | 2012-05-05 | 1 | -0/+6 |
| | |||||
* | Create NEEDED.ELF.2 despite RESTRICT=binchecks. | Zac Medico | 2012-05-05 | 1 | -37/+43 |
| | | | | | | This info is too useful not to have (it's required for things like preserve-libs), and it's tempting for ebuild authors to set RESTRICT=binchecks for packages containing pre-built binaries. | ||||
* | Support COLLISION_IGNORE_UNOWNED="*.pyc *.pyo" | Krzysztof Pawlik | 2012-05-04 | 4 | -2/+23 |
| | | | | This will fix bug #410691. | ||||
* | composite_db._visible: fix AttributeError | Zac Medico | 2012-05-02 | 1 | -1/+1 |
| | |||||
* | dispatch-conf: use shlex to parse diff command | Zac Medico | 2012-05-02 | 1 | -3/+7 |
| | |||||
* | validate_desktop_entry: handle Python 3.1 | Zac Medico | 2012-05-01 | 1 | -1/+6 |
| | |||||
* | Bug #413983: Add portage.util.urlopen(), which transparently | Arfrever Frehtes Taifersar Arahesis | 2012-05-01 | 4 | -19/+28 |
| | | | | handles authentication in the way compatible with Python 3. | ||||
* | Quote atoms in die message for bug #414201. | Zac Medico | 2012-05-01 | 1 | -2/+2 |
| | | | | This allows zsh users to copy/paste while avoiding = expansion. | ||||
* | repoman: ignore false Service desktop entry error | Zac Medico | 2012-04-30 | 2 | -4/+74 |
| | | | | This will fix bug #414125. | ||||
* | repoman: check LIVEVCS.stable for gentoo only | Zac Medico | 2012-04-30 | 1 | -1/+1 |
| | | | | This will fix bug #414123. | ||||
* | ebuild.sh: source /etc/portage/env scripts after /etc/portage/bashrc | James Le Cuirot | 2012-04-28 | 1 | -10/+12 |
| | | | | This will fix bug #413895. | ||||
* | LocationsManager: empty profiles_complex on error | Zac Medico | 2012-04-25 | 1 | -0/+1 |
| | | | | | This prevents an IndexError in code which assumes that profiles and profiles_complex are the same length. | ||||
* | repoman: fix portage.internal false positives | Zac Medico | 2012-04-23 | 1 | -2/+6 |
| | |||||
* | EapiDefinition: handle impossible "%d" % Nonev2.2.0_alpha101 | Zac Medico | 2012-04-22 | 1 | -3/+3 |
| | |||||
* | doebuild: cleanup tempfile if package phase fails | Zac Medico | 2012-04-22 | 1 | -0/+7 |
| | |||||
* | portageq: use return instead of sys.exit | Zac Medico | 2012-04-22 | 1 | -18/+18 |
| | |||||
* | dep.__init__: move writemsg import to top | Zac Medico | 2012-04-22 | 1 | -2/+1 |
| | |||||
* | repoman: cleanup code for KEYWORDS.invalid | Zac Medico | 2012-04-22 | 1 | -5/+5 |
| |