summaryrefslogtreecommitdiffstats
path: root/bin/phase-helpers.sh
Commit message (Collapse)AuthorAgeFilesLines
* Use local EPREFIX for uniformity.Zac Medico2011-11-091-12/+11
| | | | | | | The EPREFIX variable is not readonly in EAPI 0, 1, and 2, so we can declare EPREFIX as a local variable. We must be careful not to let this variable leak into the environment of ebuild/eclass functions that we call, since bash propagates local variables to nested function calls.
* Use local ED for uniformity.Zac Medico2011-11-091-35/+29
| | | | | | | The ED variable is not readonly in EAPI 0, 1, and 2, so we can declare ED as a local variable. We must be careful not to let this variable leak into the environment of ebuild/eclass functions that we call, since bash propagates local variables to nested function calls.
* has/best_version: fix grammar in docsZac Medico2011-11-081-2/+2
|
* best/has_version: fix eroot assignmentZac Medico2011-11-071-2/+2
|
* Only support ROOT override for best/has_version.Zac Medico2011-11-071-24/+12
| | | | | In the context of ebuilds, ROOT=/ override is the only common case, so it makes sense to only support ROOT overrides.
* Fix best/has_version ROOT override for EAPI 3-4.Zac Medico2011-11-071-6/+40
| | | | | | This has been broken since commit ab484dc9a2612aa6709fad3ff926c8589a706637. In order to support prefix, callers will have to override EROOT instead.
* phase-helpers.sh: fix best/has_version for prefixZac Medico2011-11-011-4/+8
|
* Add EPREFIX and ED support in all ebuild helpers.Zac Medico2011-11-011-33/+48
| | | | This allows our prefix tests to use helpers like insinto, doins, and dosym.
* Revert "unpack: handle non-gz files from deb2targz"Zac Medico2011-09-231-5/+1
| | | | | This reverts commit dd7c57ecb90949ce3306394cfe262566b87351ca. We'll do this in a new EAPI, as discussed in bug #384147.
* unpack: handle non-gz files from deb2targzZac Medico2011-09-231-1/+5
| | | | This will fix bug #384147.
* ebuild.sh: move hasg* funcs into econfZac Medico2011-09-111-3/+12
|
* build.sh: has/best_version to phase-helpers.shZac Medico2011-09-111-0/+42
|
* ebuild.sh: move use* funcs to phase-helpers.shZac Medico2011-09-111-0/+49
|
* ebuild.sh: split out phase-helpers.shZac Medico2011-09-101-0/+524
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.