On Wed, May 18, 2016 at 06:39:55PM +0200, Daniel Jakots wrote: > Hi, > > Here's a diff to update gunicorn to the latest release. I created a py3 > flavour and this needs two ports (for a aiohttp worker): > www/py3-aiohttp and www/py3-multidict. > > I use gunicorn-3 with the default worker_class (sync), it works fine. I > also quickly tested the gaiohttp, looks good. > > Note that gunicorn/workers/_gaiohttp.py is python3 only so I use > python3 to create the plist and as it succeeds to create a .pyc it > lists it. Then when I try to make package with py2, as it doesn't > succeed to build the pyc, make package fails. So I added a > ${MODPY_COMMENT} in the plist for this particular pyc (thanks jca@ for > the idea). > That explains the warning told by portcheck. > > Comments? OK? > > Cheers, > Daniel >
ok shadchin@ small nits for py3-multidict: * line MODPY_VERSION spaces vs. tabs * for test need inplace *.so. Add in Makefile: pre-test: @${MODPY_CMD} build_ext --inplace * for test ( it not critical, but it like me more (: ) do-test: @cd ${WRKSRC} && ${MODPY_BIN} -m pytest ./tests/ -- Alexandr Shadchin