Make some adjustments so that it's possible to install binary
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 05:16:44 +0000 (05:16 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 05:16:44 +0000 (05:16 -0000)
commit1732c6978e3576fb9d690f45f428ead3eeea0740
tree4ea430d78e8aab3a580ad9f693f9e26addfcb3fd
parentdcb33edbdf01256d2f2cb3f40cf0fa7ecbb0f470
Make some adjustments so that it's possible to install binary
packages without having a portage tree:

* Make portdbapi.aux_get() return early by raising a KeyError
  if it detects that there is no portage tree.

* Move the ARCH and USERLAND sanity check to the last moment
  in doebuild() and only require these variables if an
  existing environment (such as environment.bz2) is
  unavailable.

* Make the NewsManager constructor cope with a broken
  make.profile symlink.

svn path=/main/trunk/; revision=8973
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/dbapi/porttree.py
pym/portage/news.py