Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ebuild.sh: export EAPI for helpersv2.2.0_alpha109 | Zac Medico | 2012-06-01 | 1 | -0/+3 |
| | | | | | This fixes some cases where it wouldn't be exported since commit 20817801dd4ef0117bcc7b33c90650da1e920385. | ||||
* | ebuild.sh: remove redundant EAPI=0 default | Zac Medico | 2012-05-09 | 1 | -2/+0 |
| | |||||
* | Parse EAPI with pattern from PMS section 7.3.1. | Zac Medico | 2012-05-09 | 1 | -3/+3 |
| | | | | | | | | This implements the specification that was approved in Gentoo's council meeting on May 8, 2012 (see bug #402167). The parse-eapi-ebuild-head FEATURES setting is now enabled by default, and causes non-conformant ebuilds to be treated as invalid. This behavior will soon become enabled unconditionally. | ||||
* | Enable globstar shell option by default in EAPI="4-python". | Arfrever Frehtes Taifersar Arahesis | 2012-05-05 | 1 | -0/+4 |
| | |||||
* | ebuild.sh: source /etc/portage/env scripts after /etc/portage/bashrc | James Le Cuirot | 2012-04-28 | 1 | -10/+12 |
| | | | | This will fix bug #413895. | ||||
* | ebuild.sh: skip EBUILD_HOOK_DIR for depend phase | Zac Medico | 2012-03-10 | 1 | -15/+25 |
| | |||||
* | Disable 'illegally inherited' check for nofetch. | Zac Medico | 2012-03-08 | 1 | -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 Arahesis | 2012-01-08 | 1 | -2/+2 |
| | |||||
* | QA_FLAGS_IGNORED: include QA_PREBUILT | Zac Medico | 2011-12-22 | 1 | -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 Arahesis | 2011-12-19 | 1 | -4/+14 |
| | |||||
* | Remove _SANDBOX_COMPAT_LEVEL. | Zac Medico | 2011-12-10 | 1 | -9/+0 |
| | |||||
* | Support FEATURES=force-prefix. | Zac Medico | 2011-12-08 | 1 | -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 Medico | 2011-12-07 | 1 | -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_* vars | Zac Medico | 2011-12-06 | 1 | -5/+5 |
| | |||||
* | ebuild.sh: add note about quoting export ${FOO}= | Zac Medico | 2011-12-04 | 1 | -0/+1 |
| | |||||
* | ebuild.sh: quote sandbox export args | Zac Medico | 2011-12-04 | 1 | -5/+5 |
| | |||||
* | Move ccache/distcc PATH code to doebuild_env.v2.2.0_alpha73 | Zac Medico | 2011-11-09 | 1 | -10/+0 |
| | |||||
* | Include EPREFIX directories in PATH. | Zac Medico | 2011-11-08 | 1 | -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 Arahesis | 2011-11-07 | 1 | -10/+10 |
| | |||||
* | Add EPREFIX and ED support in all ebuild helpers. | Zac Medico | 2011-11-01 | 1 | -3/+5 |
| | | | | This allows our prefix tests to use helpers like insinto, doins, and dosym. | ||||
* | ebuild.sh: make use* return false for "depend" | Zac Medico | 2011-09-12 | 1 | -1/+6 |
| | | | | This ensures that `use multislot` is false for the "depend" phase. | ||||
* | Move KV funcs to bashrc-functions.sh. | Zac Medico | 2011-09-11 | 1 | -2/+3 |
| | |||||
* | isolated-functions.sh: split save-ebuild-env.sh | Zac Medico | 2011-09-11 | 1 | -0/+1 |
| | |||||
* | ebuild.sh: setup PATH earlier | Zac Medico | 2011-09-11 | 1 | -7/+7 |
| | | | | | This avoids "uname: command not found" messages from isolated-functions.sh. | ||||
* | ebuild.sh: source *.sh at the top | Zac Medico | 2011-09-11 | 1 | -28/+28 |
| | |||||
* | Move preprocess_ebuild_env to phase-functions.sh. | Zac Medico | 2011-09-11 | 1 | -188/+0 |
| | |||||
* | ebuild.sh: split out bashrc-functions.sh | Zac Medico | 2011-09-11 | 1 | -92/+5 |
| | |||||
* | ebuild.sh: move hasg* funcs into econf | Zac Medico | 2011-09-11 | 1 | -8/+0 |
| | |||||
* | ebuild.sh: remove unused lchown and lchgrp | Zac Medico | 2011-09-11 | 1 | -8/+0 |
| | |||||
* | build.sh: has/best_version to phase-helpers.sh | Zac Medico | 2011-09-11 | 1 | -54/+5 |
| | |||||
* | ebuild.sh: move ebuild_main to phase-functions.sh | Zac Medico | 2011-09-11 | 1 | -223/+42 |
| | |||||
* | ebuild.sh: move use* funcs to phase-helpers.sh | Zac Medico | 2011-09-11 | 1 | -49/+1 |
| | |||||
* | ebuild.sh: add dummy funcs for "depend" phase | Zac Medico | 2011-09-11 | 1 | -0/+9 |
| | |||||
* | ebuild.sh: split out phase-helpers.sh | Zac Medico | 2011-09-10 | 1 | -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.sh | Zac Medico | 2011-09-10 | 1 | -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 Medico | 2011-08-31 | 1 | -52/+36 |
| | | | | | This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e. This commit had lots of unintended changes included. | ||||
* | xml/metadata: implement XMLParser.doctype() | Zac Medico | 2011-08-31 | 1 | -36/+52 |
| | | | | | Avoid deprecation warnings again, like in commit 63035acd702ab0cdaac31e33676b5a20a91eae47. | ||||
* | doebuild: avoid redundant distfiles checks | Zac Medico | 2011-08-28 | 1 | -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_alpha50 | Zac Medico | 2011-08-02 | 1 | -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 Medico | 2011-08-01 | 1 | -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 Medico | 2011-07-15 | 1 | -1/+2 |
| | |||||
* | Add QA Notice for hasq/useq calls (bug #199722). | Zac Medico | 2011-07-08 | 1 | -0/+1 |
| | |||||
* | Remove all hasq/useq calls for bug #199722. | Zac Medico | 2011-07-08 | 1 | -59/+59 |
| | |||||
* | Invert has/hasq and use/useq implementations. | Zac Medico | 2011-07-08 | 1 | -4/+4 |
| | | | | | We need to migrate away from hasq and useq since they are deprecated (bug #199722). | ||||
* | ebuild.sh: fix libdir for ccache/distcc | Zac Medico | 2011-06-09 | 1 | -2/+8 |
| | | | | This will fix bug #355283. | ||||
* | ebuild.sh: don't hardcode distcc pump path | Jeremy Murphy | 2011-06-09 | 1 | -2/+2 |
| | |||||
* | Add FEATURES=distcc-pump support. | MATSUU Takuto | 2011-05-20 | 1 | -0/+7 |
| | | | | This will fix bug #288597. | ||||
* | doebuild: use EbuildBuildDir for locking | Zac Medico | 2011-05-07 | 1 | -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 Arahesis | 2011-05-02 | 1 | -1/+1 |
| | |||||
* | ebuild.sh: make INHERITED independent of phase | Zac Medico | 2011-05-02 | 1 | -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. |