Index: head/devel/py-wsgi_intercept/Makefile =================================================================== --- head/devel/py-wsgi_intercept/Makefile (revision 522404) +++ head/devel/py-wsgi_intercept/Makefile (revision 522405) @@ -1,20 +1,23 @@ # Created by: Alexander Nusov # $FreeBSD$ PORTNAME= wsgi_intercept -PORTVERSION= 1.4.1 +PORTVERSION= 1.9.1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= WSGI application in place of a real uri for testing +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= WSGI application in place of a real URI for testing LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -NO_ARCH= yes +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes .include Index: head/devel/py-wsgi_intercept/distinfo =================================================================== --- head/devel/py-wsgi_intercept/distinfo (revision 522404) +++ head/devel/py-wsgi_intercept/distinfo (revision 522405) @@ -1,3 +1,3 @@ -TIMESTAMP = 1478983348 -SHA256 (wsgi_intercept-1.4.1.tar.gz) = a244cd7de9a06fab53d769668190d912d77e5d36aa38b6034d4413084c6f1458 -SIZE (wsgi_intercept-1.4.1.tar.gz) = 26489 +TIMESTAMP = 1578401172 +SHA256 (wsgi_intercept-1.9.1.tar.gz) = 692552188a52281edbcbfb03584a340ab8fa66e7259d1b0ae9254e627713784d +SIZE (wsgi_intercept-1.9.1.tar.gz) = 29123 Property changes on: head/devel/py-wsgi_intercept/distinfo ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +yes \ No newline at end of property Index: head/devel/py-wsgi_intercept/pkg-descr =================================================================== --- head/devel/py-wsgi_intercept/pkg-descr (revision 522404) +++ head/devel/py-wsgi_intercept/pkg-descr (revision 522405) @@ -1,3 +1,23 @@ -wsgi_intercept installs a WSGI application in place of a real URI for testing. +Testing a WSGI application sometimes involves starting a server at a local host +and port, then pointing your test code to that address. Instead, this library +lets you intercept calls to any specific host/port combination and redirect them +into a WSGI application importable by your test program. Thus, you can avoid +spawning multiple processes or threads to test your Web app. -WWW: https://pypi.org/project/wsgi_intercept/ +wsgi_intercept works with a variety of HTTP clients in Python 2.7, 3.5 and +beyond, and in pypy. +- urllib2 +- urllib.request +- httplib +- http.client +- httplib2 +- requests +- urllib3 + +wsgi_intercept works by replacing httplib.HTTPConnection with a subclass, +wsgi_intercept.WSGI_HTTPConnection. This class then redirects specific +server/port combinations into a WSGI application by emulating a socket. If no +intercept is registered for the host and port requested, those requests are +passed on to the standard handler. + +WWW: https://github.com/cdent/wsgi-intercept Property changes on: head/devel/py-wsgi_intercept/pkg-descr ___________________________________________________________________ Modified: fbsd:nokeywords ## -1 +1 ## -on \ No newline at end of property +yes \ No newline at end of property