Hi, ports@: Here is a patch to update www/py-gunicorn to 19.9.0. It both build and run on my amd64 system. And passed the `make test`.
Two ports depends on www/py-gunicorn: www/puppetboard and www/py-aiohttp. Both build with the update of gunicorn. Many of www/py-aiohttp tests failed. But the same tests failed with current gunicorn two. Seems the aiohttp in portstree is too old. Comments? wen
Index: Makefile =================================================================== RCS file: /cvs/ports/www/py-gunicorn/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile 4 May 2018 11:37:24 -0000 1.20 +++ Makefile 17 Dec 2018 06:22:11 -0000 @@ -2,7 +2,7 @@ COMMENT = Python WSGI HTTP server -MODPY_EGG_VERSION = 19.8.1 +MODPY_EGG_VERSION = 19.9.0 DISTNAME = gunicorn-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} CATEGORIES = www Index: distinfo =================================================================== RCS file: /cvs/ports/www/py-gunicorn/distinfo,v retrieving revision 1.13 diff -u -p -r1.13 distinfo --- distinfo 4 May 2018 11:37:24 -0000 1.13 +++ distinfo 17 Dec 2018 06:22:11 -0000 @@ -1,2 +1,2 @@ -SHA256 (gunicorn-19.8.1.tar.gz) = vFkAWXnvttLdfVunLZn4qEIoYq0X/zoW6QBoRjDdKhA= -SIZE (gunicorn-19.8.1.tar.gz) = 415541 +SHA256 (gunicorn-19.9.0.tar.gz) = +iZiCXxm+SD1P3BiHGxYyko8TTQ0IF5gjhIbWztx9PM= +SIZE (gunicorn-19.9.0.tar.gz) = 415774 Index: patches/patch-requirements_test_txt =================================================================== RCS file: /cvs/ports/www/py-gunicorn/patches/patch-requirements_test_txt,v retrieving revision 1.3 diff -u -p -r1.3 patch-requirements_test_txt --- patches/patch-requirements_test_txt 4 May 2018 11:37:24 -0000 1.3 +++ patches/patch-requirements_test_txt 17 Dec 2018 06:22:11 -0000 @@ -7,7 +7,7 @@ Index: requirements_test.txt +++ requirements_test.txt @@ -1,3 +1,3 @@ coverage>=4.0,<4.4 # TODO: https://github.com/benoitc/gunicorn/issues/1548 --pytest==3.0.5 --pytest-cov==2.4.0 -+pytest +-pytest==3.2.5 # TODO: upgrade to latest version requires drop support to Python 2.6 +-pytest-cov==2.5.1 ++pytest # TODO: upgrade to latest version requires drop support to Python 2.6 +pytest-cov Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/py-gunicorn/pkg/PLIST,v retrieving revision 1.8 diff -u -p -r1.8 PLIST --- pkg/PLIST 4 May 2018 11:37:24 -0000 1.8 +++ pkg/PLIST 17 Dec 2018 06:22:11 -0000 @@ -80,8 +80,8 @@ lib/python${MODPY_VERSION}/site-packages ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}/ lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}_gaiohttp.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}async.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}base.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}base_async.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}gaiohttp.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}geventlet.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}ggevent.${MODPY_PYC_MAGIC_TAG}pyc @@ -90,8 +90,8 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}sync.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/${MODPY_PYCACHE}workertmp.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/_gaiohttp.py -lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/async.py lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/base.py +lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/base_async.py lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/gaiohttp.py lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/geventlet.py lib/python${MODPY_VERSION}/site-packages/gunicorn/workers/ggevent.py