summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert bytes to unicode for exception messages.Zac Medico2009-12-171-0/+8
| | | | svn path=/main/trunk/; revision=15106
* Bug #286497 - Make setexec() warn/nonfatal in permissive mode. Thanks toZac Medico2009-12-171-1/+10
| | | | | | Chris PeBenito <pebenito@gentoo.org> for this patch. svn path=/main/trunk/; revision=15100
* Fix typo.Arfrever Frehtes Taifersar Arahesis2009-12-161-1/+1
| | | | svn path=/main/trunk/; revision=15099
* Bug #296710 - Add equery to QA_INTERCEPTORS since it can trigger a fork bomb.Zac Medico2009-12-161-1/+1
| | | | svn path=/main/trunk/; revision=15098
* Warn if /proc is not mounted.Zac Medico2009-12-161-0/+11
| | | | svn path=/main/trunk/; revision=15097
* Bug #296870 - Allow locale related LANG and LC_* variables to persist betweenZac Medico2009-12-162-6/+12
| | | | | | ebuild phases, and only filter them for binary and installed packages. svn path=/main/trunk/; revision=15096
* Combine 2 shift calls into one.v2.2_rc59Zac Medico2009-12-131-2/+1
| | | | svn path=/main/trunk/; revision=15059
* 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. svn path=/main/trunk/; revision=15058
* Make prefix varialbes ED, EPREFIX, and EROOT readonly except in EAPI 0, 1, andZac Medico2009-12-131-0/+7
| | | | | | 2. svn path=/main/trunk/; revision=15057
* 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. svn path=/main/trunk/; revision=15056
* Bug #296641 - Avoid UnicodeEncodeError with python2 in eapi_is_supported()Zac Medico2009-12-121-1/+5
| | | | | | triggered by corrupt EAPI. svn path=/main/trunk/; revision=15055
* In movefile mtime preservation code, simply round down to the nearest wholeZac Medico2009-12-121-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. svn path=/main/trunk/; revision=15054
* Remove redundant EPREFIX, EROOT, and ROOT assingments insideZac Medico2009-12-121-5/+0
| | | | | | doebuild_environment(). svn path=/main/trunk/; revision=15052
* Remove unused STARTDIR variable.Zac Medico2009-12-122-3/+2
| | | | svn path=/main/trunk/; revision=15051
* Unset prefix vars for depend phase (even if EAPI is known).Zac Medico2009-12-121-2/+1
| | | | svn path=/main/trunk/; revision=15050
* Unset prefix vars for depend phase when EAPI is unknown.Zac Medico2009-12-121-1/+2
| | | | svn path=/main/trunk/; revision=15049
* * Fix type in econf --host argument.Zac Medico2009-12-122-22/+26
| | | | | | | * Add missing econf --build and --target arguments. * Use tabs instead of spaces for indentation. svn path=/main/trunk/; revision=15048
* Fix typo.Zac Medico2009-12-121-1/+1
| | | | svn path=/main/trunk/; revision=15047
* In movefile mtime rounding code, generate nanosecond resolution (9 decimalZac Medico2009-12-121-21/+15
| | | | | | | places) in order to ensure that the floating point representation is the highest value possible without rounding up. svn path=/main/trunk/; revision=15046
* Fix typo.Arfrever Frehtes Taifersar Arahesis2009-12-121-1/+1
| | | | svn path=/main/trunk/; revision=15045
* Remove redundant EPREFIX setting since it's already initialized earlier in theZac Medico2009-12-121-4/+0
| | | | | | config constructor. svn path=/main/trunk/; revision=15044
* Update for EAPI 3_pre2.Zac Medico2009-12-121-6/+93
| | | | svn path=/main/trunk/; revision=15043
* Add more EAPI 3 conditionals for prefix variables.Zac Medico2009-12-111-2/+9
| | | | svn path=/main/trunk/; revision=15042
* Add EAPI 3 conditionals for prefix variables.Zac Medico2009-12-111-5/+8
| | | | svn path=/main/trunk/; revision=15041
* Just use integer mtime if no fractional seconds are found in the search.Zac Medico2009-12-111-1/+4
| | | | svn path=/main/trunk/; revision=15040
* Tweak movefile() timestamp preservation code to maximize precision for oldZac Medico2009-12-111-21/+21
| | | | | | timestamps that are closer to the epoch. svn path=/main/trunk/; revision=15039
* Add missing line from previous commit.Zac Medico2009-12-111-0/+1
| | | | svn path=/main/trunk/; revision=15038
* In movefile() timestamp preservation code, use another loop to search forZac Medico2009-12-111-0/+9
| | | | | | another digit of precision. svn path=/main/trunk/; revision=15037
* Add EAPI to the whitelist to ensure it's always available as early as possible.Zac Medico2009-12-111-1/+1
| | | | svn path=/main/trunk/; revision=15036
* Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled.Zac Medico2009-12-116-18/+18
| | | | svn path=/main/trunk/; revision=15035
* Enable xz unpack for EAPI 3_pre2.Zac Medico2009-12-111-1/+1
| | | | svn path=/main/trunk/; revision=15034
* Add support for EAPI 3_pre2.Zac Medico2009-12-111-1/+1
| | | | svn path=/main/trunk/; revision=15033
* In config.environ(), only export ED, EPREFIX, and EROOT to the ebuildZac Medico2009-12-111-0/+6
| | | | | | | environment starting with EAPI 3 (so people won't write ebuilds that are incompatible with older package managers). svn path=/main/trunk/; revision=15032
* Don't filter/interfere with prefix variables unless they are supported by theZac Medico2009-12-111-1/+12
| | | | | | current EAPI. svn path=/main/trunk/; revision=15031
* Filter prefix variables ED, EPREFIX, and EROOT insideZac Medico2009-12-112-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. svn path=/main/trunk/; revision=15030
* Don't use lazy import for portage.cache.mappings because it's imported anyway.Zac Medico2009-12-111-8/+6
| | | | svn path=/main/trunk/; revision=15029
* Use collections.OrderedDict when available (python-2.7) and fall back toZac Medico2009-12-112-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. svn path=/main/trunk/; revision=15028
* fix definition regarding slashes for EPREFIX, D, ED and EROOTFabian Groffen2009-12-101-9/+14
| | | | svn path=/main/trunk/; revision=15026
* Implement forward compatible Prefix support. This makes EPREFIX, ED andFabian Groffen2009-12-103-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. svn path=/main/trunk/; revision=15024
* Fix introspection code in fetch() so that it works correctly when myuris isv2.2_rc58Zac Medico2009-12-101-1/+2
| | | | | | an OrderedDict instance. This fixes broken fetching for some packages. svn path=/main/trunk/; revision=15019
* Remove extra comman in comment.v2.2_rc57Zac Medico2009-12-101-1/+1
| | | | svn path=/main/trunk/; revision=15015
* Don't enable EAPI 4_pre1 yet.Zac Medico2009-12-101-1/+1
| | | | svn path=/main/trunk/; revision=15014
* Handle permission problems when trying to cache the remote Packages fileZac Medico2009-12-101-4/+11
| | | | | | from a binhost. Thanks to Jeremy Olexa <darkside@g.o> for reporting. svn path=/main/trunk/; revision=14997
* Detect cases when long(stat_obj.st_mtime) != stat_obj[stat.ST_MTIME] due toZac Medico2009-12-101-1/+19
| | | | | | | rounding up, and truncate digits as necessary to preserve the integral seconds portion of the mtime. svn path=/main/trunk/; revision=14996
* In movefile(), always use stat_obj[stat.ST_MTIME] for the integral timestampZac Medico2009-12-091-3/+6
| | | | | | | which is returned, since the stat_obj.st_mtime float attribute rounds *up* if the nanosecond part of the timestamp is 999999881 ns or greater. svn path=/main/trunk/; revision=14995
* Remove obsolete env-update.sh script.Zac Medico2009-12-091-219/+0
| | | | svn path=/main/trunk/; revision=14992
* Add localization variables (LANG and LC_*) to the environment whitelist andZac Medico2009-12-092-0/+12
| | | | | | | filter them from the saved environment (so user settings override those of binary packages). Thanks to Fabio Erculiani <lxnay@g.o> for reporting. svn path=/main/trunk/; revision=14975
* When overridding sys.std* in python2, use binary streams.Zac Medico2009-12-091-6/+8
| | | | svn path=/main/trunk/; revision=14974
* Fix handling for TEMP, TMP, and TMPDIR variables:Zac Medico2009-12-093-1/+12
| | | | | | | | * Add to whitelist so current values are always used. * Always filter them from the saved environment. * Always add thier values to SANDBOX_WRITE. svn path=/main/trunk/; revision=14973
* Use ImportError handling to import _TextTestResult which moved fromZac Medico2009-12-091-57/+8
| | | | | | | unittest to unittest.runner in python-2.7. Thanks to Arfrever for the suggestion. svn path=/main/trunk/; revision=14972