gunicorn: convert to Python packaging format + add Python3 variant 9971/head
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 12 Aug 2019 07:14:16 +0000 (10:14 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 20 Sep 2019 11:11:08 +0000 (14:11 +0300)
commit5f9ea76e7a00bb2851204903521d053b76772f4d
tree996590f357cd6ed60963de620fd6c39b804851b4
parent721642908c2bc2f16ff371bdd33e4df02813318c
gunicorn: convert to Python packaging format + add Python3 variant

And splitting the gunicorn[3] binary/executable away from the
python[3]-gunicorn libraries. This was inspired from Debian packaging.

The gunicorn[3] binaries require the new `python[3]-pkg-resources`
libraries to run, which add ~1.1 MB on the [ram]disk when uncompressed.

For the Python2 variant, the `_gaiohttp.py` is dropped as it fails to
compile, so it would likely be unusable anyway:
```
  File "/usr/lib/python2.7/site-packages/gunicorn/workers/_gaiohttp.py", line 84
    yield from self.wsgi.close()
             ^
  SyntaxError: invalid syntax

```

People around the web recommend this as well:
 https://stackoverflow.com/questions/25611140/syntax-error-installing-gunicorn
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803170
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803202

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/gunicorn/Makefile