update py-waitress to 2.1.2
This update: - Addresses CVE-2022-24761 - Skips versions 2.1.0 and 2.1.1 which are impacted by CVE-2022-31015 with help from and ok sthen@
This commit is contained in:
parent
893abb61c5
commit
11d6b9ff83
|
@ -1,9 +1,8 @@
|
|||
COMMENT = pure-Python WSGI server
|
||||
|
||||
MODPY_EGG_VERSION = 1.4.4
|
||||
MODPY_EGG_VERSION = 2.1.2
|
||||
DISTNAME = waitress-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
REVISION = 5
|
||||
|
||||
CATEGORIES = www
|
||||
|
||||
|
@ -12,14 +11,16 @@ PERMIT_PACKAGE = Yes
|
|||
|
||||
MODULES = lang/python
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYBUILD = setuptools
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYBUILD = setuptools
|
||||
|
||||
BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR}
|
||||
|
||||
TEST_ENV += PYTHONPATH=${WRKSRC}/src/
|
||||
|
||||
TEST_DEPENDS = devel/py-test-cov${MODPY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (waitress-1.4.4.tar.gz) = G7Q2UIp0h6xssJeuen/lQTrvymEFULr1jwlA5R7PsmE=
|
||||
SIZE (waitress-1.4.4.tar.gz) = 173124
|
||||
SHA256 (waitress-2.1.2.tar.gz) = eApAgsX7wP3movz+Xibm78Ho9CVzCGPAQIV2l4H1Hro=
|
||||
SIZE (waitress-2.1.2.tar.gz) = 179823
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
Remove --cov option that doesn't work even if py-test-cov is installed
|
||||
|
||||
Index: setup.cfg
|
||||
--- setup.cfg.orig
|
||||
+++ setup.cfg
|
||||
@@ -67,7 +67,7 @@ python_files = test_*.py
|
||||
python_classes = Test_*
|
||||
testpaths =
|
||||
tests
|
||||
-addopts = -W always --cov
|
||||
+addopts = -W always
|
||||
|
||||
[egg_info]
|
||||
tag_build =
|
|
@ -1,5 +1,5 @@
|
|||
Waitress is meant to be a production-quality pure-Python WSGI server with very
|
||||
acceptable performance. It has no dependencies except ones which live in the
|
||||
Python standard library. It runs on CPython on Unix and Windows under Python
|
||||
2.7+ and Python 3.3+. It is also known to run on PyPy 1.6.0+ on UNIX. It
|
||||
supports HTTP/1.0 and HTTP/1.1.
|
||||
Waitress is meant to be a production-quality pure-Python WSGI server
|
||||
with very acceptable performance. It has no dependencies except
|
||||
ones which live in the Python standard library. It runs on CPython
|
||||
on Unix and Windows under Python 3.7+. It is also known to run on
|
||||
PyPy 3 on UNIX. It supports HTTP/1.0 and HTTP/1.1.
|
||||
|
|
Loading…
Reference in New Issue