summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
Commit message (Collapse)AuthorAgeFilesLines
* ebuild.sh: skip EBUILD_HOOK_DIR for depend phaseZac Medico2012-03-101-15/+25
|
* Disable 'illegally inherited' check for nofetch.Zac Medico2012-03-081-1/+5
| | | | | | It's disabled for nofetch, since that can be called by repoman and that triggers bug #407449 due to repoman not exporting non-essential variables such as INHERITED.
* Fix location of a comment.Arfrever Frehtes Taifersar Arahesis2012-01-081-2/+2
|
* QA_FLAGS_IGNORED: include QA_PREBUILTZac Medico2011-12-221-1/+1
| | | | | Also, QA_DT_HASH doesn't need to include QA_PREBUILT anymore, since it's merged with QA_FLAGS_IGNORED.
* Disallow some functions in global scope in EAPI="4-python".Arfrever Frehtes Taifersar Arahesis2011-12-191-4/+14
|
* Remove _SANDBOX_COMPAT_LEVEL.Zac Medico2011-12-101-9/+0
|
* Support FEATURES=force-prefix.Zac Medico2011-12-081-1/+1
| | | | | | | This adjusts the logic from commit ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix instead of USE=prefix. This has the advantage that we don't have to make any assumptions about the USE=prefix.
* Make USE=prefix enable EPREFIX in all EAPIs.Zac Medico2011-12-071-0/+2
| | | | | | | | This is safe because the prefix flag should be masked in all non-prefix profiles, and older EAPIs would otherwise be useless with prefix configurations. This brings compatibility with the prefix branch of portage, which also supports EPREFIX for all EAPIs (for obvious reasons).
* ebuild.sh: don't export inherit E_* varsZac Medico2011-12-061-5/+5
|
* ebuild.sh: add note about quoting export ${FOO}=Zac Medico2011-12-041-0/+1
|
* ebuild.sh: quote sandbox export argsZac Medico2011-12-041-5/+5
|
* Move ccache/distcc PATH code to doebuild_env.v2.2.0_alpha73Zac Medico2011-11-091-10/+0
|
* Include EPREFIX directories in PATH.Zac Medico2011-11-081-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 Arahesis2011-11-071-10/+10
|
* Add EPREFIX and ED support in all ebuild helpers.Zac Medico2011-11-011-3/+5
| | | | This allows our prefix tests to use helpers like insinto, doins, and dosym.
* 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
|