Directly depending on dev-lang/python is invalid. The package's using python-any-r1, so it should be using ${PYTHON_DEPS} instead.