debian/0000755000000000000000000000000012222336736007174 5ustar debian/compat0000644000000000000000000000000212222336736010372 0ustar 9 debian/control0000644000000000000000000000307712222336736010606 0ustar Source: python-wsgi-intercept Section: python Priority: optional Maintainer: PKG OpenStack Uploaders: Julien Danjou , Thomas Goirand , Mehdi Abaakouk Build-Depends: debhelper (>= 9), openstack-pkg-tools, python-all (>= 2.6.6-3~), python-setuptools Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-wsgi-intercept.git Vcs-Git: git://anonscm.debian.org/openstack/python-wsgi-intercept.git Homepage: http://code.google.com/p/wsgi-intercept/ Package: python-wsgi-intercept Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ${python:Depends} Recommends: ${python:Recommends} Description: installs a WSGI application in place of a real URI for testing Testing a WSGI application normally 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. . 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. debian/source/0000755000000000000000000000000012222336736010474 5ustar debian/source/format0000644000000000000000000000001412222336736011702 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000031412222336736010611 0ustar [DEFAULT] upstream-branch = upstream-unstable debian-branch = debian-unstable pristine-tar = True [git-buildpackage] export-dir = ../build-area/ tarball-dir = ../tarballs/ [git-import-orig] dch = False debian/watch0000644000000000000000000000013512222336736010224 0ustar version=3 http://pypi.python.org/packages/source/w/wsgi_intercept wsgi_intercept-(.*).tar.gz debian/changelog0000644000000000000000000000024512222336736011047 0ustar python-wsgi-intercept (0.5.1-1) unstable; urgency=low * Initial release. (Closes: #725031) -- Thomas Goirand Tue, 01 Oct 2013 01:05:06 +0800 debian/copyright0000644000000000000000000000263512222336736011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: wsgi_intercept Source: https://pypi.python.org/pypi/wsgi_intercept Files: debian/* Copyright: (c) 2013, Thomas Goirand License: MIT Files: * Copyright: (c) 2013, Kumar McMillan (c) 2013, Marc Hedlund License: MIT License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/rules0000755000000000000000000000017712222336736010261 0ustar #!/usr/bin/make -f include /usr/share/openstack-pkg-tools/pkgos.make %: dh $@ --buildsystem=python_distutils --with python2