From owner-svn-ports-head@freebsd.org Wed Jan 8 14:50:59 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8DE601F1367; Wed, 8 Jan 2020 14:50:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47tByC2hgGz4d2k; Wed, 8 Jan 2020 14:50:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 48C3519952; Wed, 8 Jan 2020 14:50:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 008EoxMQ077369; Wed, 8 Jan 2020 14:50:59 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 008EowqC077366; Wed, 8 Jan 2020 14:50:58 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <202001081450.008EowqC077366@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 8 Jan 2020 14:50:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522405 - head/devel/py-wsgi_intercept X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/devel/py-wsgi_intercept X-SVN-Commit-Revision: 522405 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2020 14:50:59 -0000 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@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 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