debian/0000755000000000000000000000000012302376414007170 5ustar debian/docs0000644000000000000000000000001711740234625010043 0ustar docs/index.rst debian/copyright0000644000000000000000000000346311740234625011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: MiniMock Upstream-Contact: Joshua Bronson Source: http://pypi.python.org/packages/source/M/MiniMock/ Files: * Copyright: © 2009–2011 Joshua Bronson © 2007–2009 Ian Bicking and contributors © 2006 Ian Bicking, Mike Beachy, and contributors License: Expat 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. Files: debian/* Copyright: © 2008–2012 Ben Finney License: GPL-2+ This is free software; you may copy, modify and/or distribute this work under the terms of the GNU General Public License, version 2 or later. No warranty expressed or implied. See the file ‘/usr/share/common-licenses/GPL-2’ for details. debian/changelog0000644000000000000000000001251112302376414011042 0ustar python-minimock (1.2.7-1build1) trusty; urgency=medium * Rebuild to drop files installed into /usr/share/pyshared. -- Matthias Klose Sun, 23 Feb 2014 13:52:12 +0000 python-minimock (1.2.7-1) unstable; urgency=low * The “Sliding Days” release. * New upstream version. (Closes: bug#638579). * debian/control: + Declare “Standards-Version: 3.9.3”. No additional changes required. * debian/copyright: + Conform to copyright format version 1.0. + Update copyright information. -- Ben Finney Sun, 08 Apr 2012 17:08:51 +1000 python-minimock (1.2.6-2) unstable; urgency=low * The “Ingersoll” release. * debian/control: + Declare “Standards-Version: 3.9.2”. + Update ‘VCS-*’ fields for new Alioth layout. * debian/control, debian/rules: + Convert to ‘dh_python2’ packaging helper. + Add recommended build targets. + Increase minimum Debhelper version to support new targets. * debian/watch: + Refine upstream URL regex in line with current ‘uscan’ recommendations. -- Ben Finney Sun, 31 Jul 2011 20:30:58 +1000 python-minimock (1.2.6-1) unstable; urgency=low * New upstream version. (Closes: bug#614123). + Can now change tracker on a mock object after creation. + Improve doctest support. + Bug fixes. * debian/docs, debian/rules: + Update documentation filenames to match upstream. * debian/source/format: + Convert packaging to source format “3.0 (quilt)”. * debian/control: + Declare “Standards-Version: 3.9.1”. No further changes needed. + Specify the ‘VCS-Browser’ URL. + Clarify package description. + Set “Priority: optional” to allow other common packages to depend on this one. -- Ben Finney Mon, 21 Feb 2011 10:12:29 +1100 python-minimock (1.2.5-1) unstable; urgency=low * New upstream version: + Deprecate MockTracker. TraceTracker should be used instead. * debian/control: + Update to ‘Standards-Version: 3.8.2’. No changes required. -- Ben Finney Fri, 07 Aug 2009 15:06:18 +1000 python-minimock (1.2.3-1) unstable; urgency=low * New upstream version. + Can now suppress tracking for a Mock instance by specifying ‘tracker=None’. * debian/control, debian/rules: + Switch to ‘python-support’ for Python packaging. + Use nicer override handling from later ‘debhelper’ version. -- Ben Finney Thu, 23 Apr 2009 10:33:44 +1000 python-minimock (1.2.2-1) unstable; urgency=low * New upstream version. + Refined tracker output checking for irrelevant whitespace differences. + Documentation structure update. * debian/*: + Update copyright on Debian packaging. * debian/control: + ‘Build-Depends: python’ instead of ‘python-dev-all’. * debian/rules: + Install upstream changelog. -- Ben Finney Thu, 26 Mar 2009 14:09:17 +1100 python-minimock (1.2.1-1) unstable; urgency=low * New upstream version. + ‘mock’ now also searches built-in namespace by default. + New mock trackers. * debian/control: + Conform package to ‘Standards-Version: 3.8.1’. -- Ben Finney Fri, 20 Mar 2009 22:49:57 +1100 python-minimock (1.0-1) unstable; urgency=low * New upstream version. * debian/copyright: + Update fields to latest draft format version. + Wrap 'Format-Specification' field to observe line-length limit. -- Ben Finney Fri, 09 Jan 2009 19:59:36 +1100 python-minimock (0.9-1) unstable; urgency=low * New upstream version. * debian/copyright + Update fields to latest draft format version. -- Ben Finney Mon, 21 Jul 2008 08:34:38 +1000 python-minimock (0.8-5) unstable; urgency=medium * debian/rules + Fix a FTBFS: Ensure package builds on the buildd environment, by not mentioning 'python-support' at all (closes: bug#490315). * debian/control + Build-Depends-Indep: python-central >= 0.6.8, debhelper >= 7.0.14 to correctly manipulate the 'dh' sequences. -- Ben Finney Sat, 12 Jul 2008 10:44:05 +1000 python-minimock (0.8-4) unstable; urgency=low * Add missing Build-Depends: python-setuptools (Closes: Bug#486958). -- Ben Finney Thu, 19 Jun 2008 19:13:22 +1000 python-minimock (0.8-3) unstable; urgency=low * debian/rules + Fix packaging to generate only actually-needed dependencies (stop pulling in 'python-support' needlessly). * debian/control + Restore XB-Python-Version, needed by python-central. -- Ben Finney Mon, 16 Jun 2008 18:11:34 +1000 python-minimock (0.8-2) unstable; urgency=low * debian/control + Build-Depends on newer python-central. + Remove XB-Python-Version, no longer needed for generating packages. + Update Standards-Version to 3.8.0 (no changes). * debian/rules + Use debhelper 7 support of python-central. -- Ben Finney Fri, 13 Jun 2008 18:39:44 +1000 python-minimock (0.8-1) unstable; urgency=low * Initial release (Closes: #486019). -- Ben Finney Fri, 13 Jun 2008 12:50:30 +1000 debian/compat0000644000000000000000000000000211740234625010370 0ustar 7 debian/control0000644000000000000000000000232611740234625010600 0ustar Source: python-minimock Priority: optional Maintainer: Ben Finney Section: python Homepage: http://pypi.python.org/pypi/MiniMock VCS-bzr: http://anonscm.debian.org/bzr/collab-maint/python-minimock/python-minimock.debian/ VCS-Browser: http://anonscm.debian.org/loggerhead/collab-maint/python-minimock/python-minimock.debian/ Build-Depends: debhelper (>= 8.1), python-setuptools, python (>= 2.6.6-3~) Standards-Version: 3.9.3 Package: python-minimock Architecture: all Depends: ${misc:Depends}, ${python:Depends} Provides: ${python:Provides} Breaks: ${python:Breaks} Description: simple library for Python mock objects minimock is a simple Python library for using mock objects. . Its mock objects will report any access made to the mock object's interfaces. The programmer can easily make assertions about how mock objects are used in the test cases, by using the standard-library ‘doctest’ module to match the reported access against expected behaviour. . Mock objects can return specified values, raise exceptions, etc. to simulate the mocked behaviour. Existing objects can optionally be replaced in-place in their namespace by a mock object, and restored safely after testing. debian/rules0000755000000000000000000000206511740234625010255 0ustar #! /usr/bin/make -f # debian/rules # Part of Debian ‘python-minimock’ package. # # Copyright © 2008–2011 Ben Finney # This is free software; you may copy, modify and/or distribute this work # under the terms of the GNU General Public License, version 2 or later. # No warranty expressed or implied. # See the file ‘/usr/share/common-licenses/GPL-2’ for details. .PHONY: build build: build-indep build-arch dh $@ --with python2 .PHONY: build-indep build-indep: dh $@ --with python2 .PHONY: build-arch build-arch: dh $@ --with python2 .PHONY: clean clean: dh $@ --with python2 .PHONY: install install: build dh $@ --with python2 .PHONY: binary-indep binary-indep: build install dh $@ --with python2 .PHONY: binary-arch binary-arch: build install .PHONY: binary binary: build binary-indep binary-arch .PHONY: override_dh_installchangelogs override_dh_installchangelogs: dh_installchangelogs -k docs/changelog.rst # Local variables: # mode: makefile # coding: utf-8 # End: # vim: filetype=make fileencoding=utf-8 : debian/source/0000755000000000000000000000000011740234625010472 5ustar debian/source/format0000644000000000000000000000001411740234625011700 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000040411740234625010221 0ustar # debian/watch # Debian uscan file for ‘python-minimock’ package. # Manpage: uscan(1) # Compulsory line, this is a version 3 file. version=3 # Current version from Python Cheeseshop. http://pypi.python.org/packages/source/M/MiniMock/MiniMock-(.+).tar.gz