Fabian Groffen [Sun, 31 Jan 2010 09:44:08 +0000 (09:44 -0000)]
Merged from trunk -r15292:15298
| 15293 | Fix: change os.mkdir to os.makedirs in case of there are |
| volkmar | more than one directory depth missing. According to |
| | docs.python.org, permissions may be not respected with |
| | os.makedirs... with some systems. |
| 15294 | Avoid NameError when cwd is $FILESDIR. Thanks to Christian |
| zmedico | Ruppert <idl0r@g.o> for reporting. |
| 15295 | Bug #302764 - Inside __iter__, only recurse 1 deep, in order |
| zmedico | to avoid iteration over entries from another nested cache |
| | instance. This can happen if the user nests an overlay |
| | inside /usr/portage/local. Thanks to Vlastimil Babka |
| | <caster@g.o> for this patch. |
| 15296 | Make __iter__ use list.pop() instead of pop(0), for greater |
| zmedico | efficiency. |
| 15297 | In __iter__, handle OSError from lstat in case a cache entry |
| zmedico | disappears. |
| 15298 | Reverting r15293, it was actually not needed. |
| volkmar | |
svn path=/main/branches/prefix/; revision=15302
Fabian Groffen [Sun, 31 Jan 2010 09:43:08 +0000 (09:43 -0000)]
Merged from trunk -r15285:15292
| 15286 | fix: python dbm module doesn't accept unicode as key |
| volkmar | |
| 15287 | Define __slots__ in all classes. |
| zmedico | |
| 15288 | In config._expandLicenseToken(), make sure traversed_groups |
| zmedico | is only initialized when appropriate. |
| 15289 | Fix concatenation of list + tuple in |
| zmedico | Manifest._createManifestEntries(). |
| 15290 | Don't generate DeprecationWarning for portdbapi arguments. |
| zmedico | Wait until new portdbapi constructor is in stable portage |
| | first. |
| 15291 | fix flat_list cache backend looks like it was outdated wrt. |
| volkmar | template cache backend |
| 15292 | Show a DeprecationWarning if the deprecated pordbapi |
| zmedico | constructor parameter is used incorrectly. |
svn path=/main/branches/prefix/; revision=15301
Fabian Groffen [Sun, 31 Jan 2010 09:41:21 +0000 (09:41 -0000)]
Merged from trunk -r15280:15285
| 15281 | Deprecate the first parameter of the portdbapi constructor |
| zmedico | since it is always the same as mysettings['PORTDIR']. |
| 15282 | Use tuples instead of lists for immutability. |
| zmedico | |
| 15283 | For immutable config attributes, use shallow copy for speed |
| zmedico | and memory conservation. |
| 15284 | For immutable config attributes, use shallow copy for speed |
| zmedico | and memory conservation. |
| 15285 | For immutable config attributes, use shallow copy for speed |
| zmedico | and memory conservation. |
svn path=/main/branches/prefix/; revision=15300
Fabian Groffen [Sun, 31 Jan 2010 09:40:03 +0000 (09:40 -0000)]
Merged from trunk -r15272:15280
| 15277 | Define userpriv_groups earlier in order to avoid an |
| zmedico | AttributeError from lazy import code. Thanks to antarus for |
| | reporting. |
| 15278 | Bug #277902 - When excluding config files, instead of using |
| zmedico | an empty file as a placeholder, use a file containing a |
| | comment like this: # empty file because --include-config=n |
| | when `quickpkg` was used |
| 15279 | Fix conditional logic for userpriv_groups intialization. |
| zmedico | |
| 15280 | Fix code from r15278 for python3 unicode compatibility. |
| zmedico | |
svn path=/main/branches/prefix/; revision=15299
Fabian Groffen [Fri, 29 Jan 2010 20:43:56 +0000 (20:43 -0000)]
Merged from trunk -r15218:15272
| 15220 | Show the path of the lockfile when chown fails. Thanks to |
| zmedico | Jeremy Olexa <darkside@g.o> for reporting. |
| 15221 | Enable EAPI 3 and deprecate EAPI 3_pre2. |
| zmedico | |
| 15222 | Remove code for svn.IO_error and bzr.IO_error categories |
| zmedico | since they don't exist therefore and if this code had ever |
| | executed it would have raised a KeyError. |
| 15272 | Don't ignore CVS/Entries.IO_error when not in commit mode. |
| zmedico | |
svn path=/main/branches/prefix/; revision=15274
Fabian Groffen [Fri, 29 Jan 2010 18:02:04 +0000 (18:02 -0000)]
Merged from trunk -r15214:15218
| 15216 | Move the DOM unlink call to a finally block. |
| zmedico | |
| 15217 | Bug #300378 - Don't export FILESDIR to the 'depend' phase. |
| zmedico | |
| 15218 | In portage.spawn(), apply group write permission to the log |
| zmedico | file. |
svn path=/main/branches/prefix/; revision=15219
Fabian Groffen [Thu, 28 Jan 2010 18:01:56 +0000 (18:01 -0000)]
Merged from trunk -r15210:15214
| 15211 | Add support for evaluation of conditional USE atoms in |
| zmedico | has_version and best_version arguments, using the USE |
| | environment variable. |
| 15212 | Add an Atom.evaluate_conditionals() method and use where |
| zmedico | appropriate. |
| 15213 | Fix typo in docstring. |
| zmedico | |
| 15214 | Fix AttributeError from has_versions for atoms with no USE |
| zmedico | deps. Thanks to Arfrever for reporting. |
svn path=/main/branches/prefix/; revision=15215
Fabian Groffen [Tue, 26 Jan 2010 17:53:51 +0000 (17:53 -0000)]
Merged from trunk -r15206:15209
| 15207 | Bug #301926 - Handle ValueError in parseManifest2(), |
| zmedico | triggered by corrupt manifest entry. |
| 15208 | Bug #302005 - Remove broken test code. |
| zmedico | |
| 15209 | Add a warning for built_with_use. Thanks to Petteri Räty |
| zmedico | <betelgeuse@g.o> for this patch. |
svn path=/main/branches/prefix/; revision=15210
Fabian Groffen [Tue, 19 Jan 2010 17:02:13 +0000 (17:02 -0000)]
Merged from trunk -r15200:15205
| 15201 | Remove ibiblio.org from the default GENTOO_MIRRORS value. |
| zmedico | Thanks to Jeremy Olexa <darkside@g.o> for this patch. |
| 15202 | Don't bail out if postinst fails. Thanks to Brain Harring |
| zmedico | for the suggestion. |
| 15203 | Support mercurial. Thanks to Rafael Martins |
| zmedico | <rafael@rafaelmartins.com> for this patch. |
| 15204 | Invert some vcs conditionals that are specific to cvs and |
| zmedico | svn. |
| 15205 | Fix Manifest commit logic for cvs and svn. Thanks to Rafael |
| zmedico | Martins <rafael@rafaelmartins.com>. |
svn path=/main/branches/prefix/; revision=15206
Fabian Groffen [Thu, 14 Jan 2010 18:48:20 +0000 (18:48 -0000)]
Merged from trunk -r15193:15199
| 15194 | Avoid portage import in order to avoid a potential sandbox |
| zmedico | violation if portage's *.pyc files are stale. |
| 15195 | Fix unicode quote handling to work with python3. |
| zmedico | |
| 15196 | Fix output handling to avoid potential UnicodeEncodeError. |
| zmedico | |
| 15197 | Use encoded byte strings with python-2.x, since the python |
| zmedico | ebuilds are known to remove the encodings module when |
| | USE=build is enabled (thus disabling unicode |
| | decoding/encoding). |
| 15198 | Bug #300744 - Inside xpak(), exclude CONTENTS for quickpkg |
| zmedico | since contents is generated by the merge process. |
| 15199 | Make sure repoman knows about all files in the directory to |
| grobian | commit using bzr. Patch by Christian Faulhammer. |
svn path=/main/branches/prefix/; revision=15200
Fabian Groffen [Mon, 11 Jan 2010 19:45:03 +0000 (19:45 -0000)]
Merged from trunk -r15189:15192
| 15190 | Tweak TERM usage in xtermTitleReset() to match that in |
| zmedico | xtermTitle(). |
| 15191 | Bug #300388 - Fix terminal handling code to so term codes |
| zmedico | aren't sent when TERM=dumb. |
| 15192 | Avoid potential UnicodeDecodeError with Python 3. Reported |
| arfrever | by devurandom. |
svn path=/main/branches/prefix/; revision=15193
Fabian Groffen [Sun, 10 Jan 2010 16:54:00 +0000 (16:54 -0000)]
Merged from trunk -r15187:15188
| 15188 | only return status for the current directory (or the |
| grobian | directory being asked for), instead of the whole tree |
svn path=/main/branches/prefix/; revision=15189
Fabian Groffen [Sun, 10 Jan 2010 14:44:15 +0000 (14:44 -0000)]
Merged from trunk -r15184:15185
| 15185 | Add Bazaar (bzr) support for repoman, test-driven by Fauli |
| grobian | (Christian Faulhammer) |
svn path=/main/branches/prefix/; revision=15187
Fabian Groffen [Sun, 10 Jan 2010 14:42:33 +0000 (14:42 -0000)]
we also use env inside dolinkingstuff
svn path=/main/branches/prefix/; revision=15186
Fabian Groffen [Sat, 9 Jan 2010 15:29:51 +0000 (15:29 -0000)]
Because of my setup, one of my repos often changes location due to a symlink switch. Don't backtrace but just give me an "unknown repo" message instead. This fix is eligable for trunk to take over.
svn path=/main/branches/prefix/; revision=15184
Fabian Groffen [Sat, 9 Jan 2010 15:17:09 +0000 (15:17 -0000)]
Make prev_mtimes available, archives.gentoo.org/gentoo-alt/msg_e3d3c24a0dc46fb0ff56806269971c64.xml
svn path=/main/branches/prefix/; revision=15183
Fabian Groffen [Sat, 9 Jan 2010 15:09:35 +0000 (15:09 -0000)]
add back EPREFIX to mysettings, some people have reported big problems starting from the release where we removed this
svn path=/main/branches/prefix/; revision=15182
Fabian Groffen [Sat, 9 Jan 2010 15:05:08 +0000 (15:05 -0000)]
Merged from trunk -r15178:15180
| 15179 | Skip global updates for help, version, and info actions. |
| zmedico | |
| 15180 | Fix blocker example output to appear as emerge actually |
| zmedico | displays it. |
svn path=/main/branches/prefix/; revision=15181
Fabian Groffen [Fri, 8 Jan 2010 12:09:23 +0000 (12:09 -0000)]
make sure we don't run abspath on the empty string, such that we get the current working directory instead of / as we want, fixes problems with offset-less installations (EPREFIX='')
svn path=/main/branches/prefix/; revision=15178
Fabian Groffen [Fri, 8 Jan 2010 12:00:30 +0000 (12:00 -0000)]
Fix some broken lines, possibly fixing bug #299163
svn path=/main/branches/prefix/; revision=15177
Fabian Groffen [Fri, 8 Jan 2010 11:32:45 +0000 (11:32 -0000)]
whitelist UNIXMODE for MiNT-like OSes
svn path=/main/branches/prefix/; revision=15176
Fabian Groffen [Fri, 8 Jan 2010 07:48:41 +0000 (07:48 -0000)]
Merged from trunk -r15169:15174
| 15172 | Fix it so an empty directory given to doins -r does not |
| zmedico | trigger failure. |
| 15173 | Add a TODO comment for improved handling of /lib/modules. |
| zmedico | |
| 15174 | Bug #269225 - Warn about virtuals with non-empty HOMEPAGE or |
| zmedico | LICENSE. Thanks to Ulrich Müller <ulm@g.o> for this patch. |
svn path=/main/branches/prefix/; revision=15175
Fabian Groffen [Tue, 5 Jan 2010 19:26:14 +0000 (19:26 -0000)]
Merged from trunk -r15166:15169
| 15167 | Rearrange _selinux ImportError handling so the workaround |
| zmedico | for bug #298310 isn't necessary. |
| 15168 | Handle AttributeError inside atomic_ofstream.__del__. Thanks |
| zmedico | to Cardoe for reporting. |
| 15169 | In python-2.x, convert PortageException.value attribute from |
| zmedico | unicode to str in order to avoid empty output with string |
| | format operator. |
svn path=/main/branches/prefix/; revision=15171
Fabian Groffen [Tue, 5 Jan 2010 19:23:45 +0000 (19:23 -0000)]
Merged from trunk -r15154:15166
| 15155 | Add some tests related to bug #287848. |
| zmedico | |
| 15156 | Use get_term_size() to adjust to current terminal width. |
| zmedico | Thanks to Dror Levin <spatz@g.0> for the initial patch. |
| 15157 | Document doins -r option. |
| zmedico | |
| 15158 | Bug #299248 - Fix doins return code handling to make sure it |
| zmedico | always fails when appropriate. Thanks to Jonathan Callen |
| | <abcd@g.o> for the initial patch. |
| 15159 | Bug #298310 - Make sure the _selinux attribute is correctly |
| zmedico | reinitialized after reload(portage) is called. |
| 15160 | Add test cases for implicit .0 at end of version. |
| zmedico | |
| 15161 | Revert vercmp() behavior so 12.2b > 12.2.5 which was |
| zmedico | accidentally changed in r2309 (between portage-2.0.x and |
| | portage-2.1). Thanks to Brian Harring for reporting in bug |
| | #287848, comment #3. |
| 15162 | Fix vercmp so 1b > 1 and add corresponding tests. |
| zmedico | |
| 15163 | Add test cases for cvs versions. |
| zmedico | |
| 15164 | Add some more cases for versions with letter suffixes. |
| zmedico | |
| 15165 | More cases. |
| zmedico | |
| 15166 | Revert r15161 so 12.2.5 is greater than 12.2b once again. |
| zmedico | 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. |
svn path=/main/branches/prefix/; revision=15170
Fabian Groffen [Mon, 28 Dec 2009 15:54:49 +0000 (15:54 -0000)]
cut/paste error, make sure things like emake are available in the ebuild
svn path=/main/branches/prefix/; revision=15154
Fabian Groffen [Mon, 28 Dec 2009 09:25:24 +0000 (09:25 -0000)]
Merged from trunk -r15142:15151
| 15143 | Remove obsolete backing up of ROOTPATH via PORTAGE_ROOTPATH. |
| zmedico | |
| 15145 | In save_ebuild_env(), preserve all ebuild phases in any case |
| zmedico | 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. |
| 15147 | Remove stray echo. |
| zmedico | |
| 15149 | Bug #297364 - Only set EAPI conditional PATH once after |
| zmedico | sourcing the ebuild (when the EAPI is first known) rather |
| | than for each phase. |
svn path=/main/branches/prefix/; revision=15153
Fabian Groffen [Tue, 22 Dec 2009 22:01:53 +0000 (22:01 -0000)]
misc fixes to make binpkg installs work with Prefix again
svn path=/main/branches/prefix/; revision=15134
Fabian Groffen [Tue, 22 Dec 2009 21:12:36 +0000 (21:12 -0000)]
it helps when you use the right class name
svn path=/main/branches/prefix/; revision=15133
Fabian Groffen [Tue, 22 Dec 2009 20:51:16 +0000 (20:51 -0000)]
Merged from trunk -r15123:15130
| 15124 | Remove some old debug code that should not have been |
| zmedico | committed. |
| 15125 | When integer mtime is desired, use stat_obj[stat.ST_MTIME] |
| zmedico | instead of the float st_mtime in order to avoid rounding |
| | *up* in some rare cases. |
| 15126 | When integer mtime is desired, use stat_obj[stat.ST_MTIME] |
| zmedico | instead of the float st_mtime in order to avoid rounding |
| | *up* in some rare cases. |
| 15127 | Add missing stat import. |
| zmedico | |
| 15128 | Bug #297541 - Make $(no-as-needed) trigger |
| zmedico | upstream.workaround warning. Thanks to Samuli Suominen |
| | <ssuominen@g.o> for this patch. |
| 15129 | If the TERM environment variable is unset then just use |
| zmedico | internal default term codes since the vt100 codes typically |
| | produce strange output. This fixes strange output from |
| | catalyst stage1 builds. |
| 15130 | Bug #297933: Filter BASHOPTS variable for compatibility |
| arfrever | with bash-4.1. |
svn path=/main/branches/prefix/; revision=15132
Fabian Groffen [Tue, 22 Dec 2009 20:48:42 +0000 (20:48 -0000)]
Add another chain in the string to run chpathtool. It seems the old code in portage/pym/__init__.py is no longer used, and now this asynchronous implementation is used instead.
svn path=/main/branches/prefix/; revision=15131
Fabian Groffen [Sun, 20 Dec 2009 17:48:38 +0000 (17:48 -0000)]
Merged from trunk -r15118:15121
| 15119 | Fix the assert alias to 'value to great for base' messages |
| zmedico | in some cases. Thanks to Jonathan Callen <abcd@g.o> for |
| | reporting. |
| 15120 | Revert previous commit because it's no comptible (doesn't |
| zmedico | pass arguments to die). |
| 15121 | Fix the assert alias to avoid 'value to great for base' |
| zmedico | messages in some cases. Thanks to Jonathan Callen <abcd@g.o> |
| | for reporting. |
svn path=/main/branches/prefix/; revision=15123
Fabian Groffen [Sun, 20 Dec 2009 17:45:31 +0000 (17:45 -0000)]
make sure EXTRA_PATH isn't filtered by Portage (such that it disappears in ebuild.sh), and don't save it in environment.bz2
svn path=/main/branches/prefix/; revision=15122
Fabian Groffen [Fri, 18 Dec 2009 08:32:44 +0000 (08:32 -0000)]
Merged from trunk -r15057:15110
| 15058 | Bug #296554 - Add decompression support to ecompress |
| zmedico | (similar to ecompressdir behavior) since dodoc can call |
| | ecompress with stuff that's already compressed in some way. |
| 15059 | Combine 2 shift calls into one. |
| zmedico | |
| 15096 | Bug #296870 - Allow locale related LANG and LC_* variables |
| zmedico | to persist between ebuild phases, and only filter them for |
| | binary and installed packages. |
| 15097 | Warn if /proc is not mounted. |
| zmedico | |
| 15098 | Bug #296710 - Add equery to QA_INTERCEPTORS since it can |
| zmedico | trigger a fork bomb. |
| 15099 | Fix typo. |
| arfrever | |
| 15100 | Bug #286497 - Make setexec() warn/nonfatal in permissive |
| zmedico | mode. Thanks to Chris PeBenito <pebenito@gentoo.org> for |
| | this patch. |
| 15106 | Convert bytes to unicode for exception messages. |
| zmedico | |
| 15108 | Use portage.writemsg for lazy portage.util import. |
| zmedico | |
svn path=/main/branches/prefix/; revision=15118
Fabian Groffen [Fri, 18 Dec 2009 08:30:03 +0000 (08:30 -0000)]
Merged from trunk -r15053:15056
| 15054 | In movefile mtime preservation code, simply round down to |
| zmedico | 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. |
| 15055 | Bug #296641 - Avoid UnicodeEncodeError with python2 in |
| zmedico | eapi_is_supported() triggered by corrupt EAPI. |
| 15056 | Inside depgraph._validate_blockers(), do not consider |
| zmedico | blockers in DEPEND of installed packages, since DEPEND is |
| | supposed to be irrelevant for packages after they are built. |
svn path=/main/branches/prefix/; revision=15117
Fabian Groffen [Fri, 18 Dec 2009 08:28:46 +0000 (08:28 -0000)]
Remove redundant EPREFIX, EROOT, and ROOT assingments inside doebuild_environment(). (r15052)
svn path=/main/branches/prefix/; revision=15116
Fabian Groffen [Fri, 18 Dec 2009 08:26:50 +0000 (08:26 -0000)]
Merged from trunk -r15050:15051
| 15051 | Remove unused STARTDIR variable. |
| zmedico | |
svn path=/main/branches/prefix/; revision=15115
Fabian Groffen [Fri, 18 Dec 2009 08:24:01 +0000 (08:24 -0000)]
Merged from trunk -r15044:15048
| 15045 | Fix typo. |
| arfrever | |
| 15046 | In movefile mtime rounding code, generate nanosecond |
| zmedico | resolution (9 decimal places) in order to ensure that the |
| | floating point representation is the highest value possible |
| | without rounding up. |
| 15047 | Fix typo. |
| zmedico | |
| 15048 | * Fix type in econf --host argument. * Add missing econf |
| zmedico | --build and --target arguments. * Use tabs instead of |
| | spaces for indentation. |
svn path=/main/branches/prefix/; revision=15114
Fabian Groffen [Fri, 18 Dec 2009 08:22:04 +0000 (08:22 -0000)]
Remove redundant EPREFIX setting since it's already initialized earlier in the config constructor. (r15044)
svn path=/main/branches/prefix/; revision=15113
Fabian Groffen [Fri, 18 Dec 2009 08:19:05 +0000 (08:19 -0000)]
Merged from trunk -r15032:15043
| 15033 | Add support for EAPI 3_pre2. |
| zmedico | |
| 15034 | Enable xz unpack for EAPI 3_pre2. |
| zmedico | |
| 15035 | Add EAPI 3_pre2 to conditinals so the EAPI 4 stuff is |
| zmedico | disabled. |
| 15036 | Add EAPI to the whitelist to ensure it's always available as |
| zmedico | early as possible. |
| 15037 | In movefile() timestamp preservation code, use another loop |
| zmedico | to search for another digit of precision. |
| 15038 | Add missing line from previous commit. |
| zmedico | |
| 15039 | Tweak movefile() timestamp preservation code to maximize |
| zmedico | precision for old timestamps that are closer to the epoch. |
| 15040 | Just use integer mtime if no fractional seconds are found in |
| zmedico | the search. |
| 15041 | Add EAPI 3 conditionals for prefix variables. |
| zmedico | |
| 15042 | Add more EAPI 3 conditionals for prefix variables. |
| zmedico | |
| 15043 | Update for EAPI 3_pre2. |
| zmedico | |
svn path=/main/branches/prefix/; revision=15112
Fabian Groffen [Tue, 15 Dec 2009 08:14:21 +0000 (08:14 -0000)]
fix etc-update trying to chown the tempdir to a group that requires root privileges
svn path=/main/branches/prefix/; revision=15095
Fabian Groffen [Sat, 12 Dec 2009 11:48:35 +0000 (11:48 -0000)]
Merged from trunk -r15027:15029
| 15028 | Use collections.OrderedDict when available (python-2.7) and |
| zmedico | 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. |
| 15029 | Don't use lazy import for portage.cache.mappings because |
| zmedico | it's imported anyway. |
svn path=/main/branches/prefix/; revision=15053
Fabian Groffen [Thu, 10 Dec 2009 19:14:07 +0000 (19:14 -0000)]
forward port r15024
svn path=/main/branches/prefix/; revision=15027
Fabian Groffen [Thu, 10 Dec 2009 08:48:37 +0000 (08:48 -0000)]
remove unneccessary import
svn path=/main/branches/prefix/; revision=15025
Fabian Groffen [Thu, 10 Dec 2009 08:14:14 +0000 (08:14 -0000)]
Merged from trunk -r14994:15019
| 14995 | In movefile(), always use stat_obj[stat.ST_MTIME] for the |
| zmedico | 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. |
| 14996 | Detect cases when long(stat_obj.st_mtime) != |
| zmedico | stat_obj[stat.ST_MTIME] due to rounding up, and truncate |
| | digits as necessary to preserve the integral seconds portion |
| | of the mtime. |
| 14997 | Handle permission problems when trying to cache the remote |
| zmedico | Packages file from a binhost. Thanks to Jeremy Olexa |
| | <darkside@g.o> for reporting. |
| 15014 | Don't enable EAPI 4_pre1 yet. |
| zmedico | |
| 15015 | Remove extra comman in comment. |
| zmedico | |
| 15019 | Fix introspection code in fetch() so that it works correctly |
| zmedico | when myuris is an OrderedDict instance. This fixes broken |
| | fetching for some packages. |
svn path=/main/branches/prefix/; revision=15023
Fabian Groffen [Wed, 9 Dec 2009 21:35:33 +0000 (21:35 -0000)]
dodoc somehow slipped through
svn path=/main/branches/prefix/; revision=14994
Fabian Groffen [Wed, 9 Dec 2009 21:19:36 +0000 (21:19 -0000)]
Merged from trunk -r14975:14992
| 14992 | Remove obsolete env-update.sh script. |
| zmedico | |
svn path=/main/branches/prefix/; revision=14993
Fabian Groffen [Wed, 9 Dec 2009 20:11:20 +0000 (20:11 -0000)]
align with trunk
svn path=/main/branches/prefix/; revision=14991
Fabian Groffen [Wed, 9 Dec 2009 20:06:21 +0000 (20:06 -0000)]
EAPI="prefix" is nostalgic, but not reality, make the example read EAPI="3", and update it accordingly
svn path=/main/branches/prefix/; revision=14990
Fabian Groffen [Wed, 9 Dec 2009 20:00:04 +0000 (20:00 -0000)]
drop silly replacement in comment
svn path=/main/branches/prefix/; revision=14989
Fabian Groffen [Wed, 9 Dec 2009 19:59:44 +0000 (19:59 -0000)]
add back chown command from trunk, I hope it won't break
svn path=/main/branches/prefix/; revision=14988
Fabian Groffen [Wed, 9 Dec 2009 19:51:00 +0000 (19:51 -0000)]
De-prefixify this script, since it doesn't look like it's going to work. Actually, this seems to be legacy that needs to be removed, since there is a python version (env-update) that calls the Portage internal implementation, which is of course entirely Prefix aware.
svn path=/main/branches/prefix/; revision=14987
Fabian Groffen [Wed, 9 Dec 2009 19:39:29 +0000 (19:39 -0000)]
I actually checked it out and found this was removed
svn path=/main/branches/prefix/; revision=14986
Fabian Groffen [Wed, 9 Dec 2009 19:38:09 +0000 (19:38 -0000)]
revert prefixication for libtool hack, that's no longer in use
svn path=/main/branches/prefix/; revision=14985
Fabian Groffen [Wed, 9 Dec 2009 19:00:23 +0000 (19:00 -0000)]
Rename --with-default-path into --with-extra-path, since it never completely defines DEFAULT_PATH (it only appends) and we need to ensure that whatever is given always comes as last in the PATH. Added full compatability for non Prefix (trunk) by setting DEFAULT_PATH to the expected value as in trunk when no offset prefix is used.
svn path=/main/branches/prefix/; revision=14984
Fabian Groffen [Wed, 9 Dec 2009 18:30:52 +0000 (18:30 -0000)]
add a little sticky for myself
svn path=/main/branches/prefix/; revision=14983
Fabian Groffen [Wed, 9 Dec 2009 18:25:37 +0000 (18:25 -0000)]
use neutral wording
svn path=/main/branches/prefix/; revision=14982
Fabian Groffen [Wed, 9 Dec 2009 18:19:53 +0000 (18:19 -0000)]
align with prepallinfo
svn path=/main/branches/prefix/; revision=14981
Fabian Groffen [Wed, 9 Dec 2009 18:18:17 +0000 (18:18 -0000)]
avoid cd-ing into ED, which may not exist, omit unnecessary cd at the same time
svn path=/main/branches/prefix/; revision=14980
Fabian Groffen [Wed, 9 Dec 2009 18:03:23 +0000 (18:03 -0000)]
add extra newline, reduce diff with trunk
svn path=/main/branches/prefix/; revision=14979
Fabian Groffen [Wed, 9 Dec 2009 17:55:40 +0000 (17:55 -0000)]
we don't use EPREFIX anywhere in here
svn path=/main/branches/prefix/; revision=14978
Fabian Groffen [Wed, 9 Dec 2009 17:49:51 +0000 (17:49 -0000)]
Merged from trunk -r14969:14975
| 14970 | Don't assign f to sys.stderr inside EOutput._write(). |
| zmedico | |
| 14971 | When temporarily replacing the sys.std* streams, use the |
| zmedico | normal open() func in python3 so that we get the right class |
| | (otherwise our code that expects the 'buffer' attribute will |
| | break). |
| 14972 | Use ImportError handling to import _TextTestResult which |
| zmedico | moved from unittest to unittest.runner in python-2.7. Thanks |
| | to Arfrever for the suggestion. |
| 14973 | Fix handling for TEMP, TMP, and TMPDIR variables: * Add to |
| zmedico | whitelist so current values are always used. * Always filter |
| | them from the saved environment. * Always add thier values |
| | to SANDBOX_WRITE. |
| 14974 | When overridding sys.std* in python2, use binary streams. |
| zmedico | |
| 14975 | Add localization variables (LANG and LC_*) to the |
| zmedico | 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. |
svn path=/main/branches/prefix/; revision=14977
Fabian Groffen [Wed, 9 Dec 2009 17:48:32 +0000 (17:48 -0000)]
Merged from trunk -r14963:14969
| 14965 | Bump EAPI conditionals to account for rename of EAPI 3 to 4. |
| zmedico | Thanks to Jonathan Callen <abcd@g.o> for this patch. |
| 14966 | Move ebuild helpers to account for rename of EAPI 3 to 4. |
| zmedico | |
| 14967 | Add OrderedDict class. |
| zmedico | |
| 14968 | Use OrderedDict in portdbapi.getFetchMap() so that order in |
| zmedico | $A corresponds to order in SRC_URI. |
| 14969 | When reading the remote Packages file for --getbinpkg, use |
| zmedico | 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. |
svn path=/main/branches/prefix/; revision=14976
Fabian Groffen [Mon, 7 Dec 2009 16:35:33 +0000 (16:35 -0000)]
Merged from trunk -r14950:14963
| 14951 | Fix possibly unsafe modification of list during iteration |
| zmedico | inside update_config_files(). |
| 14953 | Inside dblink._merge(), make sure PORTAGE_BUILDDIR still |
| zmedico | 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). |
| 14955 | Make more code conditional on existence of PORTAGE_BUILDDIR |
| zmedico | inside dblink._merge(). |
| 14957 | Remove unnecessary elog_process() phasefilter arguements. |
| zmedico | |
| 14958 | Remove unused filter_phases, filter_mergephases, and |
| zmedico | filter_unmergephases functions. |
| 14963 | Copy the unittest._TextTestResult class from python-2.6 |
| zmedico | since it's been removed in python-2.7. |
svn path=/main/branches/prefix/; revision=14964
Fabian Groffen [Sun, 6 Dec 2009 10:34:05 +0000 (10:34 -0000)]
Merged from trunk -r14926:14936
| 14927 | Always append QA Notices resulting from the build log search |
| zmedico | to the end of the log. Thanks to Diego E. Pettenò for |
| | reporting. |
| 14928 | Bug #162404 - Automatically disable logging if sesandbox is |
| zmedico | enabled and a pty is not available for some reason |
| | (currently they are never available with python3). |
| 14929 | Bug #295805 - Fix ValueError with python3 inside |
| zmedico | update_config_files(). |
| 14930 | Move code for handling missing sandbox binary out of the |
| zmedico | config constructor. |
| 14931 | Use portage.StringIO to avoid duplicate import fallback |
| zmedico | code. |
| 14932 | Make register_die_hook() ensure that each hook is registered |
| zmedico | only once. |
| 14933 | Add a AbstractEbuildProcess class for MiscFunctionsProcess |
| zmedico | to inherit the _pipe and _can_log methods that used to be in |
| | the EbuildProcess class. |
| 14934 | Fix _spawn_misc_sh() to properly unset EBUILD_PHASE, and add |
| zmedico | a 'phase' description parameter for use in messages. |
| 14935 | Add 'tla' to the lists of live eclasses. |
| zmedico | |
| 14936 | Bug #295715 - Implement a register_success_hook function to |
| zmedico | 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). |
svn path=/main/branches/prefix/; revision=14940
Fabian Groffen [Sun, 6 Dec 2009 10:32:37 +0000 (10:32 -0000)]
Merged from trunk -r14916:14926
| 14921 | Bug #295351 - Make update_dbentries() return unicode if it's |
| zmedico | given unicode, and bytes if it's given bytes. |
| 14922 | Bug #280336, comment #2 - Clear the package selection cache |
| zmedico | when packages are added to the graph. This fixes incorrect |
| | choices that happen in some cases. |
svn path=/main/branches/prefix/; revision=14939
Fabian Groffen [Sun, 6 Dec 2009 10:31:36 +0000 (10:31 -0000)]
Merged from trunk -r14906:14916
| 14907 | Bug #294886 - Show some basic info at the beginning of the |
| zmedico | build log, including USE flags. |
| 14909 | In FakeVartree.sync(), skip the aux_get wrapper when |
| zmedico | populating old-style virtuals, in order to avoid unwanted |
| | cache generation with --nodeps (reported by Arfrever). |
| 14913 | Revert r14901 since it doesn't solve the problem (bug |
| zmedico | #294945). |
| 14914 | Bug #294945 - Fix blocker satistfied state handling inside |
| zmedico | depgraph, to avoid a KeyError when displaying blockers. |
| 14915 | Fix deprecated usage of dep_getkey(). Thanks to Sebastian |
| zmedico | Mingramm (few) for reporting. |
svn path=/main/branches/prefix/; revision=14938
Fabian Groffen [Sun, 6 Dec 2009 10:30:18 +0000 (10:30 -0000)]
Merged from trunk -r14896:14906
| 14897 | In movefile(), skip os.utime() when os.rename() succeeds, in |
| zmedico | order to completely preserve mtime resolution. |
| 14898 | Fix logic from previous commit so it only applies when a |
| zmedico | 'newmtime' parameter has not been specified (this is always |
| | the case when called by portage). |
| 14899 | In calc_depclean(), load the FakeVartree before using it. |
| zmedico | This fixes a regression which causes incomplete graph |
| | creation (since r14773). Thanks to Vlastimil Babka |
| | <caster@g.o> for reporting. |
| 14900 | Add a note about lack of nanosecond precision in movefile(). |
| zmedico | |
| 14901 | Handle a KeyError in depgraph._ordered_tree_display(), |
| zmedico | reported on irc by romildo. |
svn path=/main/branches/prefix/; revision=14937
Fabian Groffen [Thu, 26 Nov 2009 14:21:57 +0000 (14:21 -0000)]
missed the last piece of code that assumes ED exists
svn path=/main/branches/prefix/; revision=14896
Fabian Groffen [Thu, 26 Nov 2009 14:06:35 +0000 (14:06 -0000)]
Merged from trunk -r14884:14886
| 14885 | Use einfo instead of ewarn for the "Skipping make test/check |
| zmedico | due to ebuild restriction." message. |
| 14886 | Set built=True when creating Package instances. This fixes a |
| zmedico | problem with --resume, reported by Sebastian Mingramm (few). |
svn path=/main/branches/prefix/; revision=14895
Fabian Groffen [Thu, 26 Nov 2009 14:03:06 +0000 (14:03 -0000)]
don't assume ED to exist
svn path=/main/branches/prefix/; revision=14894
Fabian Groffen [Wed, 25 Nov 2009 16:10:39 +0000 (16:10 -0000)]
Revert, add little hack to get Vim past it
svn path=/main/branches/prefix/; revision=14884
Fabian Groffen [Wed, 25 Nov 2009 16:07:28 +0000 (16:07 -0000)]
fix syntax error
svn path=/main/branches/prefix/; revision=14883
Fabian Groffen [Wed, 25 Nov 2009 16:06:54 +0000 (16:06 -0000)]
fix syntax error
svn path=/main/branches/prefix/; revision=14882
Fabian Groffen [Wed, 25 Nov 2009 15:55:01 +0000 (15:55 -0000)]
more avoidance to accessing ED, which may not exist
svn path=/main/branches/prefix/; revision=14881
Fabian Groffen [Wed, 25 Nov 2009 15:13:31 +0000 (15:13 -0000)]
Merged from trunk -r14852:14876
| 14853 | Disable backtracking in the depgraph constructor call when |
| zmedico | appropriate. |
| 14854 | Bug #293730 - Fix bad || choices triggered in some cases |
| zmedico | inside _dep_check_composite_db._visible() when --update is |
| | not enabled. |
| 14855 | Fix depgraph._prune_tree_display() to preserve uninstall |
| zmedico | tasks. Thanks to Jonathan Callen <abcd@g.o> for reporting. |
| 14856 | Fix blocker display to work properly with --tree |
| zmedico | --unordered-display. |
| 14857 | In depgraph._serialize_tasks(), ensure that unsolvable |
| zmedico | blockers can't be accidentally marked as satisfied. |
| 14858 | Tweak logic from previous commit. |
| zmedico | |
| 14859 | Optimized the code for bug #288083 and make it handle more |
| zmedico | cases. Now Package instances have 'visible' and 'masks' |
| | attributes, since this information needs to be accessed in |
| | more places now. |
| 14873 | Bug #293998 - Use OSError.errno instead of trying to |
| zmedico | subscript the exception when handling errno.EXDEV in |
| | movefile(), since exceptions do not support subscripting in |
| | python3. |
| 14874 | Add "repository" attribute to CategorySet (revert r11597). |
| zmedico | Thanks to TGL <tom.gl@free.fr> for this patch, posted on bug |
| | #291414. |
| 14875 | Bug #293614 - When the backtracking limit is reached and |
| zmedico | there is a SLOT conflict to display, hint that a larger |
| | --backtrack value might solve the conflict automatically. |
| 14876 | Add a test case which simply compiles all modules, useful |
| zmedico | for testing syntax compatibility with the current version of |
| | python. |
svn path=/main/branches/prefix/; revision=14880
Fabian Groffen [Wed, 25 Nov 2009 12:06:52 +0000 (12:06 -0000)]
try to be more resistant against missing $ED dir, at the same time clean up a bit removing unnecessary checks
svn path=/main/branches/prefix/; revision=14879
Fabian Groffen [Wed, 25 Nov 2009 11:34:29 +0000 (11:34 -0000)]
avoid duplicate/useless lines in NEEDED.XCOFF.1 (aix)
Patch by Michael Haubenwallner
svn path=/main/branches/prefix/; revision=14878
Fabian Groffen [Wed, 25 Nov 2009 11:33:07 +0000 (11:33 -0000)]
stop referencing _eapi0_src_install, this aligns with trunk
svn path=/main/branches/prefix/; revision=14877
Fabian Groffen [Thu, 19 Nov 2009 20:19:48 +0000 (20:19 -0000)]
Merged from trunk -r14820:14845
| 14821 | Bug #291200 - Make --quiet-build set PORTAGE_QUIET=1, so |
| zmedico | that --unmerge is quiet. |
| 14822 | Bug #288083 - Always warn about installed packages masked by |
| zmedico | license, since the user likely wants to adjust |
| | ACCEPT_LICENSE. For updates masked by license, warn if |
| | --complete-graph or --deep is given, since otherwise it is |
| | likely a waste of time. |
| 14823 | In the code from bug #288083, only show one LICENSE masking |
| zmedico | message per slot. |
| 14824 | Remove SLOT.missing since SLOT.invalid handles that case |
| zmedico | now. |
| 14844 | Bug #293448 - Fix TypeError when sending mail with python3, |
| zmedico | triggered by this issue: http://bugs.python.org/issue6521. |
| | Thanks to Albert W. Hopkins <marduk@python.net> for this |
| | patch. |
| 14845 | Check for updates masked by license for any installed |
| zmedico | packages that have been added to the graph (regardless of |
| | --deep or --complete-graph).. |
svn path=/main/branches/prefix/; revision=14850
Fabian Groffen [Thu, 19 Nov 2009 20:18:09 +0000 (20:18 -0000)]
ported LinkageMap fix from -r14820 to LinkageMapMachO and LinkageMapXCOFF. LinkageMapPECOFF seems to have adifferent code path that the same fix cannot be applied to
svn path=/main/branches/prefix/; revision=14849
Fabian Groffen [Thu, 19 Nov 2009 19:48:32 +0000 (19:48 -0000)]
Merged from trunk -r14819:14820
| 14820 | Inside LinkageMap.rebuild(), ensure that all preserved |
| zmedico | libraries have an entry in self._obj_properties, even when |
| | they fail to appear in scanelf output. This is important in |
| | order to prevent findConsumers from raising an unwanted |
| | KeyError. |
svn path=/main/branches/prefix/; revision=14848
Fabian Groffen [Wed, 18 Nov 2009 21:17:00 +0000 (21:17 -0000)]
Merged from trunk -r14813:14819
| 14814 | Bug #292664 - Show ACCEPT_LICENSE in emerge --info. |
| zmedico | |
| 14815 | Inside iter_owners, only cache a maximum of 25 dblink |
| zmedico | instances, in order to avoid potentially running out of |
| | memory. |
| 14816 | Add setup phases to the tail of the merge queue instead of |
| zmedico | the front, since otherwise when merging binary packages we |
| | sometimes tend to get a large number of setup phases |
| | flooding the queue and preventing queued installs from |
| | running. |
| 14817 | Implement dblink.__hash__ and __eq__, so that `portageq |
| zmedico | owners` correctly groups search results. Also, increase |
| | iter_owners dblink cache size from 25 to 100 instances. |
| 14818 | Bug #292910 - Don't mix print() and writemsg_stdout(), in |
| zmedico | order to avoid buffering issues. |
| 14819 | Bug #292820 - Make the Package constructor handle invalid |
| zmedico | SLOT values. |
svn path=/main/branches/prefix/; revision=14847
Fabian Groffen [Wed, 18 Nov 2009 21:08:42 +0000 (21:08 -0000)]
be more informative about what wrapper is barfing and where to find it (because rm-ing it usually helps)
svn path=/main/branches/prefix/; revision=14846
Fabian Groffen [Wed, 11 Nov 2009 21:11:51 +0000 (21:11 -0000)]
previous commit was too optimistic, pass on the required variables onto the new functions
svn path=/main/branches/prefix/; revision=14813
Fabian Groffen [Wed, 11 Nov 2009 20:24:03 +0000 (20:24 -0000)]
Merged from trunk -r14803:14808
| 14804 | Restore support for bash-3. |
| arfrever | |
| 14805 | Bug #278336 - Use adjust_config to set PORTAGE_QUIET when |
| zmedico | the config is reloaded after sync, so that PORTAGE_QUIET is |
| | set when the post_sync script is executed. |
| 14806 | Bug #292528 - Specify UTF-8 in the MIMEText constructor |
| zmedico | arguments, in order to avoid conversiont to ascii and |
| | subsequent UnicodeEncodeError when sending mail. The idea |
| | comes from here: http://bugs.python.org/issue4403#msg76425. |
| 14807 | Preserve previous usage of MIMEText constructor under |
| zmedico | python2, since it's known to work this way. |
| 14808 | Convert MIMEText body to string before sending. |
| zmedico | |
svn path=/main/branches/prefix/; revision=14812
Fabian Groffen [Wed, 11 Nov 2009 20:22:58 +0000 (20:22 -0000)]
Merged from trunk -r14781:14803
| 14782 | Collapse two [[ ]] into one. |
| zmedico | |
| 14783 | Bug #291200 - Add a --quiet-build option to redirect all |
| zmedico | build output to logs alone, and do not display it on stdout. |
| 14784 | Use writemsg instead of print, to send debug messages to |
| zmedico | stderr. |
| 14798 | Fix typo in comment. |
| zmedico | |
| 14802 | When displaying masking messages, show the 'dependency |
| zmedico | required by' message before the masking docs message. |
| 14803 | Make split-elog bold. |
| zmedico | |
svn path=/main/branches/prefix/; revision=14811
Fabian Groffen [Wed, 11 Nov 2009 20:21:08 +0000 (20:21 -0000)]
Merged from trunk -r14771:14781
| 14772 | Eliminate duplicate code from the FakeVartree constructor |
| zmedico | which does the same thing as FakeVartree.sync(). |
| 14773 | Move FakeVartree population out of the constructor by |
| zmedico | calling the sync() method explicitly. This allows the |
| | depgraph constructor avoid populating the FakeVartree, and |
| | delay it until depgraph._load_vdb() is called. |
| 14774 | Don't call FakeVartree.sync() redundantly when |
| zmedico | backtracking. |
| 14775 | Inside depgraph._complete_graph(), only pull in deps for |
| zmedico | the relevant root during remove operations. Thanks to |
| | acevery for reporting. |
| 14776 | Bug #291331 - Make send_mail() encode the unicode message |
| zmedico | as bytes before passing it to smtplib.SMTP.sendmail(), in |
| | order to avoid a UnicodeEncodeError which SMTP.send() tries |
| | to encode the message a plain ascii. |
| 14777 | Decode git output in _emerge.actions.git_sync_timestamps() |
| arfrever | for bug #291790. |
| 14778 | Define portage.proxy.objectproxy.ObjectProxy.__add__() to |
| arfrever | fix problem with string concatenation reported by dol-sen. |
| 14779 | Use writemsg instead of print, to send debug messages to |
| zmedico | stderr. |
| 14780 | Bug #291142 - Fix some cases when a 'missed update' message |
| zmedico | might not be displayed. |
| 14781 | For --debug mode, enable bash tracing when sourcing the |
| zmedico | ebuild. |
svn path=/main/branches/prefix/; revision=14810
Fabian Groffen [Wed, 11 Nov 2009 20:19:31 +0000 (20:19 -0000)]
It makes no sense to write an ${EPREFIX}/etc/ld.so.conf file since it'll never be used by ld.so. It makes no sense to make that code Prefix enabled for that reason either. Don't run it on a Prefix install.
svn path=/main/branches/prefix/; revision=14809
Fabian Groffen [Sun, 1 Nov 2009 10:56:19 +0000 (10:56 -0000)]
Merged from trunk -r14750:14767
| 14751 | Bug #259697 - Update IUSE.invalid docs for GLEP 56. |
| zmedico | |
| 14753 | Bug #291271 - Make vardbapi._bump_mtime() create category |
| zmedico | directories when necessary. |
| 14754 | Make dblink.delete() remove empty parent category |
| zmedico | directories. |
| 14755 | Make cacheddir() always behave like EmptyOnError is True, |
| zmedico | since listdir() doesn't handle a None return value |
| | correctly. |
| 14760 | Bug #290921 - Always exit unsuccessfully if -r is not |
| zmedico | specified and a directory is skipped. This reverts a |
| | behavior change from r9484. |
| 14761 | Allow unmerge of packages from the "selected" set when a |
| zmedico | package set such as @unavailable is given on the command |
| | line. Thanks to Vlastimil Babka <caster@g.o> for reporting. |
| 14762 | For compatibility, still exit successfully if there are |
| zmedico | skipped directories. We can make it more strict later. |
| 14763 | Add a --backtrack=COUNT option to control how many times |
| zmedico | backtracking is allowed, and reduce the default from 30 to |
| | 5. |
| 14767 | Fix --backtrack option handling. |
| zmedico | |
svn path=/main/branches/prefix/; revision=14771
Fabian Groffen [Fri, 30 Oct 2009 21:41:43 +0000 (21:41 -0000)]
add finetunings by haubi
svn path=/main/branches/prefix/; revision=14748
Fabian Groffen [Fri, 30 Oct 2009 21:39:56 +0000 (21:39 -0000)]
Fix logic error, don't want to run XCOFF checks on ELF systems
svn path=/main/branches/prefix/; revision=14747
Fabian Groffen [Wed, 28 Oct 2009 20:40:24 +0000 (20:40 -0000)]
Attempt to align this more with trunk
- reshuffle qa_check code using functions such that the order is the
same as in trunk, but with some extra offsets
(at the same time avoid running QA checks for platforms other than the
current one)
- split out elf, macho, pecoff, xcoff, misc and prefix qa code blocks,
keep a bit of general (misc) checks in the original qa_check func for
the point mentioned above
- only chdir to ${D}, not ${ED}, this has the advantage that if that
fails we're on the same panic level as normal Portage, and that we no
longer need default src_install implementations that just create
${ED} to avoid a failing QA check, like bug #290245
svn path=/main/branches/prefix/; revision=14746
Fabian Groffen [Wed, 28 Oct 2009 19:38:53 +0000 (19:38 -0000)]
Add preserve-libs support for AIX' XCOFF, patch by Michael Haubenwallner
svn path=/main/branches/prefix/; revision=14745
Fabian Groffen [Wed, 28 Oct 2009 19:27:43 +0000 (19:27 -0000)]
make sure we don't do the wrong thing when no libtool files are found, patch by Michael Haubenwallner
svn path=/main/branches/prefix/; revision=14744
Fabian Groffen [Wed, 28 Oct 2009 18:36:02 +0000 (18:36 -0000)]
Merged from trunk -r14724:14735
| 14725 | Don't set mtime on downloaded metadata.dtd when using |
| zmedico | python3, since the rfc822.parsedate() function is not |
| | available. Thanks to Arfrever for reporting. |
| 14728 | Use calendar.timegm instead of time.mktime, for correct |
| zmedico | timezone handling. |
| 14729 | Add a parsedate() function which emulates |
| zmedico | rfc822.parsedate(), since python3 doesn't have it. |
| 14730 | Add -R as a shortcut for --depclean. Thanks to Jonathan |
| zmedico | Callen <abcd@g.o> for the suggestion. |
| 14731 | Take the -c option and make it mean --depclean instead of |
| zmedico | --clean, since --clean is pretty useless anyway. |
| 14732 | Add a reference to bug #141118 inside |
| zmedico | _expand_new_virtuals(). |
| 14733 | Revert the workaround for bug #288863. This will require a |
| zmedico | dependency on >=sys-apps/sandbox-2.2. |
| 14734 | Bug #290625 - Manually encode output to stdout in python3, |
| zmedico | in order to avoid potential UnicodeEncodeError exceptions. |
| 14735 | Bug #290428 - Update mtime of /var/db/pkg and category |
| zmedico | subdirectories when stuff inside is modified, so that |
| | consumers can use directory mtimes to validate caches. |
svn path=/main/branches/prefix/; revision=14743
Fabian Groffen [Sat, 24 Oct 2009 12:16:59 +0000 (12:16 -0000)]
another occurrence of CONFIG_MEMORY_FILE which already includes EPREFIX, so don't add it again, thanks Nikolas Olivier in bug #290254
svn path=/main/branches/prefix/; revision=14724
Fabian Groffen [Sat, 24 Oct 2009 11:22:31 +0000 (11:22 -0000)]
Merged from trunk -r14701:14710
| 14702 | Factor the --tree code out of depgraph.display(). |
| zmedico | |
| 14703 | Add a --unordered-display option for use with --tree. This |
| zmedico | allows the display to be optimized differently since the |
| | merge order is not preserved. Thanks to Sebastian Mingramm |
| | (few) for the initial patch. |
| 14704 | Factor out duplicate "These are the packages that would be |
| zmedico | merged", "Calculating dependencies", and spinner cleanup |
| | code. |
| 14705 | Factor vdb loading code out of the depgraph constructor, |
| zmedico | since this procedure is slow and it generates spinner |
| | output, which isn't very nice behavior for a constructor. |
| | Now it's called on-demand by various methods when necessary. |
| 14706 | Bug #289967 - Update installsources rsync code for |
| zmedico | >=debugedit-4.4.6-r2. Thanks to Peter Alfredsen |
| | <loki_val@g.o> for this patch. |
| 14707 | Use find with -print0 for absolute safety. |
| zmedico | |
| 14708 | Add --help output for --unordered-display, and move man page |
| zmedico | docs from the actions to the options section. |
| 14709 | Use urllib.urlopen() instead of portage.fetch() for fetching |
| zmedico | metadata.dtd. |
| 14710 | Bug #134466 - Add a --ask-enter-invalid option. When used |
| zmedico | together with the --ask option, interpret a single "Enter" |
| | key press as invalid input. This helps prevent accidental |
| | acceptance of the first choice. |
svn path=/main/branches/prefix/; revision=14723
Fabian Groffen [Sat, 24 Oct 2009 11:13:39 +0000 (11:13 -0000)]
Try to resolve the openpty misery this time for real. Moved documentation about test_openpty_eof into that function, reenabled disabling openpty on Solaris (it got lost previously breaking Portage on Solaris) and hoping that Interix gets openpty again now, as it doesn't work with pipes.
svn path=/main/branches/prefix/; revision=14721
Fabian Groffen [Sat, 24 Oct 2009 10:59:48 +0000 (10:59 -0000)]
CONFIG_MEMORY_FILE already includes EPREFIX, so don't add it again, thanks Nikolas Olivier in bug #290254
svn path=/main/branches/prefix/; revision=14720
Fabian Groffen [Wed, 21 Oct 2009 19:35:29 +0000 (19:35 -0000)]
move dohtml.py into the correct location, no idea how it could end up in the wrong dir
svn path=/main/branches/prefix/; revision=14701