--- zope.testing-3.9.4.orig/debian/changelog +++ zope.testing-3.9.4/debian/changelog @@ -0,0 +1,149 @@ +zope.testing (3.9.4-0ubuntu2) natty; urgency=low + + * debian/rules: do not mess with scripts, install only + /usr/bin/zope-testrunner using default python. + * debian/test_helper: adapt to changed name of zope-testrunner, execute it + with different python interpreters instead. + * debian/tests/all: use our own test_helper. + + -- Gediminas Paulauskas Fri, 15 Apr 2011 21:26:53 +0300 + +zope.testing (3.9.4-0ubuntu1) maverick; urgency=low + + * New upstream release. + * debian/rules: Build-Depends on python-all, not its -dev variant. + * debian/copyright: update, convert to dep5 format. + + -- Gediminas Paulauskas Tue, 14 Sep 2010 15:27:42 +0300 + +zope.testing (3.8.3-4) unstable; urgency=low + + * Fix test path on python2.6. + + -- Fabio Tranchitella Wed, 27 Jan 2010 21:32:19 +0100 + +zope.testing (3.8.3-3) unstable; urgency=low + + * Convert to debhelper 7 and the pydeb dh7 extension. + + -- Fabio Tranchitella Fri, 25 Dec 2009 20:09:13 +0100 + +zope.testing (3.8.3-2) unstable; urgency=low + + * debian/control: build-depend on pyton-vab.pydeb >= 1.3.0-2. + (Closes: #552923) + + -- Fabio Tranchitella Sun, 08 Nov 2009 11:12:13 +0100 + +zope.testing (3.8.3-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Sun, 27 Sep 2009 07:31:57 +0200 + +zope.testing (3.8.2-1) unstable; urgency=low + + [ Matthias Klose ] + * New upstream version. + + [ Brian Sutherland ] + * Set priority to optional as we are depended on by python-zodb which is + priority optional. + + -- Matthias Klose Mon, 21 Sep 2009 23:58:02 +0200 + +zope.testing (3.8.1-3) unstable; urgency=low + + * Add a conflict with python-zodb (<< 2.9). LP: #422428. + + -- Matthias Klose Sat, 12 Sep 2009 22:00:01 +0200 + +zope.testing (3.8.1-2) unstable; urgency=low + + * Set section to zope. + * Rebuild against van.pydeb 1.3. + + -- Matthias Klose Sat, 12 Sep 2009 21:00:47 +0200 + +zope.testing (3.8.1-1) unstable; urgency=low + + * New upstream release. + * Standards-Version: 3.8.3, no changes required. + * debian/rules: fixed FTBFS with Python 2.6. (Closes: #543230) + * debian/control: added conflict with zope3. + + -- Fabio Tranchitella Fri, 28 Aug 2009 10:47:34 +0200 + +zope.testing (3.7.4-4) unstable; urgency=low + + * Port revision 101026 from upstream: add a zope-testrunner binary. + http://mail.zope.org/pipermail/checkins/2009-June/035183.html + * Add a test_helper shell snippet that can be included in testing files + to ease writing autopkgtest scripts. + See /usr/share/python-zope.testing/test_helper + + -- Brian Sutherland Mon, 15 Jun 2009 05:56:09 +0200 + +zope.testing (3.7.4-3) unstable; urgency=low + + * Fix test script again: one of the subtleties of grep is that it's exit + status is 1 if no match is found. + + -- Brian Sutherland Wed, 03 Jun 2009 06:42:40 +0200 + +zope.testing (3.7.4-2) unstable; urgency=low + + * Ignore spurious and not so spurious messages printed in stderr of + test script + + -- Brian Sutherland Tue, 02 Jun 2009 23:00:16 +0200 + +zope.testing (3.7.4-1) unstable; urgency=low + + * Change source package name. + * Standards version 3.8.0. + * Add watch file. + * Support all python versions. + * Convert to use python-van.pydeb for dependency generation + * Expand Description + * Add copyright + + -- Brian Sutherland Mon, 25 May 2009 20:20:46 +0200 + +python-zope.testing (3.7.0-1.1) lenny; urgency=low + + * Non-maintainer upload. + * Rebuild for lenny + + -- Brian Sutherland Fri, 08 May 2009 11:22:25 +0000 + +python-zope.testing (3.7.0-1) etch-devel; urgency=low + + * New upstream release + + -- Archive Processor Mon, 6 Oct 2008 10:41:58 +0000 + +python-zope.testing (3.5.1-1ubuntu2.1) etch-devel; urgency=low + + * Non-maintainer upload. + * Rebuild for etch-devel + + -- Brian Sutherland Wed, 23 Jul 2008 09:51:10 +0200 + +python-zope.testing (3.5.1-1ubuntu2) hardy; urgency=low + + * Re-build for hardy + + -- Ignas Mikalajunas Wed, 23 Apr 2008 11:19:35 +0300 + +python-zope.testing (3.5.1-1ubuntu1) gutsy; urgency=low + + * Rebuild the package with proper dependencies + + -- Ignas Mikalajunas Thu, 17 Apr 2008 15:26:03 +0300 + +python-zope.testing (3.5.1-1) gutsy; urgency=low + + * Inital Release + + -- Brian Sutherland Thu, 8 Nov 2007 19:27:48 +0100 --- zope.testing-3.9.4.orig/debian/test_helper +++ zope.testing-3.9.4/debian/test_helper @@ -0,0 +1,20 @@ +# includable shell script to make test scripts smaller + +set -e + +if [ -z "${testfilter}" ]; then + if [ -x /usr/bin/van-pydeb ]; then + testfilter="-m $(van-pydeb src_to_py $(grep 'Source: ' debian/control | sed 's/Source: //'))" + else + echo "Could not find van-pydeb to guess the python package name. You should have your tests depend on it or you " + echo "must specify testfilter variable, something like -p package_name, see zope-testrunner --help for details." + exit 1 + fi +fi + +PYVERS=$(pyversions -r debian/control) +for python in ${PYVERS}; do + py_libdir_sh=$(${python} -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())') + echo Running tests for ${python}: /usr/bin/zope-testrunner -k --test-path ${py_libdir_sh} ${testfilter} + ${python} /usr/bin/zope-testrunner -k --test-path ${py_libdir_sh} ${testfilter} +done --- zope.testing-3.9.4.orig/debian/rules +++ zope.testing-3.9.4/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh --with pydeb --with python-central $@ --- zope.testing-3.9.4.orig/debian/control +++ zope.testing-3.9.4/debian/control @@ -0,0 +1,21 @@ +Source: zope.testing +Section: zope +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian/Ubuntu Zope Team +Uploaders: Brian Sutherland , Fabio Tranchitella , Matthias Klose +Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.3.5-11), python-central (>= 0.6.8), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4) +Standards-Version: 3.8.4 +XS-Python-Version: all +XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zope.testing/trunk + +Package: python-zope.testing +Architecture: all +Depends: ${pydeb:Depends}, ${python:Depends}, ${misc:Depends} +Provides: ${pydeb:Provides}, ${python:Provides} +Suggests: ${pydeb:Suggests} +Conflicts: zope3, python-zodb (<< 2.9) +XB-Python-Version: ${python:Versions} +Description: Zope testing framework, including the testrunner script + This package provides a number of testing frameworks. It includes a flexible + test runner, and supports both doctest and unittest. --- zope.testing-3.9.4.orig/debian/compat +++ zope.testing-3.9.4/debian/compat @@ -0,0 +1 @@ +7 --- zope.testing-3.9.4.orig/debian/watch +++ zope.testing-3.9.4/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/z/zope.testing/zope.testing-(.*)\.tar\.gz --- zope.testing-3.9.4.orig/debian/copyright +++ zope.testing-3.9.4/debian/copyright @@ -0,0 +1,52 @@ +Format-Specification: http://dep.debian.net/deps/dep5/ +Name: zope.testing +Maintainer: Zope Foundation and Contributors +Source: http://pypi.python.org/pypi/zope.testing + +Files: * +Copyright: (c) 2001-2008 Zope Foundation and Contributors. +License: ZPL-2.1 + Zope Public License (ZPL) Version 2.1 + . + A copyright notice accompanies this license document that identifies the + copyright holders. + . + This license has been certified as open source. It has also been designated as + GPL compatible by the Free Software Foundation (FSF). + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + 1. Redistributions in source code must retain the accompanying copyright + notice, this list of conditions, and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the accompanying copyright + notice, this list of conditions, and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + 3. Names of the copyright holders must not be used to endorse or promote + products derived from this software without prior written permission from the + copyright holders. + . + 4. The right to distribute this software or to use it for any purpose does not + give you the right to use Servicemarks (sm) or Trademarks (tm) of the + copyright + holders. Use of them is covered by separate agreement with the copyright + holders. + . + 5. If any files are modified, you must cause the modified files to carry + prominent notices stating that you changed the files and the date of any + change. + . + Disclaimer + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR + PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING + NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, + EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --- zope.testing-3.9.4.orig/debian/python-zope.testing.install +++ zope.testing-3.9.4/debian/python-zope.testing.install @@ -0,0 +1 @@ +debian/test_helper usr/share/python-zope.testing --- zope.testing-3.9.4.orig/debian/tests/control +++ zope.testing-3.9.4/debian/tests/control @@ -0,0 +1,3 @@ +Tests: all +Features: no-build-needed +Depends: @, python-zope.testing --- zope.testing-3.9.4.orig/debian/tests/all +++ zope.testing-3.9.4/debian/tests/all @@ -0,0 +1,2 @@ +#!/bin/bash +. /usr/share/python-zope.testing/test_helper