https://pypi.org/project/waitress/
Changes listed for the 1.4.x series include multiple security fixes. Tests for the only consumer, www/py-webtest, work exactly the same with the new version as the old one. A few more tests fail on the new version, but that seems to be new tests since it has many more tests than 1.1.0. ok? --Kurt ? patches Index: Makefile =================================================================== RCS file: /cvs/ports/www/py-waitress/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- Makefile 3 Jul 2020 21:13:21 -0000 1.5 +++ Makefile 9 Sep 2020 16:35:47 -0000 @@ -2,10 +2,9 @@ COMMENT = pure-Python WSGI server -MODPY_EGG_VERSION = 1.1.0 +MODPY_EGG_VERSION = 1.4.4 DISTNAME = waitress-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} -REVISION = 1 CATEGORIES = www @@ -16,11 +15,14 @@ MODULES = lang/python MODPY_PI = Yes MODPY_SETUPTOOLS = Yes +MODPY_PYTEST = Yes FLAVORS = python3 FLAVOR ?= BUILD_DEPENDS = textproc/py-sphinx + +TEST_ENV += PYTHONPATH=${WRKSRC}/src/ post-install: mv ${PREFIX}/bin/waitress-serve{,${MODPY_BIN_SUFFIX}} Index: distinfo =================================================================== RCS file: /cvs/ports/www/py-waitress/distinfo,v retrieving revision 1.2 diff -u -p -r1.2 distinfo --- distinfo 23 May 2018 12:49:37 -0000 1.2 +++ distinfo 9 Sep 2020 16:35:47 -0000 @@ -1,2 +1,2 @@ -SHA256 (waitress-1.1.0.tar.gz) = 0zzT1iQmwPGzzYTuPWV3nHADquP8Bg3uYFJNEKV/Bak= -SIZE (waitress-1.1.0.tar.gz) = 126131 +SHA256 (waitress-1.4.4.tar.gz) = G7Q2UIp0h6xssJeuen/lQTrvymEFULr1jwlA5R7PsmE= +SIZE (waitress-1.4.4.tar.gz) = 173124 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/py-waitress/pkg/PLIST,v retrieving revision 1.2 diff -u -p -r1.2 PLIST --- pkg/PLIST 23 May 2018 12:49:37 -0000 1.2 +++ pkg/PLIST 9 Sep 2020 16:35:47 -0000 @@ -6,12 +6,11 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/waitress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt lib/python${MODPY_VERSION}/site-packages/waitress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt lib/python${MODPY_VERSION}/site-packages/waitress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/entry_points.txt -lib/python${MODPY_VERSION}/site-packages/waitress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe lib/python${MODPY_VERSION}/site-packages/waitress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt lib/python${MODPY_VERSION}/site-packages/waitress-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt lib/python${MODPY_VERSION}/site-packages/waitress/__init__.py lib/python${MODPY_VERSION}/site-packages/waitress/__main__.py -${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE} +${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}/ lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}adjustments.${MODPY_PYC_MAGIC_TAG}pyc @@ -19,77 +18,26 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}channel.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}compat.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}parser.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}proxy_headers.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}receiver.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}rfc7230.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}runner.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}server.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}task.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}trigger.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}utilities.${MODPY_PYC_MAGIC_TAG}pyc +lib/python${MODPY_VERSION}/site-packages/waitress/${MODPY_PYCACHE}wasyncore.${MODPY_PYC_MAGIC_TAG}pyc lib/python${MODPY_VERSION}/site-packages/waitress/adjustments.py lib/python${MODPY_VERSION}/site-packages/waitress/buffers.py lib/python${MODPY_VERSION}/site-packages/waitress/channel.py lib/python${MODPY_VERSION}/site-packages/waitress/compat.py lib/python${MODPY_VERSION}/site-packages/waitress/parser.py +lib/python${MODPY_VERSION}/site-packages/waitress/proxy_headers.py lib/python${MODPY_VERSION}/site-packages/waitress/receiver.py +lib/python${MODPY_VERSION}/site-packages/waitress/rfc7230.py lib/python${MODPY_VERSION}/site-packages/waitress/runner.py lib/python${MODPY_VERSION}/site-packages/waitress/server.py lib/python${MODPY_VERSION}/site-packages/waitress/task.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/ -lib/python${MODPY_VERSION}/site-packages/waitress/tests/__init__.py -${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE} -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_adjustments.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_buffers.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_channel.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_compat.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_functional.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_init.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_parser.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_receiver.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_regression.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_runner.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_server.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_task.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_trigger.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/${MODPY_PYCACHE}test_utilities.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/ -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/__init__.py -${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE} -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}badcl.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}echo.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}error.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}filewrapper.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}getline.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}nocl.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}runner.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}sleepy.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}toolarge.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/${MODPY_PYCACHE}writecb.${MODPY_PYC_MAGIC_TAG}pyc -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/badcl.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/echo.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/error.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/filewrapper.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/getline.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/groundhog1.jpg -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/nocl.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/runner.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/sleepy.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/toolarge.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/fixtureapps/writecb.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_adjustments.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_buffers.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_channel.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_compat.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_functional.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_init.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_parser.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_receiver.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_regression.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_runner.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_server.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_task.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_trigger.py -lib/python${MODPY_VERSION}/site-packages/waitress/tests/test_utilities.py lib/python${MODPY_VERSION}/site-packages/waitress/trigger.py lib/python${MODPY_VERSION}/site-packages/waitress/utilities.py +lib/python${MODPY_VERSION}/site-packages/waitress/wasyncore.py