--- python-minimock-0.8.orig/debian/compat +++ python-minimock-0.8/debian/compat @@ -0,0 +1 @@ +7 --- python-minimock-0.8.orig/debian/docs +++ python-minimock-0.8/debian/docs @@ -0,0 +1 @@ +docs/index.txt --- python-minimock-0.8.orig/debian/copyright +++ python-minimock-0.8/debian/copyright @@ -0,0 +1,41 @@ +Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=131 +Upstream-Maintainer: Ian Bicking +Packaged-By: Ben Finney +Packaged-Date: Fri, 13 Jun 2008 11:27:34 +1000 + +Files: * +Copyright: + © 2006 Ian Bicking, Mike Beachy, and contributors + © 2007 Ian Bicking and Contributors +License: Expat + Copyright (c) 2007 Ian Bicking and Contributors + . + 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 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 LICENSE for details. + . + On Debian systems, the complete text of the GNU General Public License + can be found in file "/usr/share/common-licenses/GPL". --- python-minimock-0.8.orig/debian/watch +++ python-minimock-0.8/debian/watch @@ -0,0 +1,9 @@ +# 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 --- python-minimock-0.8.orig/debian/rules +++ python-minimock-0.8/debian/rules @@ -0,0 +1,38 @@ +#! /usr/bin/make -f +# -*- makefile; coding: utf-8 -*- +# +# debian/rules +# +# Copyright © 2008 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. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +.PHONY: build +build: + dh build + +.PHONY: clean +clean: + dh clean + +.PHONY: install +install: build + dh --with python_central install --before pysupport + dh --with python_central install --after pysupport + +.PHONY: binary-indep +binary-indep: build install + dh --with python_central binary-indep --before pysupport + dh --with python_central binary-indep --after pysupport + +.PHONY: binary-arch +binary-arch: build install + +.PHONY: binary +binary: build binary-indep binary-arch --- python-minimock-0.8.orig/debian/changelog +++ python-minimock-0.8/debian/changelog @@ -0,0 +1,32 @@ +python-minimock (0.8-4) unstable; urgency=low + + * Add missing Build-Depends: python-setuptools. + + -- 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 --- python-minimock-0.8.orig/debian/control +++ python-minimock-0.8/debian/control @@ -0,0 +1,29 @@ +Source: python-minimock +Priority: extra +Maintainer: Ben Finney +Section: python +Homepage: http://pypi.python.org/pypi/MiniMock +VCS-bzr: http://bzr.debian.org/collab-maint/python-minimock/ +Build-Depends: debhelper (>= 7.0.8), + python-central (>= 0.6.7), + python-setuptools, + python-all-dev (>= 2.3.5-11) +Standards-Version: 3.8.0 +XS-Python-Version: all + +Package: python-minimock +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +XB-Python-Version: ${python:Versions} +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. By using the standard-library 'doctest' module, the + programmer can easily make assertions about how mock objects are + used by matching 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.