debian/0000775000000000000000000000000012276121366007176 5ustar debian/python-zope.testing.install0000664000000000000000000000006112146432726014534 0ustar debian/test_helper usr/share/python-zope.testing debian/copyright0000664000000000000000000000460112165140733011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: zope.testing Upstream-Contact: Zope Foundation and Contributors Source: http://pypi.python.org/pypi/zope.testing Files: * Copyright: (c) 2001-2008 Zope Foundation and Contributors. License: Zope-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. debian/docs0000664000000000000000000000001312165561754010051 0ustar README.rst debian/watch0000664000000000000000000000014512146432726010230 0ustar version=3 http://pypi.python.org/packages/source/z/zope.testing/zope.testing-(.*)(?:\.tar\.gz|\.zip) debian/compat0000664000000000000000000000000212146432726010375 0ustar 7 debian/control0000664000000000000000000000261712276121333010601 0ustar 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.6.6-3~), python3-all, python-setuptools, python3-setuptools, Standards-Version: 3.9.4 X-Python-Version: >= 2.6 X-Python3-Version: >= 3.1 XS-Testsuite: autopkgtest Homepage: http://pypi.python.org/pypi/zope.testing Vcs-Svn: svn://anonscm.debian.org/pkg-zope/zope.testing/trunk Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-zope/zope.testing/trunk Package: python-zope.testing Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-zope.testrunner Description: Zope testing helpers This package provides a number of testing frameworks. It includes a flexible test runner, and supports both doctest and unittest. Package: python3-zope.testing Architecture: all Depends: ${python3:Depends}, ${misc:Depends} Provides: ${python3:Provides} Description: Zope testing helpers for Python 3 This package provides a number of testing frameworks. It includes a flexible test runner, and supports both doctest and unittest. debian/rules0000775000000000000000000000177712167356040010270 0ustar #!/usr/bin/make -f %: dh $@ --with python2,python3 package=python-zope.testing package3=python3-zope.testing override_dh_auto_clean: rm -rf build find -name __pycache__ | xargs -r rm -rf dh_auto_clean override_dh_auto_build: for pyvers in $(shell pyversions -vr); do \ python$$pyvers setup.py build; \ done for pyvers in $(shell py3versions -sv); do \ python$$pyvers setup.py build; \ done override_dh_auto_install: set -x; \ for pyvers in $(shell pyversions -vr); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/$(package); \ done set -x; \ for pyvers in $(shell py3versions -vs); do \ python$$pyvers setup.py install --install-layout=deb \ --root $(CURDIR)/debian/$(package3); \ done override_dh_gencontrol: dh_gencontrol # Workaround for dh_python3 not removing python-setuptools from requires.txt find debian/$(package3) -name requires.txt -exec sed -i '/^setuptools$$/d' {} \; override_dh_installchangelogs: dh_installchangelogs CHANGES.rst debian/test_helper0000664000000000000000000000216112165141174011433 0ustar # includable shell script to make test scripts smaller set -e echo "This script is deprecated, please use the corresponding script in the python-zope.testrunner package." if [ ! -x /usr/bin/zope-testrunner ]; then echo "Could not find /usr/bin/zope-testrunner, please install python-zope.testrunner." exit 1 fi 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 -s 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 debian/source/0000775000000000000000000000000012171047212010465 5ustar debian/source/options0000664000000000000000000000004211772302673012112 0ustar extend-diff-ignore = "\.egg-info" debian/source/format0000664000000000000000000000001411565023034011675 0ustar 3.0 (quilt) debian/tests/0000775000000000000000000000000012171047212010327 5ustar debian/tests/all0000664000000000000000000000013112165560502011022 0ustar #!/bin/bash testfilter="-s zope.testing" . /usr/share/python-zope.testrunner/test_helper debian/tests/all-30000664000000000000000000000013412165560571011173 0ustar #!/bin/bash testfilter="-s zope.testing" . /usr/share/python3-zope.testrunner/test_helper_3 debian/tests/control0000664000000000000000000000017112165612435011741 0ustar Tests: all Depends: @, python-all, python-zope.testrunner Tests: all-3 Depends: @, python3-all, python3-zope.testrunner debian/changelog0000664000000000000000000001640412276121363011052 0ustar zope.testing (4.1.2-0ubuntu7) trusty; urgency=medium * Add python-zope.testrunner dependency as in Debian, to avoid autopkgtest failures which assume that dependency. -- Martin Pitt Mon, 10 Feb 2014 10:58:53 +0100 zope.testing (4.1.2-0ubuntu6) saucy; urgency=low * Rebuild to test with fixed zope.exceptions. -- Gediminas Paulauskas Mon, 15 Jul 2013 22:31:43 +0300 zope.testing (4.1.2-0ubuntu4) saucy; urgency=low * debian/rules: fix the command that removes setuptools requirement. -- Gediminas Paulauskas Thu, 11 Jul 2013 01:12:00 +0300 zope.testing (4.1.2-0ubuntu2) saucy; urgency=low * debian/tests/all-3: fix to install python3-zope.testrunner. * debian/rules: remove setuptools from requires.txt of python3 egg. -- Gediminas Paulauskas Fri, 05 Jul 2013 21:50:29 +0300 zope.testing (4.1.2-0ubuntu1) saucy; urgency=low * New upstream release - Removes the deprecated zope.testing.doctest. (Closes: #555436) - Adds Python 3 support. * Add python3-zope.testing package. * debian/rules: install upstream changelog. * debian/docs: README.rst was renamed. -- Gediminas Paulauskas Thu, 04 Jul 2013 18:53:32 +0300 zope.testing (3.10.2-1ubuntu2) saucy; urgency=low [ Gediminas Paulauskas ] * debian/control: - enable autopkgtest (Closes: #692694). - use canonical URI for Vcs-Svn and Vcs-Browser. - bump Standards-Version to 3.9.4 * Drop the use of python-van.pydeb [ Arnaud Fontaine ] * debian/source/options: ignore .egg-info directory. -- Gediminas Paulauskas Thu, 04 Jul 2013 03:33:30 +0300 zope.testing (3.10.2-1build1) precise; urgency=low * Rebuild to drop python2.6 dependencies. -- Matthias Klose Sat, 31 Dec 2011 08:21:13 +0000 zope.testing (3.10.2-1) unstable; urgency=low * Team upload. [ Arnaud Fontaine ] * Switch to 3.0 (quilt) source format. * debian/docs: + Add README.txt. * debian/control: + Rename deprecated XS-Python-Version to X-Python-Version. + Add Vcs-Browser and Homepage fields. + Rename XS-Vcs-Svn to Vcs-Svn (dpkg supports it). + Bump Standards-Version to 3.9.2. No changes needed. * debian/copyright: + Update to the last revision of DEP5 format. [ Brian Sutherland ] * New upstream version. * Upload fixes dependency on python2.5 (Closes: #623922). * Use dh_python2 instead of python-central (Closes: #617180). * Add python-all to debian/tests/control as we test against all python versions. * Specifically depend on python-zope.testrunner, even though upstream doesn't, to provide backwards compatibility. -- Arnaud Fontaine Wed, 18 May 2011 20:04:55 +0900 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 (LP: #761680). * 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 python-van.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