Hi, I'm submitting a batch of patches for python-any-r1. The patches: 1. improve consistency between Python impl checking code. All branches start to check whether Python interpreter is installed. 2. improve consistency in wrapper setup. All branches now set up wrappers. 3. error out if no Python impl matches. This will become important with the new dep-check function. 4. add support for defining python_check_deps() function in ebuilds. The function can be used to verify whether Python impl chosen by eclass supports all the deps needed for the package. For example, if a package runs a script needing dev-python/foo and dev-python/bar, the function would look like: python_check_deps() { if ! has_version "dev-python/foo[${PYTHON_USEDEP}]"; then einfo "${EPYTHON}: dev-python/foo does not support the impl" return 1 elif ! has_version "dev-python/bar[${PYTHON_USEDEP}]"; then einfo "${EPYTHON}: dev-python/bar does not support the impl" return 1 else return 0 fi } Note that the package will need a proper dep as well: DEPEND=" ${PYTHON_DEPS} python_targets_python2_7? ( dev-python/foo[python_targets_python2_7] dev-python/bar[python_targets_python2_7] ) " Note to self: think how to improve the deps. Please note that the new syntax will be necessary only with more complex cases. Simpler things like package just calling 'pyfoo' script will be handled by simple: DEPEND="dev-python/pyfoo" which will enforce at least one impl for pyfoo, and pyfoo wrapper will handle the rest. -- Best regards, Michał Górny