summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
Commit message (Collapse)AuthorAgeFilesLines
* ebuild.sh: make use* return false for "depend"Zac Medico2011-09-121-1/+6
| | | | This ensures that `use multislot` is false for the "depend" phase.
* Move KV funcs to bashrc-functions.sh.Zac Medico2011-09-111-2/+3
|
* isolated-functions.sh: split save-ebuild-env.shZac Medico2011-09-111-0/+1
|
* ebuild.sh: setup PATH earlierZac Medico2011-09-111-7/+7
| | | | | This avoids "uname: command not found" messages from isolated-functions.sh.
* ebuild.sh: source *.sh at the topZac Medico2011-09-111-28/+28
|
* Move preprocess_ebuild_env to phase-functions.sh.Zac Medico2011-09-111-188/+0
|
* ebuild.sh: split out bashrc-functions.shZac Medico2011-09-111-92/+5
|
* ebuild.sh: move hasg* funcs into econfZac Medico2011-09-111-8/+0
|
* ebuild.sh: remove unused lchown and lchgrpZac Medico2011-09-111-8/+0
|
* build.sh: has/best_version to phase-helpers.shZac Medico2011-09-111-54/+5
|
* ebuild.sh: move ebuild_main to phase-functions.shZac Medico2011-09-111-223/+42
|
* ebuild.sh: move use* funcs to phase-helpers.shZac Medico2011-09-111-49/+1
|
* ebuild.sh: add dummy funcs for "depend" phaseZac Medico2011-09-111-0/+9
|
* ebuild.sh: split out phase-helpers.shZac Medico2011-09-101-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.shZac Medico2011-09-101-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 Medico2011-08-311-52/+36
| | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included.
* xml/metadata: implement XMLParser.doctype()Zac Medico2011-08-311-36/+52
| | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47.
* doebuild: avoid redundant distfiles checksZac Medico2011-08-281-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_alpha50Zac Medico2011-08-021-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 Medico2011-08-011-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 Medico2011-07-151-1/+2
|
* Add QA Notice for hasq/useq calls (bug #199722).Zac Medico2011-07-081-0/+1
|
* Remove all hasq/useq calls for bug #199722.Zac Medico2011-07-081-59/+59
|
* Invert has/hasq and use/useq implementations.Zac Medico2011-07-081-4/+4
| | | | | We need to migrate away from hasq and useq since they are deprecated (bug #199722).
* ebuild.sh: fix libdir for ccache/distccZac Medico2011-06-091-2/+8
| | | | This will fix bug #355283.
* ebuild.sh: don't hardcode distcc pump pathJeremy Murphy2011-06-091-2/+2
|
* Add FEATURES=distcc-pump support.MATSUU Takuto2011-05-201-0/+7
| | | | This will fix bug #288597.
* doebuild: use EbuildBuildDir for lockingZac Medico2011-05-071-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 Arahesis2011-05-021-1/+1
|
* ebuild.sh: make INHERITED independent of phaseZac Medico2011-05-021-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 Arahesis2011-05-011-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 Arahesis2011-05-011-0/+28
|
* Optimize ebuild.sh to cache preprocessing output.David James2011-03-231-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 variableZac Medico2011-02-211-6/+0
|
* Update date headers in modified files.Zac Medico2011-02-191-1/+1
|
* _eapi4_src_install: handle empty DOCS like PMSZac Medico2011-02-191-1/+1
| | | | This will fix bug #355635.
* docompress, prepcompress: Add missing quotes.Ulrich Mueller2011-02-191-2/+2
|
* default_src_test: handle EAPI 4 emake failureZac Medico2011-02-061-4/+10
| | | | This will fix bug #353897.
* econf: check confgure --help for --disable-dep...Zac Medico2011-01-121-1/+3
| | | | This is the new behavior, for bug #211529.
* ebuild.sh: skip QA_* init in "depend" phaseZac Medico2011-01-091-20/+21
|
* dyn_clean: remove .pretendedZac Medico2010-12-311-1/+1
|
* unpack: handle echo failure in unzip pipeZac Medico2010-12-291-1/+1
| | | | This will fix bug #338744.
* bash: as a general rule, use read -rZac Medico2010-12-291-2/+2
| | | | This solves cases like bug #350045.
* Substitute bash builtin >> for touch command.Zac Medico2010-12-191-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 Medico2010-12-051-1/+9
|
* EAPI 4: Support MERGE_TYPE (bug #347351)Zac Medico2010-12-031-1/+2
|
* fix QA_EXECSTACK spelling for QA_PREBUILTZac Medico2010-12-021-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_alpha2Zac Medico2010-10-271-1/+1
|
* ebuild: move SANDBOX_ON=0 setting laterZac Medico2010-10-271-3/+3
|
* Only addwrite for tmp dirs if sandbox is enabled.Zac Medico2010-10-271-1/+1
| | | | This should fix bug #307729.