Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move ccache/distcc PATH code to doebuild_env.v2.2.0_alpha73 | Zac Medico | 2011-11-09 | 1 | -10/+0 |
| | |||||
* | Include EPREFIX directories in PATH. | Zac Medico | 2011-11-08 | 1 | -19/+0 |
| | | | | | This relocates the PATH generation code from ebuild.sh to doebuild_environment, which helps to eliminate duplicate code. | ||||
* | Avoid initial spaces in some variables. | Arfrever Frehtes Taifersar Arahesis | 2011-11-07 | 1 | -10/+10 |
| | |||||
* | Add EPREFIX and ED support in all ebuild helpers. | Zac Medico | 2011-11-01 | 1 | -3/+5 |
| | | | | This allows our prefix tests to use helpers like insinto, doins, and dosym. | ||||
* | ebuild.sh: make use* return false for "depend" | Zac Medico | 2011-09-12 | 1 | -1/+6 |
| | | | | This ensures that `use multislot` is false for the "depend" phase. | ||||
* | Move KV funcs to bashrc-functions.sh. | Zac Medico | 2011-09-11 | 1 | -2/+3 |
| | |||||
* | isolated-functions.sh: split save-ebuild-env.sh | Zac Medico | 2011-09-11 | 1 | -0/+1 |
| | |||||
* | ebuild.sh: setup PATH earlier | Zac Medico | 2011-09-11 | 1 | -7/+7 |
| | | | | | This avoids "uname: command not found" messages from isolated-functions.sh. | ||||
* | ebuild.sh: source *.sh at the top | Zac Medico | 2011-09-11 | 1 | -28/+28 |
| | |||||
* | Move preprocess_ebuild_env to phase-functions.sh. | Zac Medico | 2011-09-11 | 1 | -188/+0 |
| | |||||
* | ebuild.sh: split out bashrc-functions.sh | Zac Medico | 2011-09-11 | 1 | -92/+5 |
| | |||||
* | ebuild.sh: move hasg* funcs into econf | Zac Medico | 2011-09-11 | 1 | -8/+0 |
| | |||||
* | ebuild.sh: remove unused lchown and lchgrp | Zac Medico | 2011-09-11 | 1 | -8/+0 |
| | |||||
* | build.sh: has/best_version to phase-helpers.sh | Zac Medico | 2011-09-11 | 1 | -54/+5 |
| | |||||
* | ebuild.sh: move ebuild_main to phase-functions.sh | Zac Medico | 2011-09-11 | 1 | -223/+42 |
| | |||||
* | ebuild.sh: move use* funcs to phase-helpers.sh | Zac Medico | 2011-09-11 | 1 | -49/+1 |
| | |||||
* | ebuild.sh: add dummy funcs for "depend" phase | Zac Medico | 2011-09-11 | 1 | -0/+9 |
| | |||||
* | ebuild.sh: split out phase-helpers.sh | Zac Medico | 2011-09-10 | 1 | -520/+4 |
| | | | | | | | This relocates phase helper functions that are needed for execution of regular phases, but not for the "depend" phase. It reduces the size of ebuild.sh by 25%, so there's less code to be sourced during the "depend" phase. | ||||
* | ebuild.sh: split out phase-functions.sh | Zac Medico | 2011-09-10 | 1 | -608/+2 |
| | | | | | | | This relocates dyn_* and related functions that are needed for execution of regular phases, but not for the "depend" phase. It reduces the size of ebuild.sh by 23%, so there's less code to be sourced during the "depend" phase. | ||||
* | Revert "xml/metadata: implement XMLParser.doctype()" | Zac Medico | 2011-08-31 | 1 | -52/+36 |
| | | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included. | ||||
* | xml/metadata: implement XMLParser.doctype() | Zac Medico | 2011-08-31 | 1 | -36/+52 |
| | | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47. | ||||
* | doebuild: avoid redundant distfiles checks | Zac Medico | 2011-08-28 | 1 | -34/+3 |
| | | | | | | | | | When the unpack phase is already marked as complete, it's wasteful to check distfiles digests. In order to avoid this, we have to migrate the distfiles/workdir timestamp comparisons from ebuild.sh to doebuild.py, so that doebuild always knows when unpack will be triggered. This also allows us to eliminate code in dyn_unpack that duplicated dyn_clean, actually call dyn_clean instead. | ||||
* | unpack: remove backward compat for bug #376741v2.2.0_alpha50 | Zac Medico | 2011-08-02 | 1 | -12/+0 |
| | | | | | | | This case is extremely rare, since the most common practice is to unpack source files that are already in the cwd. The only Gentoo packages that needed to be fixed were games-arcade/tuxpuck and www-plugins/google-talkplugin. | ||||
* | unpack: always unpack to cwd (bug #376741) | Zac Medico | 2011-08-01 | 1 | -1/+15 |
| | | | | | | | This brings portage into agreement with PMS. Also, for existing EAPIs, if the source file is in a writable directory then this will create a symlink for backward-compatible emulation of tools like gunzip and bunzip2. | ||||
* | Skip QA Notice for hasq/useq during *rm phases. | Zac Medico | 2011-07-15 | 1 | -1/+2 |
| | |||||
* | Add QA Notice for hasq/useq calls (bug #199722). | Zac Medico | 2011-07-08 | 1 | -0/+1 |
| | |||||
* | Remove all hasq/useq calls for bug #199722. | Zac Medico | 2011-07-08 | 1 | -59/+59 |
| | |||||
* | Invert has/hasq and use/useq implementations. | Zac Medico | 2011-07-08 | 1 | -4/+4 |
| | | | | | We need to migrate away from hasq and useq since they are deprecated (bug #199722). | ||||
* | ebuild.sh: fix libdir for ccache/distcc | Zac Medico | 2011-06-09 | 1 | -2/+8 |
| | | | | This will fix bug #355283. | ||||
* | ebuild.sh: don't hardcode distcc pump path | Jeremy Murphy | 2011-06-09 | 1 | -2/+2 |
| | |||||
* | Add FEATURES=distcc-pump support. | MATSUU Takuto | 2011-05-20 | 1 | -0/+7 |
| | | | | This will fix bug #288597. | ||||
* | doebuild: use EbuildBuildDir for locking | Zac Medico | 2011-05-07 | 1 | -1/+1 |
| | | | | | | | | EbuildBuildDir also performs safe removal of the category when it is empty, so ebuild.sh/dyn_clean doesn't need to do it anymore. This fixes a race condition if one process is trying to remove the category directory while another one is trying to create it for PORTAGE_BUILDDIR. | ||||
* | Avoid evaluation of values of variables in set_unless_changed(). | Arfrever Frehtes Taifersar Arahesis | 2011-05-02 | 1 | -1/+1 |
| | |||||
* | ebuild.sh: make INHERITED independent of phase | Zac Medico | 2011-05-02 | 1 | -3/+11 |
| | | | | | | | When EBUILD_PHASE != depend, INHERITED comes pre-initialized from cache. In order to make INHERITED content independent of EBUILD_PHASE during inherit() calls, we unset INHERITED after we make a backup copy for QA checks. | ||||
* | Support multiple arguments in set_unless_changed() and unset_unless_changed(). | Arfrever Frehtes Taifersar Arahesis | 2011-05-01 | 1 | -18/+25 |
| | | | | Use VARIABLE=VALUE syntax for arguments of set_unless_changed(). | ||||
* | Bug #365439: Add set_unless_changed() and unset_unless_changed(). | Arfrever Frehtes Taifersar Arahesis | 2011-05-01 | 1 | -0/+28 |
| | |||||
* | Optimize ebuild.sh to cache preprocessing output. | David James | 2011-03-23 | 1 | -8/+8 |
| | | | | | | | | | | | | | Right now ebuild.sh runs preprocessing steps multiple times during the same build. It processes the same environment and produces the same output every time. This slows down the build unnecessarily. This optimization cuts build time for 50 binary packages with 16 jobs from 3m22 to 2m33 (33%). Change-Id: I72ac84cce2eb60d17736cc5f5343d4a858ec86f4 Review URL: http://codereview.chromium.org/6733008 | ||||
* | ebuild.sh: remove unused PWORKDIR variable | Zac Medico | 2011-02-21 | 1 | -6/+0 |
| | |||||
* | Update date headers in modified files. | Zac Medico | 2011-02-19 | 1 | -1/+1 |
| | |||||
* | _eapi4_src_install: handle empty DOCS like PMS | Zac Medico | 2011-02-19 | 1 | -1/+1 |
| | | | | This will fix bug #355635. | ||||
* | docompress, prepcompress: Add missing quotes. | Ulrich Mueller | 2011-02-19 | 1 | -2/+2 |
| | |||||
* | default_src_test: handle EAPI 4 emake failure | Zac Medico | 2011-02-06 | 1 | -4/+10 |
| | | | | This will fix bug #353897. | ||||
* | econf: check confgure --help for --disable-dep... | Zac Medico | 2011-01-12 | 1 | -1/+3 |
| | | | | This is the new behavior, for bug #211529. | ||||
* | ebuild.sh: skip QA_* init in "depend" phase | Zac Medico | 2011-01-09 | 1 | -20/+21 |
| | |||||
* | dyn_clean: remove .pretended | Zac Medico | 2010-12-31 | 1 | -1/+1 |
| | |||||
* | unpack: handle echo failure in unzip pipe | Zac Medico | 2010-12-29 | 1 | -1/+1 |
| | | | | This will fix bug #338744. | ||||
* | bash: as a general rule, use read -r | Zac Medico | 2010-12-29 | 1 | -2/+2 |
| | | | | This solves cases like bug #350045. | ||||
* | Substitute bash builtin >> for touch command. | Zac Medico | 2010-12-19 | 1 | -15/+25 |
| | | | | | It should be faster to use the bash builtin, and also allows us to avoid issues with touch breakage (like in bug #348640). | ||||
* | ebuild.sh: only run pretend once for ebuild(1) | Zac Medico | 2010-12-05 | 1 | -1/+9 |
| | |||||
* | EAPI 4: Support MERGE_TYPE (bug #347351) | Zac Medico | 2010-12-03 | 1 | -1/+2 |
| |