This updates py-webob to 1.8.7 and drops the unneeded python 2 flavor (python 2 consumer is py-webtest, which I just senta diff to drop the python 2 flavor).
All tests pass on amd64. All tests for py-webtest pass the same with both old and new versions. The only other consumer, games/mnemosyne has NO_TEST set. Changelog: https://docs.pylonsproject.org/projects/webob/en/stable/changes.html ok? --Kurt Index: Makefile =================================================================== RCS file: /cvs/ports/www/py-webob/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- Makefile 3 Jul 2020 21:13:21 -0000 1.17 +++ Makefile 14 Mar 2021 01:34:37 -0000 @@ -2,10 +2,9 @@ COMMENT = wsgi request and response object -MODPY_EGG_VERSION = 1.7.2 +MODPY_EGG_VERSION = 1.8.7 DISTNAME = WebOb-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME:L} -REVISION = 2 CATEGORIES = www devel @@ -20,15 +19,16 @@ MODPY_PI = Yes MODPY_SETUPTOOLS = Yes MODPY_PYTEST = Yes -TEST_DEPENDS = www/py-webtest${MODPY_FLAVOR} - -FLAVORS= python3 -FLAVOR?= +FLAVORS = python3 +FLAVOR = python3 DOCS = differences.txt do-it-yourself.txt index.txt whatsnew-*.txt \ reference.txt EXAMPLES = comment-example.txt file-example.txt jsonrpc-example.txt \ wiki-example.txt + +TEST_DEPENDS = www/py-webtest${MODPY_FLAVOR} +TEST_ENV += PYTHONPATH=${WRKSRC}/lib post-extract: find ${WRKSRC} -perm 0666 -exec chmod 0644 {} + Index: distinfo =================================================================== RCS file: /cvs/ports/www/py-webob/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 12 May 2017 07:58:48 -0000 1.5 +++ distinfo 14 Mar 2021 01:34:37 -0000 @@ -1,2 +1,2 @@ -SHA256 (WebOb-1.7.2.tar.gz) = DcizC9vxXY/RqWfjDs4zV/L0aCBjVPaSE+V7MKY/ADk= -SIZE (WebOb-1.7.2.tar.gz) = 215746 +SHA256 (WebOb-1.8.7.tar.gz) = tk71FBvlWc+t5EjwRPpFwiYDUe3Lao72t+AMfc7wwyM= +SIZE (WebOb-1.8.7.tar.gz) = 278544 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/www/py-webob/pkg/PLIST,v retrieving revision 1.5 diff -u -p -r1.5 PLIST --- pkg/PLIST 12 May 2017 07:58:48 -0000 1.5 +++ pkg/PLIST 14 Mar 2021 01:34:37 -0000 @@ -1,4 +1,6 @@ @comment $OpenBSD: PLIST,v 1.5 2017/05/12 07:58:48 shadchin Exp $ +@conflict py-webob-* +@pkgpath www/py-webob lib/python${MODPY_VERSION}/site-packages/WebOb-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/ lib/python${MODPY_VERSION}/site-packages/WebOb-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO lib/python${MODPY_VERSION}/site-packages/WebOb-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt @@ -52,6 +54,7 @@ share/doc/${MODPY_PY_PREFIX}webob/refere share/doc/${MODPY_PY_PREFIX}webob/whatsnew-1.5.txt share/doc/${MODPY_PY_PREFIX}webob/whatsnew-1.6.txt share/doc/${MODPY_PY_PREFIX}webob/whatsnew-1.7.txt +share/doc/${MODPY_PY_PREFIX}webob/whatsnew-1.8.txt share/examples/${MODPY_PY_PREFIX}webob/ share/examples/${MODPY_PY_PREFIX}webob/comment-example.txt share/examples/${MODPY_PY_PREFIX}webob/file-example.txt