summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Disable "waiting for lock" messages when in background mode. Thanks to ThargorZac Medico2008-08-122-1/+11
| | | | | | for reporting. svn path=/main/trunk/; revision=11400
* Fix ebuild(1) so that src_configure is only called for EAPIs for which itZac Medico2008-08-111-0/+6
| | | | | | is supported. svn path=/main/trunk/; revision=11399
* Entirely disable the src_configure phase from the python side for EAPI valuesZac Medico2008-08-112-2/+7
| | | | | | | | for which it's not supported. This avoids pointless spawning of ebuild.sh and also avoids having bashrc called during an invalid phase as reported by Arfrever. svn path=/main/trunk/; revision=11398
* In source_all_bashrcs(), only change $IFS while splitting $PROFILE_PATHS intoZac Medico2008-08-111-5/+4
| | | | | | | | | an array, and then restore it before doing anything else. This avoids interference that can otherwise occur if code from profile.bashrc (or /etc/portage/env, be extension) needs to call any of the elog functions which use the save_IFS and restore_IFS aliases internally. svn path=/main/trunk/; revision=11397
* Increase Scheduler._job_delay_max to 10 seconds.v2.2_rc7Zac Medico2008-08-101-1/+1
| | | | svn path=/main/trunk/; revision=11395
* For pkg_config and pkg_info, add respective "config" and "info" values toZac Medico2008-08-101-1/+1
| | | | | | EBUILD_PHASES. svn path=/main/trunk/; revision=11394
* When testing userpriv write access in $DISTDIR, redirect the 'permissionZac Medico2008-08-101-1/+1
| | | | | | denied' error message to /dev/null. svn path=/main/trunk/; revision=11393
* Remove unnecessary dict.keys() call.Zac Medico2008-08-101-1/+1
| | | | svn path=/main/trunk/; revision=11392
* Move the default EAPI definition where it will work in any case it mightZac Medico2008-08-101-4/+4
| | | | | | be necessary, such as after loading an exising environment. svn path=/main/trunk/; revision=11387
* Remove most references to Package.metadata_keys and replace them withZac Medico2008-08-101-20/+18
| | | | | | approriate keys for the given package type. svn path=/main/trunk/; revision=11386
* Add sample code for the new src_configure and src_compile phase functions.Zac Medico2008-08-101-0/+13
| | | | svn path=/main/trunk/; revision=11385
* Document the differences between EAPIs 0 and 1.Zac Medico2008-08-102-0/+67
| | | | svn path=/main/trunk/; revision=11384
* Add new sections for EAPI 0 and 1 (currently empty).Zac Medico2008-08-104-0/+10
| | | | svn path=/main/trunk/; revision=11383
* Fix typo.Zac Medico2008-08-101-1/+1
| | | | svn path=/main/trunk/; revision=11382
* Remove INHERITED from the vardbapi aux_get cache since it's not really thatZac Medico2008-08-102-7/+8
| | | | | | | | useful (@live-rebuild currently pulls INHERITED from the highest visible ebuild). Also adjust keys used to pull metadata for Package instances, so that INHERITED won't get pulled from the vardbapi anymore. svn path=/main/trunk/; revision=11381
* Remove pointless `cd` calls in dyn_configure() and dyn_compile().Zac Medico2008-08-101-6/+4
| | | | svn path=/main/trunk/; revision=11380
* Eliminate duplicate code by making _eapi1_src_compile() call ↵Zac Medico2008-08-101-3/+1
| | | | | | _eapi2_src_configure(). svn path=/main/trunk/; revision=11379
* Make the scheduler's job delay ramp up faster by increasing the factorZac Medico2008-08-101-2/+3
| | | | | | to 1.0 and adding an exponent of 1.5. svn path=/main/trunk/; revision=11378
* Fix dyn_clean() to properly clean $PORTAGE_BUILDDIR/.configured.Zac Medico2008-08-091-6/+3
| | | | svn path=/main/trunk/; revision=11377
* Add write_contents() and tar_contents() functions to __all__.Zac Medico2008-08-091-1/+2
| | | | svn path=/main/trunk/; revision=11376
* * Use shlex.split() for splitting COLLISION_IGNORE.Zac Medico2008-08-091-1/+5
| | | | | | * Define __all__. svn path=/main/trunk/; revision=11375
* Bug #234100 - Update date and portage version in man page headers.Zac Medico2008-08-0912-12/+12
| | | | svn path=/main/trunk/; revision=11374
* Bug #234157 - Remove BUILD_PREFIX from the docs since it's not a user configZac Medico2008-08-091-5/+0
| | | | | | variable. svn path=/main/trunk/; revision=11373
* Don't use "dir" for a variable name since it's also a builtin.Zac Medico2008-08-091-4/+4
| | | | svn path=/main/trunk/; revision=11372
* Add a reference to the default sets.conf location. Thanks to dberkholz forZac Medico2008-08-091-1/+5
| | | | | | the suggestion. svn path=/main/trunk/; revision=11366
* Make eapi*_src_install die since they're not supported.Zac Medico2008-08-091-3/+3
| | | | svn path=/main/trunk/; revision=11365
* Escape use flags before compiling regular expressions from them. ThanksZac Medico2008-08-092-4/+12
| | | | | | to pchrist for reporting. svn path=/main/trunk/; revision=11364
* Update date in dyn_help copyright header. Thanks to grobian.Zac Medico2008-08-091-1/+1
| | | | svn path=/main/trunk/; revision=11363
* When calling dbaip.aux_get() inside depgraph._select_package(), only pull theZac Medico2008-08-091-2/+1
| | | | | | | keys that are cached. This avoids triggering useless cache pulls for INHERITED from the bindbapi. svn path=/main/trunk/; revision=11360
* Increase Scheduler._job_delay_factor from 0.5 to 0.75 so that the delayZac Medico2008-08-091-1/+1
| | | | | | | ramps up a little quicker, since the current value appears to be too weak in some cases. svn path=/main/trunk/; revision=11359
* Remove redundant default pkg_nofetch, src_unpack, and src_test definitionsZac Medico2008-08-081-12/+0
| | | | | | which are now handled inside _ebuild_phase_funcs(). svn path=/main/trunk/; revision=11358
* Add new LinkageMap.listBrokenBinaries() and listProviders() methods. ThanksZac Medico2008-08-081-0/+152
| | | | | | | | to Lucian Poston <lucianposton@gmail.com> for submitting this patch along with the missing-rebuild package set posted on the gentoo-portage-dev mailing list. svn path=/main/trunk/; revision=11357
* Fix broken reference to os.path.realpath() inside LinkageMap.getSoname().Zac Medico2008-08-081-1/+1
| | | | svn path=/main/trunk/; revision=11356
* In LinkageMap.rebuild(), filter empty strings that may be returned from splitZac Medico2008-08-081-2/+4
| | | | | | | calls when processing the "needed" and "path" entries. Thanks to Lucian Poston for reporting. svn path=/main/trunk/; revision=11355
* Fix broken quoting in eval statements. Thanks to Arfrever.Zac Medico2008-08-081-2/+2
| | | | svn path=/main/trunk/; revision=11354
* Add missing default_src_configure() function to table. Thanks to Arfrever.Zac Medico2008-08-081-0/+3
| | | | svn path=/main/trunk/; revision=11353
* Fix default phase functions in EAPI 2_pre2, since they should be labeled asZac Medico2008-08-081-2/+2
| | | | | | "2" instead of "2_pre2. Thanks to Arfrever for reporting. svn path=/main/trunk/; revision=11352
* Rename the eapi2_pre2_* functions to just eapi2_* and document all theZac Medico2008-08-083-11/+94
| | | | | | new eapi* functions. svn path=/main/trunk/; revision=11351
* Implement eapi$EAPI_* default phase functions that are equivalent to theZac Medico2008-08-082-55/+108
| | | | | | | | | default_* functions for the given EAPI. For example, a function named eapi0_src_compile provides access to the default src_compile implementation that EAPI 0 provides. This feature is supported only when EAPI=2_pre2 is set. Thanks to Brian Harring for suggesting this idea. svn path=/main/trunk/; revision=11350
* Handle missing ipv6 support (branches/prefix r11347).Zac Medico2008-08-081-1/+1
| | | | svn path=/main/trunk/; revision=11348
* * Fix the default() implementation so that it maps the ebuild argument toZac Medico2008-08-084-38/+151
| | | | | | | | | | | the correct phase function. * Add --exclude-init-phases option to save_ebuild_env() for filtering out unnecessary functions and variables when creating environment.bz2. * Add support for default() and default_* functions that die in all ebuild phases so that improper use of these functions is quickly discovered. svn path=/main/trunk/; revision=11346
* Shorten the scheduler status display in the xterm title by removing allZac Medico2008-08-081-1/+1
| | | | | | consecutive spaces. svn path=/main/trunk/; revision=11345
* When testing containment of elem[:1] in "MR", filter potential empty stringZac Medico2008-08-071-1/+1
| | | | | | matches. svn path=/main/trunk/; revision=11344
* In order to properly preserve --jobs and --load-average settings for --resumeZac Medico2008-08-071-3/+8
| | | | | | | | operations, store resume options in the mtimedb as a dict instead of a list. The dict type is supported in >=portage-2.1.3_rc8 (2.1.4.4 is current stable) so people switching between stable/unstable will be fine. svn path=/main/trunk/; revision=11343
* Add support in EAPI 2_pre2 for a function named "default" is redefined forZac Medico2008-08-072-0/+19
| | | | | | | | each phase so that it will call the default_* function corresponding to the current phase. Thanks to Thomas Anderson <gentoofan23> for the initial patch. svn path=/main/trunk/; revision=11342
* Fix a bug in vardbapi.removeFromContents() which sometimes prevents theZac Medico2008-08-071-2/+3
| | | | | | CONTENTS from being updated when it should. svn path=/main/trunk/; revision=11341
* In order to conserve some space, make _setitem() skip writing keys for whichZac Medico2008-08-071-0/+2
| | | | | | the value is empty. svn path=/main/trunk/; revision=11340
* Replace call to `svn list` with a call to `svn status --depth=files --verbose`Zac Medico2008-08-071-6/+6
| | | | | | | since the former contacts the server while the latter does not. Thanks to Arfrever for this patch. svn path=/main/trunk/; revision=11339
* Remove the "ebuild.disjointed" check because it's obsolete since we'veZac Medico2008-08-062-53/+1
| | | | | | switched to manifest2 only. Thanks to Arfrever for this patch. svn path=/main/trunk/; revision=11338
* Fix `svn status` output parsing to account for "replaced" files indicatedZac Medico2008-08-061-1/+1
| | | | | | by "R". Thanks to Arfrever. svn path=/main/trunk/; revision=11337