svn commit: r522405 - head/devel/py-wsgi_intercept
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jan 8 14:50:59 UTC 2020
Author: sunpoet
Date: Wed Jan 8 14:50:58 2020
New Revision: 522405
URL: https://svnweb.freebsd.org/changeset/ports/522405
Log:
Update to 1.9.1
- Add LICENSE_FILE
- Update pkg-descr
- Update WWW
- Take maintainership
Changes: https://github.com/cdent/wsgi-intercept/commits/master
Modified:
head/devel/py-wsgi_intercept/Makefile
head/devel/py-wsgi_intercept/distinfo (contents, props changed)
head/devel/py-wsgi_intercept/pkg-descr (contents, props changed)
Modified: head/devel/py-wsgi_intercept/Makefile
==============================================================================
--- head/devel/py-wsgi_intercept/Makefile Wed Jan 8 14:50:52 2020 (r522404)
+++ head/devel/py-wsgi_intercept/Makefile Wed Jan 8 14:50:58 2020 (r522405)
@@ -2,19 +2,22 @@
# $FreeBSD$
PORTNAME= wsgi_intercept
-PORTVERSION= 1.4.1
+PORTVERSION= 1.9.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports at FreeBSD.org
-COMMENT= WSGI application in place of a real uri for testing
+MAINTAINER= sunpoet at 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 <bsd.port.mk>
Modified: head/devel/py-wsgi_intercept/distinfo
==============================================================================
--- head/devel/py-wsgi_intercept/distinfo Wed Jan 8 14:50:52 2020 (r522404)
+++ head/devel/py-wsgi_intercept/distinfo Wed Jan 8 14:50:58 2020 (r522405)
@@ -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
Modified: head/devel/py-wsgi_intercept/pkg-descr
==============================================================================
--- head/devel/py-wsgi_intercept/pkg-descr Wed Jan 8 14:50:52 2020 (r522404)
+++ head/devel/py-wsgi_intercept/pkg-descr Wed Jan 8 14:50:58 2020 (r522405)
@@ -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
More information about the svn-ports-all
mailing list