Merged from trunk -r12715:12733
authorFabian Groffen <grobian@gentoo.org>
Thu, 5 Mar 2009 18:56:07 +0000 (18:56 -0000)
committerFabian Groffen <grobian@gentoo.org>
Thu, 5 Mar 2009 18:56:07 +0000 (18:56 -0000)
commit5b19f0592fcc69076df3fc1cbfac95868b907eae
treee48b4ce87ddfcacfefc0c892c4b1bf15c758030e
parent59f98756b954ee97ab1fd6519bbc86cb4aafbd37
   Merged from trunk -r12715:12733

   | 12716   | Fix a case in which a SRC_URI is incorrectly idendified as   |
   | zmedico | invalid, and add a corresponding test case. Thanks to Jacob  |
   |         | Floyd for reporting.                                         |

   | 12717   | Fix test breakage due to change in calling order of          |
   | zmedico | AsynchronousTask start listeners from r12713.                |

   | 12718   | Add a new upstream.workaround check for hardcoded            |
   | zmedico | MAKEOPTS=-j1 (previously only emake -j1 was recognized).     |
   |         | Thanks to Maciej Mrozowski <reavertm@poczta.fm> for this     |
   |         | patch.                                                       |

   | 12719   | Loosen EMakeParallelDisabled.re so it can match more         |
   | zmedico | variations.                                                  |

   | 12720   | Fix PipeReader and PipeReaderTestCase to work with binary    |
   | zmedico | strings in py3k.                                             |

   | 12721   | Fix CommandOutputSet to decode binary command output in      |
   | zmedico | py3k.                                                        |

   | 12722   | Use unicode() so that 2to3 handles py3k compatibility.       |
   | zmedico |                                                              |

   | 12723   | Open the temp file in text mode for py3k compatibility.      |
   | zmedico |                                                              |

   | 12724   | Open the temp file in text mode for py3k compatibility.      |
   | zmedico |                                                              |

   | 12725   | Use os.fdopen() on file descriptors returned from mkstemp(). |
   | zmedico |                                                              |

   | 12726   | Open the temp file in text mode for py3k compatibility.      |
   | zmedico |                                                              |

   | 12727   | Open the temp file in text mode for py3k compatibility.      |
   | zmedico |                                                              |

   | 12728   | Open then temp file in text mode for py3k compatibility.     |
   | zmedico |                                                              |

   | 12729   | Use Popen.communicate() to avoid a potential deadlock.       |
   | zmedico |                                                              |

   | 12730   | Make Atom instances consume less memory by implementing str  |
   | zmedico | methods at the class level instead of referencing bound str  |
   |         | methods.                                                     |

   | 12731   | Add support to _ensure_default_encoding() for the same ascii |
   | zmedico | and utf_8 aliases that encodings.aliases has.                |

   | 12732   | In _ensure_default_encoding(), make sure the default         |
   | zmedico | encoding is normalized.                                      |

   | 12733   | When checking ebuild content, use codecs.open() to force     |
   | zmedico | utf_8 encoding for py3k compatibility (all ebuilds should    |
   |         | have utf_8 encoding).                                        |
   Merged from trunk -r12733:12744

   | 12734   | Skip the code from bug #259954 when $ROOT != / since it      |
   | zmedico | shouldn't matter if there are unsatisfied system runtime     |
   |         | deps in this case.                                           |

   | 12735   | * Fix portage.cache.template.database.__getitem__() to       |
   | zmedico | validate the _mtime_ field and raise a CacheCorruption       |
   |         | exception if necessary. * Make _mtime_ and _eclasses_        |
   |         | validation code in portdbapi and mirror_cache() assume that  |
   |         | these fields are the correct type (otherwise a               |
   |         | CacheCorruption exeception should be raised earlier). * Fix  |
   |         | the sqlite module to implement _getitem() so that it         |
   |         | properly inherits __getitem__() _mtime_ and _eclasses_       |
   |         | handling.                                                    |

   | 12736   | Remove redundant long(_mtime_) conversion since template     |
   | zmedico | handles it now.                                              |

   | 12737   | Thanks to Petteri Räty <betelgeuse@gentoo.org> for this new |
   | zmedico | cache module which uses extended attributes (via pyxattr) to |
   |         | attach metadata cache directly to the ebuild files           |
   |         | themselves.                                                  |

   | 12738   | Don't give portage group write permissions on the mtimedb    |
   | zmedico | since it's not really needed.                                |

   | 12739   | When fetch() is called and there is an existing file with    |
   | zmedico | the wrong size that is smaller than                          |
   |         | PORTAGE_FETCH_RESUME_MIN_SIZE, rename the file instead of    |
   |         | deleting it. This is more friendly for cases in which the    |
   |         | user is attempting to regenerate the digest but has not used |
   |         | `ebuild --force foo.ebuild manifest` like they're supposed   |
   |         | to. Thanks to Patrick Lauer <patrick@g.o> for reporting.     |

   | 12740   | Use PORTAGE_USE when evaluating LICENSE inside               |
   | zmedico | portdbapi.gvisible().                                        |

   | 12741   | When ACCEPT_CHOSTS is set, enable CHOST masking for unbuilt  |
   | zmedico | ebuilds. This behaves as a sanity check to protect people    |
   |         | who are cross-compiling from accidentally merging an ebuild  |
   |         | with CHOST set incorrectly. Thanks to Ned Ludd <solar@g.o>   |
   |         | for reporting the problem.                                   |

   | 12742   | Fix KeyValuePairFileLoader to only split on '=' once and     |
   | zmedico | strip whitespace for keys and values.                        |

   | 12743   | ACCEPT_CHOSTS applies to unbuilt ebuild now (not just binary |
   | zmedico | packages).                                                   |

   | 12744   | Make KeyValuePairFileLoader store the values as a strings    |
   | zmedico | instead of a lists.                                          |

svn path=/main/branches/prefix/; revision=12763
23 files changed:
bin/repoman
man/emerge.1
man/make.conf.5
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/cache/ebuild_xattr.py [new file with mode: 0644]
pym/portage/cache/metadata_overlay.py
pym/portage/cache/sqlite.py
pym/portage/cache/template.py
pym/portage/cache/util.py
pym/portage/dbapi/porttree.py
pym/portage/dep.py
pym/portage/env/loaders.py
pym/portage/sets/shell.py
pym/portage/tests/dep/test_src_uri.py
pym/portage/tests/env/config/test_PackageUseFile.py
pym/portage/tests/env/config/test_PortageModulesFile.py
pym/portage/tests/news/test_NewsItem.py
pym/portage/tests/process/test_poll.py
pym/portage/tests/sets/files/testConfigFileSet.py
pym/portage/tests/sets/files/testStaticFileSet.py
pym/repoman/checks.py
pym/repoman/errors.py