summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* In save_ebuild_env(), preserve all ebuild phases in any case since excludingZac Medico2009-12-241-2/+0
| | | | | | | the already executed ones from environment.bz2 doesn't save much space, and it's possible that someone would want to look at them later. (trunk r15145) svn path=/main/branches/2.1.7/; revision=15146
* Remove obsolete backing up of ROOTPATH via PORTAGE_ROOTPATH. (trunk r15143)Zac Medico2009-12-242-13/+1
| | | | svn path=/main/branches/2.1.7/; revision=15144
* Bug #297933: Filter BASHOPTS variable for compatibility with bash-4.1.Zac Medico2009-12-241-2/+2
| | | | | | (trunk r15130) svn path=/main/branches/2.1.7/; revision=15142
* If the TERM environment variable is unset then just use internal defaultZac Medico2009-12-241-1/+3
| | | | | | | term codes since the vt100 codes typically produce strange output. This fixes strange output from catalyst stage1 builds. (trunk r15129) svn path=/main/branches/2.1.7/; revision=15141
* Bug #297541 - Make $(no-as-needed) trigger upstream.workaround warning. ThanksZac Medico2009-12-242-1/+8
| | | | | | to Samuli Suominen <ssuominen@g.o> for this patch. (trunk r15128) svn path=/main/branches/2.1.7/; revision=15140
* Add missing stat import. (trunk r15127)Zac Medico2009-12-241-0/+1
| | | | svn path=/main/branches/2.1.7/; revision=15139
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-241-1/+1
| | | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. (trunk r15126) svn path=/main/branches/2.1.7/; revision=15138
* When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of theZac Medico2009-12-2412-20/+26
| | | | | | | float st_mtime in order to avoid rounding *up* in some rare cases. (trunk r15125) svn path=/main/branches/2.1.7/; revision=15137
* Remove some old debug code that should not have been committed. (trunk r15124)Zac Medico2009-12-241-21/+0
| | | | svn path=/main/branches/2.1.7/; revision=15136
* Fix the assert alias to avoid 'value to great for base' messages in some cases.Zac Medico2009-12-241-2/+9
| | | | | | Thanks to Jonathan Callen <abcd@g.o> for reporting. (trunk r15121) svn path=/main/branches/2.1.7/; revision=15135
* Use portage.writemsg for lazy portage.util import. (trunk r15108)v2.1.7.15Zac Medico2009-12-171-2/+2
| | | | svn path=/main/branches/2.1.7/; revision=15109
* Convert bytes to unicode for exception messages. (trunk r15106)Zac Medico2009-12-171-0/+8
| | | | svn path=/main/branches/2.1.7/; revision=15107
* Bug #286497 - Make setexec() warn/nonfatal in permissive mode. Thanks toZac Medico2009-12-171-1/+10
| | | | | | Chris PeBenito <pebenito@gentoo.org> for this patch. (trunk r15100) svn path=/main/branches/2.1.7/; revision=15105
* Fix typo. (trunk r15099)Zac Medico2009-12-171-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15104
* Bug #296710 - Add equery to QA_INTERCEPTORS since it can trigger a fork bomb.Zac Medico2009-12-171-1/+1
| | | | | | (trunk r15098) svn path=/main/branches/2.1.7/; revision=15103
* Warn if /proc is not mounted. (trunk r15097)Zac Medico2009-12-171-0/+11
| | | | svn path=/main/branches/2.1.7/; revision=15102
* Bug #296870 - Allow locale related LANG and LC_* variables to persist betweenZac Medico2009-12-172-6/+12
| | | | | | | ebuild phases, and only filter them for binary and installed packages. (trunk r15096) svn path=/main/branches/2.1.7/; revision=15101
* Combine 2 shift calls into one. (trunk r15059)v2.1.7.14Zac Medico2009-12-131-2/+1
| | | | svn path=/main/branches/2.1.7/; revision=15092
* Bug #296554 - Add decompression support to ecompress (similar to ecompressdirZac Medico2009-12-131-0/+57
| | | | | | | behavior) since dodoc can call ecompress with stuff that's already compressed in some way. (trunk r15058) svn path=/main/branches/2.1.7/; revision=15091
* Make prefix varialbes ED, EPREFIX, and EROOT readonly except in EAPI 0, 1, andZac Medico2009-12-131-0/+7
| | | | | | 2. (trunk r15057) svn path=/main/branches/2.1.7/; revision=15090
* Inside depgraph._validate_blockers(), do not consider blockers in DEPEND ofZac Medico2009-12-132-4/+14
| | | | | | | installed packages, since DEPEND is supposed to be irrelevant for packages after they are built. (trunk r15056) svn path=/main/branches/2.1.7/; revision=15089
* Bug #296641 - Avoid UnicodeEncodeError with python2 in eapi_is_supported()Zac Medico2009-12-131-1/+5
| | | | | | triggered by corrupt EAPI. (trunk r15055) svn path=/main/branches/2.1.7/; revision=15088
* In movefile mtime preservation code, simply round down to the nearest wholeZac Medico2009-12-131-29/+9
| | | | | | | | second since python's float cannot preserve the st_mtim.tv_nsec field with complete precision. Note that we have to use stat_obj[stat.ST_MTIME] here because the float stat_obj.st_mtime rounds *up* sometimes. (trunk r15054) svn path=/main/branches/2.1.7/; revision=15087
* Remove redundant EPREFIX, EROOT, and ROOT assingments insideZac Medico2009-12-131-5/+0
| | | | | | doebuild_environment(). (trunk r15052) svn path=/main/branches/2.1.7/; revision=15086
* Remove unused STARTDIR variable. (trunk r15051)Zac Medico2009-12-132-3/+2
| | | | svn path=/main/branches/2.1.7/; revision=15085
* Unset prefix vars for depend phase (even if EAPI is known). (trunk r15050)Zac Medico2009-12-131-2/+1
| | | | svn path=/main/branches/2.1.7/; revision=15084
* Unset prefix vars for depend phase when EAPI is unknown. (trunk r15049)Zac Medico2009-12-131-1/+2
| | | | svn path=/main/branches/2.1.7/; revision=15083
* * Fix type in econf --host argument.Zac Medico2009-12-132-22/+26
| | | | | | | * Add missing econf --build and --target arguments. * Use tabs instead of spaces for indentation. (trunk r15048) svn path=/main/branches/2.1.7/; revision=15082
* Fix typo. (trunk r15047)Zac Medico2009-12-131-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15081
* In movefile mtime rounding code, generate nanosecond resolution (9 decimalZac Medico2009-12-131-21/+15
| | | | | | | places) in order to ensure that the floating point representation is the highest value possible without rounding up. (trunk r15046) svn path=/main/branches/2.1.7/; revision=15080
* Fix typo. (trunk r15045)Zac Medico2009-12-131-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15079
* Remove redundant EPREFIX setting since it's already initialized earlier in theZac Medico2009-12-131-4/+0
| | | | | | config constructor. (trunk r15044) svn path=/main/branches/2.1.7/; revision=15078
* Update for EAPI 3_pre2. (trunk r15043)Zac Medico2009-12-131-6/+93
| | | | svn path=/main/branches/2.1.7/; revision=15077
* Add more EAPI 3 conditionals for prefix variables. (trunk r15042)Zac Medico2009-12-131-2/+9
| | | | svn path=/main/branches/2.1.7/; revision=15076
* Add EAPI 3 conditionals for prefix variables. (trunk r15041)Zac Medico2009-12-131-5/+8
| | | | svn path=/main/branches/2.1.7/; revision=15075
* Just use integer mtime if no fractional seconds are found in the search.Zac Medico2009-12-131-1/+4
| | | | | | (trunk r15040) svn path=/main/branches/2.1.7/; revision=15074
* Tweak movefile() timestamp preservation code to maximize precision for oldZac Medico2009-12-131-21/+21
| | | | | | timestamps that are closer to the epoch. (trunk r15039) svn path=/main/branches/2.1.7/; revision=15073
* Add missing line from previous commit. (trunk r15038)Zac Medico2009-12-131-0/+1
| | | | svn path=/main/branches/2.1.7/; revision=15072
* In movefile() timestamp preservation code, use another loop to search forZac Medico2009-12-131-0/+9
| | | | | | another digit of precision. (trunk r15037) svn path=/main/branches/2.1.7/; revision=15071
* Add EAPI to the whitelist to ensure it's always available as early as possible.Zac Medico2009-12-131-1/+1
| | | | | | (trunk r15036) svn path=/main/branches/2.1.7/; revision=15070
* Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled. (trunk r15035)Zac Medico2009-12-136-18/+18
| | | | svn path=/main/branches/2.1.7/; revision=15069
* Enable xz unpack for EAPI 3_pre2. (trunk r15034)Zac Medico2009-12-131-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15068
* Add support for EAPI 3_pre2. (trunk r15033)Zac Medico2009-12-131-1/+1
| | | | svn path=/main/branches/2.1.7/; revision=15067
* In config.environ(), only export ED, EPREFIX, and EROOT to the ebuildZac Medico2009-12-131-0/+6
| | | | | | | environment starting with EAPI 3 (so people won't write ebuilds that are incompatible with older package managers). (trunk r15032) svn path=/main/branches/2.1.7/; revision=15066
* Don't filter/interfere with prefix variables unless they are supported by theZac Medico2009-12-131-1/+12
| | | | | | current EAPI. (trunk r15031) svn path=/main/branches/2.1.7/; revision=15065
* Filter prefix variables ED, EPREFIX, and EROOT insideZac Medico2009-12-132-3/+3
| | | | | | | | | | | | | | | | filter_readonly_variables() but don't mark them readonly for now since some ebuilds/eclasses try to assign EROOT (such as kde4-base_pkg_setup) which causes the whole bash shell to exit like this: >>> Extracting info * CPV: kde-base/oxygen-icons-4.3.4 * REPO: gentoo * USE: elibc_glibc kernel_linux test userland_GNU x86 /var/tmp/portage/kde-base/oxygen-icons-4.3.4/temp/environment: line 2781: EROOT: readonly variable Also, add ED to the environment blacklist. (trunk r15030) svn path=/main/branches/2.1.7/; revision=15064
* Don't use lazy import for portage.cache.mappings because it's imported anyway.Zac Medico2009-12-131-8/+6
| | | | | | (trunk r15029) svn path=/main/branches/2.1.7/; revision=15063
* Use collections.OrderedDict when available (python-2.7) and fall back toZac Medico2009-12-132-2/+10
| | | | | | | | portage.cache.mappings.OrderedDict for older python. Also, use OrderedDict inside fetch() so that files are fetched in the order that they appear in SRC_URI. (trunk r15028) svn path=/main/branches/2.1.7/; revision=15062
* fix definition regarding slashes for EPREFIX, D, ED and EROOT (trunk r15026)Zac Medico2009-12-131-9/+14
| | | | svn path=/main/branches/2.1.7/; revision=15061
* Implement forward compatible Prefix support. This makes EPREFIX, ED andZac Medico2009-12-133-32/+67
| | | | | | | | | | EROOT available to the ebuild environment, and updates the manpage accordingly. EPREFIX is hardwired to the empty string, and not configurable. For that, the prefix branch should be used for now. This should satisfy the requirements for EAPI=3. (trunk r15024) svn path=/main/branches/2.1.7/; revision=15060