python-utils-r1.eclass: _python_impl_matches for impl-pattern matching
authorMichał Górny <mgorny@gentoo.org>
Wed, 10 May 2017 15:21:35 +0000 (17:21 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 16 May 2017 17:11:32 +0000 (19:11 +0200)
commit0cfab505ad867ed3418b0dad8c4f2efa52acb1e7
tree4ba40458ba4f4cdaf647e5486810e2b9a5ba2c9d
parent3e681c26f7b0ea43d6c4c400d272fd2c48cad370
python-utils-r1.eclass: _python_impl_matches for impl-pattern matching

Introduce a _python_impl_matches() function that commonizes the pattern
matching behavior used throughout python-r1 & python-single-r1. Having
a single implementation makes future extensions much easier.
eclass/python-utils-r1.eclass