Zac Medico [Fri, 29 Jan 2010 18:45:23 +0000 (18:45 -0000)]
Revert r15161 so 12.2.5 is greater than 12.2b once again. Depending on how you
look at, it may seem counter-intuitive. However, if you really think about it,
it seems like it's probably safe to assume that 12.2.5 > 12.2b is the behavior
that is intended by anyone who would use versions such as these. (trunk r15166)
svn path=/main/branches/2.1.7/; revision=15234
Zac Medico [Fri, 29 Jan 2010 18:45:14 +0000 (18:45 -0000)]
More cases. (trunk r15165)
svn path=/main/branches/2.1.7/; revision=15233
Zac Medico [Fri, 29 Jan 2010 18:45:06 +0000 (18:45 -0000)]
Add some more cases for versions with letter suffixes. (trunk r15164)
svn path=/main/branches/2.1.7/; revision=15232
Zac Medico [Fri, 29 Jan 2010 18:44:56 +0000 (18:44 -0000)]
Add test cases for cvs versions. (trunk r15163)
svn path=/main/branches/2.1.7/; revision=15231
Zac Medico [Fri, 29 Jan 2010 18:44:47 +0000 (18:44 -0000)]
Fix vercmp so 1b > 1 and add corresponding tests. (trunk r15162)
svn path=/main/branches/2.1.7/; revision=15230
Zac Medico [Fri, 29 Jan 2010 18:44:31 +0000 (18:44 -0000)]
Revert vercmp() behavior so 12.2b > 12.2.5 which was accidentally changed in
r2309 (between portage-2.0.x and portage-2.1). Thanks to Brian Harring for
reporting in bug #287848, comment #3. (trunk r15161)
svn path=/main/branches/2.1.7/; revision=15229
Zac Medico [Fri, 29 Jan 2010 18:44:05 +0000 (18:44 -0000)]
Add test cases for implicit .0 at end of version. (trunk r15160)
svn path=/main/branches/2.1.7/; revision=15228
Zac Medico [Fri, 29 Jan 2010 18:43:50 +0000 (18:43 -0000)]
Bug #298310 - Make sure the _selinux attribute is correctly reinitialized after
reload(portage) is called. (trunk r15159)
svn path=/main/branches/2.1.7/; revision=15227
Zac Medico [Fri, 29 Jan 2010 18:43:41 +0000 (18:43 -0000)]
Bug #299248 - Fix doins return code handling to make sure it always fails
when appropriate. Thanks to Jonathan Callen <abcd@g.o> for the initial
patch. (trunk r15158)
svn path=/main/branches/2.1.7/; revision=15226
Zac Medico [Fri, 29 Jan 2010 18:43:31 +0000 (18:43 -0000)]
Document doins -r option. (trunk r15157)
svn path=/main/branches/2.1.7/; revision=15225
Zac Medico [Fri, 29 Jan 2010 18:43:21 +0000 (18:43 -0000)]
Use get_term_size() to adjust to current terminal width. Thanks to Dror Levin
<spatz@g.0> for the initial patch. (trunk r15156)
svn path=/main/branches/2.1.7/; revision=15224
Zac Medico [Fri, 29 Jan 2010 18:43:08 +0000 (18:43 -0000)]
Add some tests related to bug #287848. (trunk r15155)
svn path=/main/branches/2.1.7/; revision=15223
Zac Medico [Thu, 24 Dec 2009 05:37:52 +0000 (05:37 -0000)]
Merge PATH initialization/filtering changes from trunk r15149.
svn path=/main/branches/2.1.7/; revision=15150
Zac Medico [Thu, 24 Dec 2009 05:21:55 +0000 (05:21 -0000)]
Remove stray echo. (trunk r15147)
svn path=/main/branches/2.1.7/; revision=15148
Zac Medico [Thu, 24 Dec 2009 05:11:32 +0000 (05:11 -0000)]
In save_ebuild_env(), preserve all ebuild phases in any case since excluding
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
Zac Medico [Thu, 24 Dec 2009 04:40:22 +0000 (04:40 -0000)]
Remove obsolete backing up of ROOTPATH via PORTAGE_ROOTPATH. (trunk r15143)
svn path=/main/branches/2.1.7/; revision=15144
Zac Medico [Thu, 24 Dec 2009 04:02:21 +0000 (04:02 -0000)]
Bug #297933: Filter BASHOPTS variable for compatibility with bash-4.1.
(trunk r15130)
svn path=/main/branches/2.1.7/; revision=15142
Zac Medico [Thu, 24 Dec 2009 04:02:13 +0000 (04:02 -0000)]
If the TERM environment variable is unset then just use internal default
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
Zac Medico [Thu, 24 Dec 2009 04:01:50 +0000 (04:01 -0000)]
Bug #297541 - Make $(no-as-needed) trigger upstream.workaround warning. Thanks
to Samuli Suominen <ssuominen@g.o> for this patch. (trunk r15128)
svn path=/main/branches/2.1.7/; revision=15140
Zac Medico [Thu, 24 Dec 2009 04:01:35 +0000 (04:01 -0000)]
Add missing stat import. (trunk r15127)
svn path=/main/branches/2.1.7/; revision=15139
Zac Medico [Thu, 24 Dec 2009 04:01:27 +0000 (04:01 -0000)]
When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of the
float st_mtime in order to avoid rounding *up* in some rare cases.
(trunk r15126)
svn path=/main/branches/2.1.7/; revision=15138
Zac Medico [Thu, 24 Dec 2009 04:01:10 +0000 (04:01 -0000)]
When integer mtime is desired, use stat_obj[stat.ST_MTIME] instead of the
float st_mtime in order to avoid rounding *up* in some rare cases.
(trunk r15125)
svn path=/main/branches/2.1.7/; revision=15137
Zac Medico [Thu, 24 Dec 2009 04:00:56 +0000 (04:00 -0000)]
Remove some old debug code that should not have been committed. (trunk r15124)
svn path=/main/branches/2.1.7/; revision=15136
Zac Medico [Thu, 24 Dec 2009 04:00:46 +0000 (04:00 -0000)]
Fix the assert alias to avoid 'value to great for base' messages in some cases.
Thanks to Jonathan Callen <abcd@g.o> for reporting. (trunk r15121)
svn path=/main/branches/2.1.7/; revision=15135
Zac Medico [Thu, 17 Dec 2009 03:36:16 +0000 (03:36 -0000)]
Use portage.writemsg for lazy portage.util import. (trunk r15108)
svn path=/main/branches/2.1.7/; revision=15109
Zac Medico [Thu, 17 Dec 2009 03:30:46 +0000 (03:30 -0000)]
Convert bytes to unicode for exception messages. (trunk r15106)
svn path=/main/branches/2.1.7/; revision=15107
Zac Medico [Thu, 17 Dec 2009 03:22:11 +0000 (03:22 -0000)]
Bug #286497 - Make setexec() warn/nonfatal in permissive mode. Thanks to
Chris PeBenito <pebenito@gentoo.org> for this patch. (trunk r15100)
svn path=/main/branches/2.1.7/; revision=15105
Zac Medico [Thu, 17 Dec 2009 03:22:02 +0000 (03:22 -0000)]
Fix typo. (trunk r15099)
svn path=/main/branches/2.1.7/; revision=15104
Zac Medico [Thu, 17 Dec 2009 03:21:53 +0000 (03:21 -0000)]
Bug #296710 - Add equery to QA_INTERCEPTORS since it can trigger a fork bomb.
(trunk r15098)
svn path=/main/branches/2.1.7/; revision=15103
Zac Medico [Thu, 17 Dec 2009 03:21:42 +0000 (03:21 -0000)]
Warn if /proc is not mounted. (trunk r15097)
svn path=/main/branches/2.1.7/; revision=15102
Zac Medico [Thu, 17 Dec 2009 03:21:33 +0000 (03:21 -0000)]
Bug #296870 - Allow locale related LANG and LC_* variables to persist between
ebuild phases, and only filter them for binary and installed packages.
(trunk r15096)
svn path=/main/branches/2.1.7/; revision=15101
Zac Medico [Sun, 13 Dec 2009 03:55:39 +0000 (03:55 -0000)]
Combine 2 shift calls into one. (trunk r15059)
svn path=/main/branches/2.1.7/; revision=15092
Zac Medico [Sun, 13 Dec 2009 03:55:30 +0000 (03:55 -0000)]
Bug #296554 - Add decompression support to ecompress (similar to ecompressdir
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
Zac Medico [Sun, 13 Dec 2009 03:55:20 +0000 (03:55 -0000)]
Make prefix varialbes ED, EPREFIX, and EROOT readonly except in EAPI 0, 1, and
2. (trunk r15057)
svn path=/main/branches/2.1.7/; revision=15090
Zac Medico [Sun, 13 Dec 2009 03:55:07 +0000 (03:55 -0000)]
Inside depgraph._validate_blockers(), do not consider blockers in DEPEND of
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
Zac Medico [Sun, 13 Dec 2009 03:54:53 +0000 (03:54 -0000)]
Bug #296641 - Avoid UnicodeEncodeError with python2 in eapi_is_supported()
triggered by corrupt EAPI. (trunk r15055)
svn path=/main/branches/2.1.7/; revision=15088
Zac Medico [Sun, 13 Dec 2009 03:54:38 +0000 (03:54 -0000)]
In movefile mtime preservation code, simply round down to the nearest whole
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
Zac Medico [Sun, 13 Dec 2009 03:54:24 +0000 (03:54 -0000)]
Remove redundant EPREFIX, EROOT, and ROOT assingments inside
doebuild_environment(). (trunk r15052)
svn path=/main/branches/2.1.7/; revision=15086
Zac Medico [Sun, 13 Dec 2009 03:54:16 +0000 (03:54 -0000)]
Remove unused STARTDIR variable. (trunk r15051)
svn path=/main/branches/2.1.7/; revision=15085
Zac Medico [Sun, 13 Dec 2009 03:54:07 +0000 (03:54 -0000)]
Unset prefix vars for depend phase (even if EAPI is known). (trunk r15050)
svn path=/main/branches/2.1.7/; revision=15084
Zac Medico [Sun, 13 Dec 2009 03:53:58 +0000 (03:53 -0000)]
Unset prefix vars for depend phase when EAPI is unknown. (trunk r15049)
svn path=/main/branches/2.1.7/; revision=15083
Zac Medico [Sun, 13 Dec 2009 03:53:48 +0000 (03:53 -0000)]
* Fix type in econf --host argument.
* 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
Zac Medico [Sun, 13 Dec 2009 03:53:31 +0000 (03:53 -0000)]
Fix typo. (trunk r15047)
svn path=/main/branches/2.1.7/; revision=15081
Zac Medico [Sun, 13 Dec 2009 03:53:22 +0000 (03:53 -0000)]
In movefile mtime rounding code, generate nanosecond resolution (9 decimal
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
Zac Medico [Sun, 13 Dec 2009 03:53:11 +0000 (03:53 -0000)]
Fix typo. (trunk r15045)
svn path=/main/branches/2.1.7/; revision=15079
Zac Medico [Sun, 13 Dec 2009 03:52:59 +0000 (03:52 -0000)]
Remove redundant EPREFIX setting since it's already initialized earlier in the
config constructor. (trunk r15044)
svn path=/main/branches/2.1.7/; revision=15078
Zac Medico [Sun, 13 Dec 2009 03:52:44 +0000 (03:52 -0000)]
Update for EAPI 3_pre2. (trunk r15043)
svn path=/main/branches/2.1.7/; revision=15077
Zac Medico [Sun, 13 Dec 2009 03:52:30 +0000 (03:52 -0000)]
Add more EAPI 3 conditionals for prefix variables. (trunk r15042)
svn path=/main/branches/2.1.7/; revision=15076
Zac Medico [Sun, 13 Dec 2009 03:52:18 +0000 (03:52 -0000)]
Add EAPI 3 conditionals for prefix variables. (trunk r15041)
svn path=/main/branches/2.1.7/; revision=15075
Zac Medico [Sun, 13 Dec 2009 03:52:06 +0000 (03:52 -0000)]
Just use integer mtime if no fractional seconds are found in the search.
(trunk r15040)
svn path=/main/branches/2.1.7/; revision=15074
Zac Medico [Sun, 13 Dec 2009 03:51:52 +0000 (03:51 -0000)]
Tweak movefile() timestamp preservation code to maximize precision for old
timestamps that are closer to the epoch. (trunk r15039)
svn path=/main/branches/2.1.7/; revision=15073
Zac Medico [Sun, 13 Dec 2009 03:51:39 +0000 (03:51 -0000)]
Add missing line from previous commit. (trunk r15038)
svn path=/main/branches/2.1.7/; revision=15072
Zac Medico [Sun, 13 Dec 2009 03:51:26 +0000 (03:51 -0000)]
In movefile() timestamp preservation code, use another loop to search for
another digit of precision. (trunk r15037)
svn path=/main/branches/2.1.7/; revision=15071
Zac Medico [Sun, 13 Dec 2009 03:51:11 +0000 (03:51 -0000)]
Add EAPI to the whitelist to ensure it's always available as early as possible.
(trunk r15036)
svn path=/main/branches/2.1.7/; revision=15070
Zac Medico [Sun, 13 Dec 2009 03:50:56 +0000 (03:50 -0000)]
Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is disabled. (trunk r15035)
svn path=/main/branches/2.1.7/; revision=15069
Zac Medico [Sun, 13 Dec 2009 03:50:39 +0000 (03:50 -0000)]
Enable xz unpack for EAPI 3_pre2. (trunk r15034)
svn path=/main/branches/2.1.7/; revision=15068
Zac Medico [Sun, 13 Dec 2009 03:50:24 +0000 (03:50 -0000)]
Add support for EAPI 3_pre2. (trunk r15033)
svn path=/main/branches/2.1.7/; revision=15067
Zac Medico [Sun, 13 Dec 2009 03:50:12 +0000 (03:50 -0000)]
In config.environ(), only export ED, EPREFIX, and EROOT to the ebuild
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
Zac Medico [Sun, 13 Dec 2009 03:49:51 +0000 (03:49 -0000)]
Don't filter/interfere with prefix variables unless they are supported by the
current EAPI. (trunk r15031)
svn path=/main/branches/2.1.7/; revision=15065
Zac Medico [Sun, 13 Dec 2009 03:49:37 +0000 (03:49 -0000)]
Filter prefix variables ED, EPREFIX, and EROOT inside
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
Zac Medico [Sun, 13 Dec 2009 03:49:17 +0000 (03:49 -0000)]
Don't use lazy import for portage.cache.mappings because it's imported anyway.
(trunk r15029)
svn path=/main/branches/2.1.7/; revision=15063
Zac Medico [Sun, 13 Dec 2009 03:49:09 +0000 (03:49 -0000)]
Use collections.OrderedDict when available (python-2.7) and fall back to
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
Zac Medico [Sun, 13 Dec 2009 03:48:53 +0000 (03:48 -0000)]
fix definition regarding slashes for EPREFIX, D, ED and EROOT (trunk r15026)
svn path=/main/branches/2.1.7/; revision=15061
Zac Medico [Sun, 13 Dec 2009 03:48:30 +0000 (03:48 -0000)]
Implement forward compatible Prefix support. This makes EPREFIX, ED and
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
Zac Medico [Thu, 10 Dec 2009 05:49:06 +0000 (05:49 -0000)]
Fix introspection code in fetch() so that it works correctly when myuris is
an OrderedDict instance. This fixes broken fetching for some packages.
(trunk r15019)
svn path=/main/branches/2.1.7/; revision=15020
Zac Medico [Thu, 10 Dec 2009 01:51:51 +0000 (01:51 -0000)]
Remove extra comman in comment. (trunk r15015)
svn path=/main/branches/2.1.7/; revision=15016
Zac Medico [Thu, 10 Dec 2009 01:05:49 +0000 (01:05 -0000)]
Handle permission problems when trying to cache the remote Packages file
from a binhost. Thanks to Jeremy Olexa <darkside@g.o> for reporting.
(trunk r14997)
svn path=/main/branches/2.1.7/; revision=15013
Zac Medico [Thu, 10 Dec 2009 01:05:35 +0000 (01:05 -0000)]
Detect cases when long(stat_obj.st_mtime) != stat_obj[stat.ST_MTIME] due to
rounding up, and truncate digits as necessary to preserve the integral seconds
portion of the mtime. (trunk r14996)
svn path=/main/branches/2.1.7/; revision=15012
Zac Medico [Thu, 10 Dec 2009 01:05:13 +0000 (01:05 -0000)]
In movefile(), always use stat_obj[stat.ST_MTIME] for the integral timestamp
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. (trunk r14995)
svn path=/main/branches/2.1.7/; revision=15011
Zac Medico [Thu, 10 Dec 2009 01:05:05 +0000 (01:05 -0000)]
Remove obsolete env-update.sh script. (trunk r14992)
svn path=/main/branches/2.1.7/; revision=15010
Zac Medico [Thu, 10 Dec 2009 01:04:47 +0000 (01:04 -0000)]
Add localization variables (LANG and LC_*) to the environment whitelist and
filter them from the saved environment (so user settings override those of
binary packages). Thanks to Fabio Erculiani <lxnay@g.o> for reporting.
(trunk r14975)
svn path=/main/branches/2.1.7/; revision=15009
Zac Medico [Thu, 10 Dec 2009 01:04:33 +0000 (01:04 -0000)]
When overridding sys.std* in python2, use binary streams. (trunk r14974)
svn path=/main/branches/2.1.7/; revision=15008
Zac Medico [Thu, 10 Dec 2009 01:04:26 +0000 (01:04 -0000)]
Fix handling for TEMP, TMP, and TMPDIR variables:
* Add to whitelist so current values are always used.
* Always filter them from the saved environment.
* Always add thier values to SANDBOX_WRITE. (trunk r14973)
svn path=/main/branches/2.1.7/; revision=15007
Zac Medico [Thu, 10 Dec 2009 01:04:18 +0000 (01:04 -0000)]
Use ImportError handling to import _TextTestResult which moved from
unittest to unittest.runner in python-2.7. Thanks to Arfrever for the
suggestion. (trunk r14972)
svn path=/main/branches/2.1.7/; revision=15006
Zac Medico [Thu, 10 Dec 2009 01:04:07 +0000 (01:04 -0000)]
When temporarily replacing the sys.std* streams, use the normal open() func
in python3 so that we get the right class (otherwise our code that expects
the 'buffer' attribute will break). (trunk r14971)
svn path=/main/branches/2.1.7/; revision=15005
Zac Medico [Thu, 10 Dec 2009 01:03:58 +0000 (01:03 -0000)]
Don't assign f to sys.stderr inside EOutput._write(). (trunk r14970)
svn path=/main/branches/2.1.7/; revision=15004
Zac Medico [Thu, 10 Dec 2009 01:03:49 +0000 (01:03 -0000)]
When reading the remote Packages file for --getbinpkg, use codecs.iterdecode
to decode the stream. Also, don't use finally to close the atomic_ofstream
when writing the file since we want it to abort if an exception is raised.
(trunk r14969)
svn path=/main/branches/2.1.7/; revision=15003
Zac Medico [Thu, 10 Dec 2009 01:03:33 +0000 (01:03 -0000)]
Use OrderedDict in portdbapi.getFetchMap() so that order in $A corresponds
to order in SRC_URI. (trunk r14968)
svn path=/main/branches/2.1.7/; revision=15002
Zac Medico [Thu, 10 Dec 2009 01:03:20 +0000 (01:03 -0000)]
Add OrderedDict class. (trunk r14967)
svn path=/main/branches/2.1.7/; revision=15001
Zac Medico [Thu, 10 Dec 2009 01:03:00 +0000 (01:03 -0000)]
Move ebuild helpers to account for rename of EAPI 3 to 4. (trunk r14966)
svn path=/main/branches/2.1.7/; revision=15000
Zac Medico [Thu, 10 Dec 2009 01:02:01 +0000 (01:02 -0000)]
Bump EAPI conditionals to account for rename of EAPI 3 to 4. Thanks to
Jonathan Callen <abcd@g.o> for this patch. (trunk r14965)
svn path=/main/branches/2.1.7/; revision=14999
Zac Medico [Thu, 10 Dec 2009 00:56:06 +0000 (00:56 -0000)]
Copy the unittest._TextTestResult class from python-2.6 since it's been
removed in python-2.7. (trunk r14963)
svn path=/main/branches/2.1.7/; revision=14998
Zac Medico [Mon, 7 Dec 2009 02:54:30 +0000 (02:54 -0000)]
Remove unused filter_phases, filter_mergephases, and filter_unmergephases
functions. (trunk r14958)
svn path=/main/branches/2.1.7/; revision=14960
Zac Medico [Mon, 7 Dec 2009 02:54:17 +0000 (02:54 -0000)]
Remove unnecessary elog_process() phasefilter arguements. (trunk r14957)
svn path=/main/branches/2.1.7/; revision=14959
Zac Medico [Mon, 7 Dec 2009 02:44:26 +0000 (02:44 -0000)]
Make more code conditional on existence of PORTAGE_BUILDDIR inside
dblink._merge(). (trunk r14955)
svn path=/main/branches/2.1.7/; revision=14956
Zac Medico [Mon, 7 Dec 2009 02:30:55 +0000 (02:30 -0000)]
Inside dblink._merge(), make sure PORTAGE_BUILDDIR still exists before trying
to call ebuild success/die hooks, since it might have already been removed
by fail-clean (and the hooks would have already been called). (trunk r14953)
svn path=/main/branches/2.1.7/; revision=14954
Zac Medico [Mon, 7 Dec 2009 02:00:47 +0000 (02:00 -0000)]
Fix possibly unsafe modification of list during iteration inside
update_config_files(). (trunk r14951)
svn path=/main/branches/2.1.7/; revision=14952
Zac Medico [Sun, 6 Dec 2009 11:03:54 +0000 (11:03 -0000)]
Bug #295715 - Implement a register_success_hook function to complement
register_die_hook, and also add code to ensure the die hooks are called even
when the failure is on the python side (like for file collisions).
(trunk r14936)
svn path=/main/branches/2.1.7/; revision=14950
Zac Medico [Sun, 6 Dec 2009 11:03:33 +0000 (11:03 -0000)]
Add 'tla' to the lists of live eclasses. (trunk r14935)
svn path=/main/branches/2.1.7/; revision=14949
Zac Medico [Sun, 6 Dec 2009 11:02:11 +0000 (11:02 -0000)]
Fix _spawn_misc_sh() to properly unset EBUILD_PHASE, and add a 'phase'
description parameter for use in messages. (trunk r14934)
svn path=/main/branches/2.1.7/; revision=14948
Zac Medico [Sun, 6 Dec 2009 11:02:00 +0000 (11:02 -0000)]
Add a AbstractEbuildProcess class for MiscFunctionsProcess to inherit the
_pipe and _can_log methods that used to be in the EbuildProcess class.
(trunk r14933)
svn path=/main/branches/2.1.7/; revision=14947
Zac Medico [Sun, 6 Dec 2009 11:01:29 +0000 (11:01 -0000)]
Make register_die_hook() ensure that each hook is registered only once.
(trunk r14932)
svn path=/main/branches/2.1.7/; revision=14946
Zac Medico [Sun, 6 Dec 2009 11:01:14 +0000 (11:01 -0000)]
Use portage.StringIO to avoid duplicate import fallback code. (trunk r14931)
svn path=/main/branches/2.1.7/; revision=14945
Zac Medico [Sun, 6 Dec 2009 11:01:05 +0000 (11:01 -0000)]
Move code for handling missing sandbox binary out of the config constructor.
(trunk r14930)
svn path=/main/branches/2.1.7/; revision=14944
Zac Medico [Sun, 6 Dec 2009 11:00:46 +0000 (11:00 -0000)]
Bug #295805 - Fix ValueError with python3 inside update_config_files().
(trunk r14929)
svn path=/main/branches/2.1.7/; revision=14943
Zac Medico [Sun, 6 Dec 2009 11:00:34 +0000 (11:00 -0000)]
Bug #162404 - Automatically disable logging if sesandbox is enabled and a
pty is not available for some reason (currently they are never available
with python3). (trunk r14928)
svn path=/main/branches/2.1.7/; revision=14942
Zac Medico [Sun, 6 Dec 2009 11:00:17 +0000 (11:00 -0000)]
Always append QA Notices resulting from the build log search to the end of
the log. Thanks to Diego E. Pettenò for reporting. (trunk r14927)
svn path=/main/branches/2.1.7/; revision=14941
Zac Medico [Thu, 3 Dec 2009 05:09:29 +0000 (05:09 -0000)]
Bug #280336, comment #2 - Clear the package selection cache when packages
are added to the graph. This fixes incorrect choices that happen in some
cases. (trunk r14922)
svn path=/main/branches/2.1.7/; revision=14924
Zac Medico [Thu, 3 Dec 2009 05:09:13 +0000 (05:09 -0000)]
Bug #295351 - Make update_dbentries() return unicode if it's given unicode,
and bytes if it's given bytes. (trunk r14921)
svn path=/main/branches/2.1.7/; revision=14923
Zac Medico [Sat, 28 Nov 2009 22:18:29 +0000 (22:18 -0000)]
Fix deprecated usage of dep_getkey(). Thanks to Sebastian Mingramm (few)
for reporting. (trunk r14915)
svn path=/main/branches/2.1.7/; revision=14918