python-r1.eclass: Introduce python_gen_impl_dep
authorMichał Górny <mgorny@gentoo.org>
Thu, 17 Dec 2015 22:23:53 +0000 (23:23 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 31 Dec 2015 14:52:03 +0000 (15:52 +0100)
commitf202e56a0ead3feba43041ee4d5cc45f93c86d85
tree538853316cc30823f7732447672cf70c0d0aa10a
parentb7d145c08adf1bb3cb8fa5621760fb2cc2e25ec4
python-r1.eclass: Introduce python_gen_impl_dep

Add a python_gen_impl_dep() that serves the purpose of generating custom
dependencies on the Python interpreter (like PYTHON_DEPS). The function
provides ability to request dependencies with another USE dependency
string (different than global PYTHON_REQ_USE) and limit the dependencies
to subset of supported implementations.
eclass/python-r1.eclass