python-gunicorn: fix build issue with python2
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Mon, 6 Feb 2017 19:36:31 +0000 (20:36 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 6 Feb 2017 21:49:44 +0000 (22:49 +0100)
commit9b76356bd2e7ae06cc8b5341d2e90fceb42727f8
tree0dc4edf3986f87d3e9688e04420ca72dd590e04f
parent896ae3f9616d124c934f09d14de8cdc61ef0cec4
python-gunicorn: fix build issue with python2

Fix:
    http://autobuild.buildroot.org/results/b2d/b2d43dd3c52cc9f586009a10a40f97b07548322d/build-end.log

The issue arise from the fact that we compile all *.py files, but the
_gaiohttp.py file is using Python3 ("yield from") syntax which causes an
error.

So if we are using Python2, delete this file as it won't ever be imported
anyway as it is checked by gunicorn in the __init__.py file of the worker
module.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-gunicorn/python-gunicorn.mk