Update: added eapi_has_hdepend() and eapi_has_targetroot() to pym/portage/eapi.py to reduce the number of times "5-hdepend" appears in the code.
bin/ebuild.sh | 30 ++++++++++++++----- pym/_emerge/depgraph.py | 57 +++++++++++++++++++++--------------- pym/_emerge/main.py | 1 - pym/portage/__init__.py | 4 +-- pym/portage/dbapi/bintree.py | 6 ++-- pym/portage/dbapi/porttree.py | 2 +- pym/portage/dbapi/vartree.py | 1 + pym/portage/eapi.py | 9 +++++- pym/portage/package/ebuild/config.py | 14 +++++++-- 9 files changed, 85 insertions(+), 39 deletions(-)