summaryrefslogtreecommitdiffstats
path: root/bin/phase-helpers.sh
Commit message (Collapse)AuthorAgeFilesLines
* use(): fatal missing IUSE in EAPI 5, bug #449708Zac Medico2013-01-011-1/+7
|
* unpack(): Handle suffixes in case-insensitive way.Arfrever Frehtes Taifersar Arahesis2012-11-251-6/+10
|
* EAPI="5-progress": Add package_manager_build_user() and ↵Arfrever Frehtes Taifersar Arahesis2012-11-161-0/+12
| | | | package_manager_build_group().
* Make keepdir() compatible with subslots.Arfrever Frehtes Taifersar Arahesis2012-10-181-2/+2
|
* EAPI="5-progress": Add master_repositories(), repository_path(),Arfrever Frehtes Taifersar Arahesis2012-10-141-0/+159
| | | | available_eclasses(), eclass_path() and license_path() functions.
* best_version() and has_version(): Improve die() messages.Arfrever Frehtes Taifersar Arahesis2012-10-071-2/+16
| | | | | | - Print different die() message for invalid atoms. - Mention ebuild-ipc instead of portageq in other die() messages when ebuild-ipc is actually used.
* Add eapi.sh with ___eapi_*() functions and use these functions in other files.Arfrever Frehtes Taifersar Arahesis2012-09-261-85/+70
|
* __strip_duplicate_slashes: quote pathsZac Medico2012-09-161-2/+2
|
* Use __ prefix for _hasg, _hasgq, and _unpack_tar.Zac Medico2012-09-141-10/+10
|
* Convert funcs of phase*.sh to __ prefixed namespace.Brian Harring2012-09-141-12/+12
|
* Convert funcs of isolated-functions.sh to __ prefixed namespace.Brian Harring2012-09-131-14/+14
|
* Convert funcs of bashrc-functions.sh to __ prefixed namespace.Brian Harring2012-09-131-4/+4
|
* Deprecate EAPI 5_pre1.Zac Medico2012-09-131-13/+0
|
* Add EAPI 5_pre2 with features approved by councilZac Medico2012-09-111-4/+0
| | | | | | In the 9/11 council meeting, they approved everything in EAPI 5_pre1 except user patches. So, add EAPI 5_pre2 which is identical to EAPI 5_pre1 but with user patches (apply_user_patches) support removed.
* use(): use set -f and handle IFSZac Medico2012-09-101-2/+6
|
* best/has_version: --host-root first arg onlyZac Medico2012-09-081-22/+12
|
* Quote ${EAPI} more.Zac Medico2012-09-021-1/+1
| | | | | This will avoid a potential syntax error in save-ebuild-env.sh if a saved environment containing corrupt EAPI is sourced.
* apply_user_patches: die if EBUILD_PHASE is wrongZac Medico2012-09-011-0/+2
|
* Fix usex for EAPI 4-python|4-slot-abi.Zac Medico2012-08-311-1/+1
|
* EAPI 5: usex helper functionUlrich Müller2012-08-311-0/+14
| | | | See bug #382963.
* EAPI 5: --host-root option for best/has_versionZac Medico2012-08-301-12/+56
| | | | | See bug #401239 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=25fb5fca6674215ea8aaa3d0ec3dd3df451eec07
* EAPI 5: econf --disable-silent-rulesZac Medico2012-08-291-5/+23
| | | | | See bug #379497 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=b7750e67b4772c1064543defb7df6a556f09807b
* EAPI 5: User patches (no-op dummy stub for now)Zac Medico2012-08-291-0/+15
| | | | | | | A real apply_user_patches implementation will be a bit more work, so for now we'll just implement the minimum amount necessary to satisfy the spec: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=a8bf7862967cce36b7f1b408934a774126da2538
* EAPI 5: src_test support for parallel testsZac Medico2012-08-291-4/+10
| | | | | See bug #363005 and the PMS patch: http://git.overlays.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=3ec4b3c22582a8ec206bce1e93bab377d7b264b5
* Remove tests for deprecated 3_pre2 EAPI.Ulrich Müller2012-08-151-2/+2
|
* Revert "econf: add --disable-silent-rules, bug #379497#c6"Zac Medico2012-08-071-10/+4
| | | | | | | This reverts commit 1cc39de72ac5311db748341ef9183586556719d9. It may be unsafe to call configure --help with some configure scripts, as noted in bug #379497, comment #34.
* econf: add --disable-silent-rules, bug #379497#c6Zac Medico2012-08-041-4/+10
|
* 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.