summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* OrderedDict: fix setitem bug #436974Zac Medico2012-10-021-3/+3
| | | | | | This fixes some strange behavior triggered during fetch, which is only observable with Python 2.6 since it doesn't have collections.OrderedDict.
* debug-print: chgrp ${PORTAGE_GRPNAME:-portage}Zac Medico2012-09-301-2/+2
| | | | | | This fixes warnings for prefix users (see commits 1c3c3b802014ac6356af09d149aaaffce6c14dc3 and 6983b1a1dd21f931ba751b727bd1a3c460383840).
* phase-functions.sh: chgrp $T/environmentZac Medico2012-09-301-0/+2
| | | | | | | | | | | | This partially reverts commit 314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6, in order to cover possible cases where it may not actually be redundant, like if ebuild(1) is used to call pkg_setup as root, and then a different user calls src_unpack. We use PORTAGE_GRPNAME if set, in order to avoid triggering irrelevant warnings for unprivileged prefix users (see chown and chgrp wrappers in commit 45bedf9cdc10fafd94858f67d62b36d35dd99544). This mirrors the approach taken in commit 1c3c3b802014ac6356af09d149aaaffce6c14dc3 of the prefix branch.
* phase-functions.sh: remove redundant chown/chmodZac Medico2012-09-301-2/+0
| | | | | | These calls trigger warnings in prefix mode, since commit 45bedf9cdc10fafd94858f67d62b36d35dd99544. They are redundant, since the permissions are handled the _post_phase_userpriv_perms function.
* Add chown and chgrp wrappers for prefix.Zac Medico2012-09-304-5/+38
| | | | | | | For prefix, there is typically only a single unprivileged user who owns everthing that is built and installed, and in this case it's desirable to ignore chown and chrgrp failures. So, move the logic from fowners into chown and chgrp wrappers, as discussed in bug #433453.
* Handle KeyError when loading pickles.Zac Medico2012-09-283-3/+9
| | | | See http://forums.gentoo.org/viewtopic-t-938022.html for example.
* Fix indent from last commit.v2.2.0_alpha134Zac Medico2012-09-271-5/+5
|
* ebuild.sh: EAPI conditional usex dummyZac Medico2012-09-271-2/+6
| | | | | | This probably makes no difference in practice, since it only affects the "depend" phase. Note that we're allowed to use EAPI conditionals here, since we parse the EAPI on the python side and pass it to bash.
* _slot_operator: EAPI 5-hdepend DEPEND target onlyZac Medico2012-09-271-5/+9
|
* prepalldocs: fix inverted eapi_has_docompressZac Medico2012-09-261-1/+1
| | | | This broke in commit ab46499322311c1faa710c63d0a5339e49a9061a.
* dodoc: source isolated-functions.sh earlierZac Medico2012-09-261-2/+2
| | | | This is needed since commit ab46499322311c1faa710c63d0a5339e49a9061a.
* UseManager: /etc/portage/profile extended syntaxZac Medico2012-09-263-13/+30
| | | | | If /etc/portage/profile/eapi does not exist, then support extended atom syntax. This will fix bug #436330.
* Add eapi.sh with ___eapi_*() functions and use these functions in other files.Arfrever Frehtes Taifersar Arahesis2012-09-2634-297/+386
|
* test_ipc_daemon: increase sleep for bug #436334Zac Medico2012-09-261-1/+3
|
* Use constants for more hardcoded *DEPEND lists.v2.2.0_alpha133Zac Medico2012-09-252-8/+7
|
* update_ents: use Package._dep_keysZac Medico2012-09-251-2/+2
|
* evaluate_slot_operator_equal_deps: do HDEPENDZac Medico2012-09-251-0/+1
|
* Use constants for more hardcoded *DEPEND lists.Zac Medico2012-09-252-5/+6
|
* Use constants for hardcoded *DEPEND lists.Zac Medico2012-09-258-29/+23
|
* Test emerge --root-deps more.Zac Medico2012-09-251-0/+5
|
* Test emerge --root-deps.Zac Medico2012-09-251-1/+31
|
* EventLoop: fix busy loop waiting for child pidZac Medico2012-09-252-14/+18
| | | | | | This fixes a case where EventLoop could consume 100% CPU while waiting for a child process. It also fixes timeout calculations in python 2.x, where it was using integer division instead of float.
* _add_pkg_deps: use _get_eapi_attrsZac Medico2012-09-252-4/+7
|
* ResolverPlayground: check targetroot in mergelistZac Medico2012-09-252-1/+4
|
* ResolverPlayground: support targetrootZac Medico2012-09-255-105/+112
| | | | | | | In order to support targetroot, ResolverPlayground always writes make.conf, since create_trees does not propagate all of the necessary settings via the env parameter (because the env settings often need to be isolated from eachother, especially for cross-compilation).
* repoman: rename most *DEPEND.* to dependency.*Zac Medico2012-09-253-58/+50
| | | | This makes it easier to add new types, like HDEPEND.
* repoman.1: unify *DEPEND.bad*, *DEPEND.syntax docsZac Medico2012-09-251-66/+12
|
* Document targetroot useflag in ebuild(5)Dennis Schridde2012-09-251-0/+9
|
* Document default behaviour without --root-deps for EAPI 5- in ebuild(5)Dennis Schridde2012-09-251-0/+2
|
* Put lengthy install-location documentation into an own paragraph for ↵Dennis Schridde2012-09-251-0/+2
| | | | cross-compile docs in ebuild(5)
* Add EAPI 5-hdepend.docbookZac Medico2012-09-243-0/+34
|
* Remove obsolete cache/flat_list.pyZac Medico2012-09-241-135/+0
| | | | | | This module has been obsolete and useless for many years, which is especially obvious since it was missing INHERITED from its auxdbkey_order and it did not write any eclass metadata.
* ResolverPlayground: simplify vdb/portdb creationZac Medico2012-09-241-80/+32
| | | | This enables automatic handling of HDEPEND.
* make.conf.5: refer to ebuild.5 for cross-compileZac Medico2012-09-241-3/+4
|
* circular_dependency: handle HDEPENDZac Medico2012-09-241-1/+2
|
* cache/sqlite.py: translate None to empty stringZac Medico2012-09-241-2/+7
|
* cache/metadata.py: add HDEPENDZac Medico2012-09-242-2/+4
|
* portageq: Automatically do not include imported functions in the list of ↵Arfrever Frehtes Taifersar Arahesis2012-09-251-4/+2
| | | | commands.
* man/emerge.1: italics for emphasisZac Medico2012-09-241-2/+2
|
* Re-word HDEPEND docs wrt "EAPI 5 and earlier"Zac Medico2012-09-242-11/+12
| | | | | | Referring to ranges like this is ambigous when when don't know what EAPI 6 will bring, and we have both EAPI 5-progress and 5-hdepend which add different feature sets to EAPI 5.
* Document behaviour of --root-deps for EAPI 6+ in emerge(1)Dennis Schridde2012-09-241-4/+5
|
* Document HDEPEND in ebuild(5)Dennis Schridde2012-09-241-0/+46
|
* repoman: support HDEPEND for EAPI 5-hdependZac Medico2012-09-242-12/+37
|
* Add experimental EAPI 5-hdepend support.Ambroz Bizjak2012-09-2418-55/+105
|
* _global_updates: scan binarytree only if neededZac Medico2012-09-241-6/+8
| | | | This will fix bug #436084.
* drop support for QA_DT_HASH/QA_STRICT_DT_HASHMike Frysinger2012-09-233-39/+0
| | | | | | | | These variables have been deprecated in favor of the new variables QA_STRICT_FLAGS_IGNORED/QA_FLAGS_IGNORED, and the tree has been converted over to the new ones, so drop the old vars. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* use `readlink -f` if it worksMike Frysinger2012-09-231-0/+13
| | | | | | | Rather than always re-implementing `readlink -f` in shell, probe the host tool first to see if it works. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* _create_use_string: pass in feature_flags argv2.2.0_alpha132Zac Medico2012-09-232-7/+8
| | | | This allows them to be looked up outside of the USE_EXPAND loop.
* env_update: use eroot variable moreZac Medico2012-09-231-10/+7
|
* Reorder description of --root-deps in emerge(1)Dennis Schridde2012-09-231-8/+10
| | | | 80 char width and max 1 sentence per line.