Add experimental EPREFIX/EROOT support to the config and vartree
authorZac Medico <zmedico@gentoo.org>
Fri, 20 Aug 2010 04:28:10 +0000 (21:28 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 20 Aug 2010 04:28:10 +0000 (21:28 -0700)
commitc0ee69585bf87e09c237668531127e79e0cd1c46
tree12789d04012a72e171bc509ef9582a223f5cf33b
parent133bdfe6d497d3e138512a777ddfee2c3aff1393
Add experimental EPREFIX/EROOT support to the config and vartree
classes, and use it in ResolverPlayground to emulate a prefix-like
environment. This fixes ResolverPlayground so that it doesn't have
to abuse the --root and --root-deps options in order to create a
testing environment. Instead it simply creates a temporary EPREFIX.
WARNING: EPREFIX/EROOT support is experimental and may be incomplete
for cases in which EPREFIX is non-empty.
pym/_emerge/depgraph.py
pym/portage/dbapi/porttree.py
pym/portage/dbapi/vartree.py
pym/portage/package/ebuild/config.py
pym/portage/tests/resolver/ResolverPlayground.py