_get_atom_re: handle many combinations
authorZac Medico <zmedico@gentoo.org>
Sun, 10 Jun 2012 20:48:24 +0000 (13:48 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 10 Jun 2012 20:48:24 +0000 (13:48 -0700)
commitff8d4c0fe3c91ae739e3e6518e90c0e8b0fe35d0
treec76f9b064cfc24a0e4c40d00304e7843092a42be
parentd6584f5ef8eb65bf0c818a0ab2f9b008663d758e
_get_atom_re: handle many combinations

A namedtuple of _eapi_attrs is used to hash atom regular expressions,
making it easy to handle many different combinations, as will be
necessary for the addition of new features such as abi-slot deps.
pym/portage/dep/__init__.py