See also bug #472442 >>> Source compiled. * python2_7: running distutils-r1_run_phase python_test /usr/bin/python2.7 setup.py test running test Searching for mccabe>=0.2 Reading https://pypi.python.org/simple/mccabe/ Download error on https://pypi.python.org/simple/mccabe/: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't find index page for 'mccabe' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or download links found for mccabe>=0.2 error: Could not find suitable distribution for Requirement.parse('mccabe>=0.2')
+ 11 Dec 2013; Mike Gilbert <floppym@gentoo.org> flake8-2.0.ebuild: + Depend on dev-python/mccabe for tests, bug 493922 by Nikoli.
Tests still fail: * python2_7: running distutils-r1_run_phase python_test /usr/bin/python2.7 setup.py test running test Searching for nose Reading https://pypi.python.org/simple/nose/ Download error on https://pypi.python.org/simple/nose/: [Errno -2] Name or service not known -- Some packages may not be found! Couldn't find index page for 'nose' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found! No local packages or download links found for nose error: Could not find suitable distribution for Requirement.parse('nose')
Also when using eapi5 you do not need to add '||die' to esetup.py
fixed in flake8-2.1.0