Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | fix QA_EXECSTACK spelling for QA_PREBUILT | Zac Medico | 2010-12-02 | 1 | -1/+1 |
| | | | | | Thanks to Sébastien Fabbro <bicatali@gentoo.org> for reporting in bug #346847. | ||||
* | debug-print: don't stat $T during depend phasev2.2.0_alpha2 | Zac Medico | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | ebuild: move SANDBOX_ON=0 setting later | Zac Medico | 2010-10-27 | 1 | -3/+3 |
| | |||||
* | Only addwrite for tmp dirs if sandbox is enabled. | Zac Medico | 2010-10-27 | 1 | -1/+1 |
| | | | | This should fix bug #307729. | ||||
* | debug-print-function: output like older portage | Zac Medico | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | debug-print: permission fixes | Zac Medico | 2010-10-27 | 1 | -4/+7 |
| | |||||
* | Simplify retval checks in has_version() and best_version(). | Michał Górny | 2010-10-24 | 1 | -10/+4 |
| | |||||
* | Simplify debug-print*() functions code. | Michał Górny | 2010-10-24 | 1 | -20/+12 |
| | | | | | Make debug-print() and friends a lot simpler. Thanks to Mike Frysinger for his suggestions. | ||||
* | Fix default() and default_src_install() definitions to account for | Zac Medico | 2010-09-20 | 1 | -0/+10 |
| | | | | the new EAPI 4 default src_install implementation. | ||||
* | Revert "Add option -s to docompress command." | Ulrich Mueller | 2010-09-20 | 1 | -7/+1 |
| | | | | This reverts commit f2375609adc80ebe5395d84902af4045ecea2f73. | ||||
* | Put more variables in PORTAGE_READONLY_VARS instead of using | Zac Medico | 2010-09-17 | 1 | -4/+14 |
| | | | | save_ebuild_env() to unset them. | ||||
* | Rename READONLY_EBUILD_METADATA and READONLY_PORTAGE_VARS to start | Zac Medico | 2010-09-17 | 1 | -4/+5 |
| | | | | with PORTAGE_, and make them both readonly. | ||||
* | Add PORTAGE_BUILDDIR to READONLY_PORTAGE_VARS since it's extremely | Zac Medico | 2010-09-17 | 1 | -1/+1 |
| | | | | important now that ebuild-ipc relies on it. | ||||
* | Add option -s to docompress command. | Ulrich Mueller | 2010-09-14 | 1 | -1/+7 |
| |