summaryrefslogtreecommitdiffstats
path: root/bin/phase-helpers.sh
Commit message (Collapse)AuthorAgeFilesLines
* phase-helpers.sh: set -x when emulating yesZac Medico2012-01-241-1/+1
| | | | This avoids displaying a bunch of garbage in debug mode.
* remove stray 'fi' from last commitZac Medico2012-01-171-1/+0
|
* _eapi0_src_test: remove redundant FEATURES checksZac Medico2012-01-171-7/+4
|
* Support FEATURES=force-prefix.Zac Medico2011-12-081-9/+9
| | | | | | | 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-9/+18
| | | | | | | | 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).
* 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.