Zac Medico [Tue, 2 Mar 2010 18:23:08 +0000 (18:23 -0000)]
Define userpriv_groups earlier in order to avoid an AttributeError from
lazy import code. Thanks to antarus for reporting. (trunk r15277)
svn path=/main/branches/2.1.7/; revision=15516
Zac Medico [Fri, 29 Jan 2010 19:07:56 +0000 (19:07 -0000)]
Don't ignore CVS/Entries.IO_error when not in commit mode. (trunk r15272)
svn path=/main/branches/2.1.7/; revision=15273
Zac Medico [Fri, 29 Jan 2010 18:53:35 +0000 (18:53 -0000)]
Remove code for svn.IO_error and bzr.IO_error categories since they don't
exist therefore and if this code had ever executed it would have raised
a KeyError. (trunk r15222)
svn path=/main/branches/2.1.7/; revision=15271
Zac Medico [Fri, 29 Jan 2010 18:53:23 +0000 (18:53 -0000)]
Enable EAPI 3 and deprecate EAPI 3_pre2. (trunk r15221)
svn path=/main/branches/2.1.7/; revision=15270
Zac Medico [Fri, 29 Jan 2010 18:53:15 +0000 (18:53 -0000)]
Show the path of the lockfile when chown fails. Thanks to Jeremy Olexa
<darkside@g.o> for reporting. (trunk r15220)
svn path=/main/branches/2.1.7/; revision=15269
Zac Medico [Fri, 29 Jan 2010 18:52:52 +0000 (18:52 -0000)]
In portage.spawn(), apply group write permission to the log file. (trunk r15218)
svn path=/main/branches/2.1.7/; revision=15268
Zac Medico [Fri, 29 Jan 2010 18:52:44 +0000 (18:52 -0000)]
Bug #300378 - Don't export FILESDIR to the 'depend' phase. (trunk r15217)
svn path=/main/branches/2.1.7/; revision=15267
Zac Medico [Fri, 29 Jan 2010 18:52:36 +0000 (18:52 -0000)]
Move the DOM unlink call to a finally block. (trunk r15216)
svn path=/main/branches/2.1.7/; revision=15266
Zac Medico [Fri, 29 Jan 2010 18:52:28 +0000 (18:52 -0000)]
Fix AttributeError from has_versions for atoms with no USE deps. Thanks to
Arfrever for reporting. (trunk r15214)
svn path=/main/branches/2.1.7/; revision=15265
Zac Medico [Fri, 29 Jan 2010 18:52:20 +0000 (18:52 -0000)]
Fix typo in docstring. (trunk r15213)
svn path=/main/branches/2.1.7/; revision=15264
Zac Medico [Fri, 29 Jan 2010 18:52:04 +0000 (18:52 -0000)]
Add an Atom.evaluate_conditionals() method and use where appropriate.
(trunk r15212)
svn path=/main/branches/2.1.7/; revision=15263
Zac Medico [Fri, 29 Jan 2010 18:51:56 +0000 (18:51 -0000)]
Add support for evaluation of conditional USE atoms in has_version and
best_version arguments, using the USE environment variable. (trunk r15211)
svn path=/main/branches/2.1.7/; revision=15262
Zac Medico [Fri, 29 Jan 2010 18:51:48 +0000 (18:51 -0000)]
Add a warning for built_with_use. Thanks to Petteri Räty <betelgeuse@g.o> for
this patch. (trunk r15209)
svn path=/main/branches/2.1.7/; revision=15261
Zac Medico [Fri, 29 Jan 2010 18:51:27 +0000 (18:51 -0000)]
Bug #302005 - Remove broken test code. (trunk r15208)
svn path=/main/branches/2.1.7/; revision=15260
Zac Medico [Fri, 29 Jan 2010 18:50:06 +0000 (18:50 -0000)]
Bug #301926 - Handle ValueError in parseManifest2(), triggered by corrupt
manifest entry. (trunk r15207)
svn path=/main/branches/2.1.7/; revision=15259
Zac Medico [Fri, 29 Jan 2010 18:49:58 +0000 (18:49 -0000)]
Fix Manifest commit logic for cvs and svn. Thanks to Rafael Martins
<rafael@rafaelmartins.com>. (trunk r15205)
svn path=/main/branches/2.1.7/; revision=15258
Zac Medico [Fri, 29 Jan 2010 18:49:48 +0000 (18:49 -0000)]
Invert some vcs conditionals that are specific to cvs and svn. (trunk r15204)
svn path=/main/branches/2.1.7/; revision=15257
Zac Medico [Fri, 29 Jan 2010 18:49:38 +0000 (18:49 -0000)]
Support mercurial. Thanks to Rafael Martins <rafael@rafaelmartins.com> for
this patch. (trunk r15203)
svn path=/main/branches/2.1.7/; revision=15256
Zac Medico [Fri, 29 Jan 2010 18:49:23 +0000 (18:49 -0000)]
Don't bail out if postinst fails. Thanks to Brain Harring for the suggestion.
(trunk r15202)
svn path=/main/branches/2.1.7/; revision=15255
Zac Medico [Fri, 29 Jan 2010 18:49:10 +0000 (18:49 -0000)]
Remove ibiblio.org from the default GENTOO_MIRRORS value. Thanks to
Jeremy Olexa <darkside@g.o> for this patch. (trunk r15201)
svn path=/main/branches/2.1.7/; revision=15254
Zac Medico [Fri, 29 Jan 2010 18:49:01 +0000 (18:49 -0000)]
Make sure repoman knows about all files in the directory to commit using bzr. Patch by Christian Faulhammer.
(trunk r15199)
svn path=/main/branches/2.1.7/; revision=15253
Zac Medico [Fri, 29 Jan 2010 18:48:48 +0000 (18:48 -0000)]
Bug #300744 - Inside xpak(), exclude CONTENTS for quickpkg since contents is
generated by the merge process. (trunk r15198)
svn path=/main/branches/2.1.7/; revision=15252
Zac Medico [Fri, 29 Jan 2010 18:48:40 +0000 (18:48 -0000)]
Use encoded byte strings with python-2.x, since the python ebuilds are
known to remove the encodings module when USE=build is enabled (thus
disabling unicode decoding/encoding). (trunk r15197)
svn path=/main/branches/2.1.7/; revision=15251
Zac Medico [Fri, 29 Jan 2010 18:48:32 +0000 (18:48 -0000)]
Fix output handling to avoid potential UnicodeEncodeError. (trunk r15196)
svn path=/main/branches/2.1.7/; revision=15250
Zac Medico [Fri, 29 Jan 2010 18:48:21 +0000 (18:48 -0000)]
Fix unicode quote handling to work with python3. (trunk r15195)
svn path=/main/branches/2.1.7/; revision=15249
Zac Medico [Fri, 29 Jan 2010 18:48:08 +0000 (18:48 -0000)]
Avoid portage import in order to avoid a potential sandbox violation if
portage's *.pyc files are stale. (trunk r15194)
svn path=/main/branches/2.1.7/; revision=15248
Zac Medico [Fri, 29 Jan 2010 18:47:59 +0000 (18:47 -0000)]
Avoid potential UnicodeDecodeError with Python 3. Reported by devurandom.
(trunk r15192)
svn path=/main/branches/2.1.7/; revision=15247
Zac Medico [Fri, 29 Jan 2010 18:47:51 +0000 (18:47 -0000)]
Bug #300388 - Fix terminal handling code to so term codes aren't sent when
TERM=dumb. (trunk r15191)
svn path=/main/branches/2.1.7/; revision=15246
Zac Medico [Fri, 29 Jan 2010 18:47:30 +0000 (18:47 -0000)]
Tweak TERM usage in xtermTitleReset() to match that in xtermTitle().
(trunk r15190)
svn path=/main/branches/2.1.7/; revision=15245
Zac Medico [Fri, 29 Jan 2010 18:47:09 +0000 (18:47 -0000)]
only return status for the current directory (or the directory being asked for), instead of the whole tree
(trunk r15188)
svn path=/main/branches/2.1.7/; revision=15244
Zac Medico [Fri, 29 Jan 2010 18:46:55 +0000 (18:46 -0000)]
Add Bazaar (bzr) support for repoman, test-driven by Fauli (Christian Faulhammer)
(trunk r15185)
svn path=/main/branches/2.1.7/; revision=15243
Zac Medico [Fri, 29 Jan 2010 18:46:45 +0000 (18:46 -0000)]
Fix blocker example output to appear as emerge actually displays it.
(trunk r15180)
svn path=/main/branches/2.1.7/; revision=15242
Zac Medico [Fri, 29 Jan 2010 18:46:36 +0000 (18:46 -0000)]
Skip global updates for help, version, and info actions. (trunk r15179)
svn path=/main/branches/2.1.7/; revision=15241
Zac Medico [Fri, 29 Jan 2010 18:46:24 +0000 (18:46 -0000)]
Bug #269225 - Warn about virtuals with non-empty HOMEPAGE or LICENSE. Thanks
to Ulrich Müller <ulm@g.o> for this patch. (trunk r15174)
svn path=/main/branches/2.1.7/; revision=15240
Zac Medico [Fri, 29 Jan 2010 18:46:10 +0000 (18:46 -0000)]
Add a TODO comment for improved handling of /lib/modules. (trunk r15173)
svn path=/main/branches/2.1.7/; revision=15239
Zac Medico [Fri, 29 Jan 2010 18:45:59 +0000 (18:45 -0000)]
Fix it so an empty directory given to doins -r does not trigger failure.
(trunk r15172)
svn path=/main/branches/2.1.7/; revision=15238
Zac Medico [Fri, 29 Jan 2010 18:45:49 +0000 (18:45 -0000)]
In python-2.x, convert PortageException.value attribute from unicode to str
in order to avoid empty output with string format operator. (trunk r15169)
svn path=/main/branches/2.1.7/; revision=15237
Zac Medico [Fri, 29 Jan 2010 18:45:41 +0000 (18:45 -0000)]
Handle AttributeError inside atomic_ofstream.__del__. Thanks to Cardoe for
reporting. (trunk r15168)
svn path=/main/branches/2.1.7/; revision=15236
Zac Medico [Fri, 29 Jan 2010 18:45:33 +0000 (18:45 -0000)]
Rearrange _selinux ImportError handling so the workaround for bug #298310
isn't necessary. (trunk r15167)
svn path=/main/branches/2.1.7/; revision=15235
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