Implement SRC_URI arrows for EAPI 2. The portdbapi.getfetchlist() method
authorZac Medico <zmedico@gentoo.org>
Sat, 20 Sep 2008 08:02:45 +0000 (08:02 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 20 Sep 2008 08:02:45 +0000 (08:02 -0000)
commiteabfcf5e872971848ec00d877d9afc78455e0efe
tree31177f8456238da4db28c6507d81011ceb28dba1
parent0df2d2b63bdbf81a3519acc84999bc62a0a9549b
Implement SRC_URI arrows for EAPI 2. The portdbapi.getfetchlist() method
is now deprecated and there is a new getFetchMap() method that returns
a dict which maps each file name to a set of alternative URIs. The
portage.fetch() function uses introspection to detect when such a dict
is passed in and handles it appropriately, while maintaining backward
compatibility if a list of uris is passed in.

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