python-utils-r1.eclass: _python_impl_matches, handle both forms of impl
authorMichał Górny <mgorny@gentoo.org>
Sat, 20 May 2017 07:04:06 +0000 (09:04 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 29 May 2017 21:53:27 +0000 (23:53 +0200)
commit65a8abba1c180bc062221c2d224ecb5dc8c81ef8
tree9e6ac5c5712f0470e69e2777a1e208297c38abd8
parent41a535b6a5723add4a9fee0454f7baa988d063c5
python-utils-r1.eclass: _python_impl_matches, handle both forms of impl

Make the pattern matching code in _python_impl_matches() more lax,
allowing (accidental) mixing of PYTHON_COMPAT-style values with
EPYTHON-style values. This is trivial to do, and solves the problem
introduced by complexity-by-limitation of other eclasses -- where
patterns for dependency strings are using PYTHON_COMPAT syntax,
and patterns for python_setup are using EPYTHON syntax.
eclass/python-utils-r1.eclass