--- zope.event-3.4.1.orig/debian/rules +++ zope.event-3.4.1/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f + +include /usr/share/python-van.pydeb/rules_templates/rules.1.mk --- zope.event-3.4.1.orig/debian/control +++ zope.event-3.4.1/debian/control @@ -0,0 +1,21 @@ +Source: zope.event +Section: zope +Priority: optional +Maintainer: Debian/Ubuntu Zope Team +Uploaders: Brian Sutherland , Fabio Tranchitella +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-2) +Standards-Version: 3.8.3 +XS-Python-Version: all +XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zope.event/trunk + +Package: python-zope.event +Architecture: all +Depends: ${setuptools:Depends}, ${python:Depends} +Provides: ${python:Provides}, ${setuptools:Provides} +Suggests: ${setuptools:Suggests} +XB-Python-Version: ${python:Versions} +Description: a simple event publishing system + A very simple event-dispatching system on which more sophisticated + event dispatching systems can be built. For example, a type-based + event dispatching system that builds on zope.event can be found in + zope.component. --- zope.event-3.4.1.orig/debian/copyright +++ zope.event-3.4.1/debian/copyright @@ -0,0 +1,74 @@ +This package was debianized by Brian Sutherland + +It was downloaded from http://pypi.python.org/pypi/zope.event + +Copyright: + +Upstream Author: Zope Corporation and Contributers + +Files contain this header: + +# Copyright (c) 2004 Zope Corporation and Contributors. +# All Rights Reserved. +# +# This software is subject to the provisions of the Zope Public License, +# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. +# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED +# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS +# FOR A PARTICULAR PURPOSE. + +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.event-3.4.1.orig/debian/compat +++ zope.event-3.4.1/debian/compat @@ -0,0 +1 @@ +4 --- zope.event-3.4.1.orig/debian/changelog +++ zope.event-3.4.1/debian/changelog @@ -0,0 +1,80 @@ +zope.event (3.4.1-5) unstable; urgency=low + + [ Brian Sutherland ] + * Set priority to optional as we are depended on by python-zodb which is + priority optional. + + [ Fabio Tranchitella ] + * debian/control: build-depend on pyton-vab.pydeb >= 1.3.0-2. + (Closes: #552681) + + -- Fabio Tranchitella Sun, 08 Nov 2009 11:25:19 +0100 + +zope.event (3.4.1-4) unstable; urgency=low + + * Set section to zope. + * Rebuild against van.pydeb 1.3. + + -- Matthias Klose Sun, 13 Sep 2009 09:40:15 +0200 + +zope.event (3.4.1-3) unstable; urgency=low + + * debian/tests/control: Also depend on ourselves as a testing dependency. + + -- Brian Sutherland Tue, 02 Jun 2009 13:42:00 +0200 + +zope.event (3.4.1-2) unstable; urgency=low + + * debian/tests/control: Add python-zope.testing as test dependency. + + -- Brian Sutherland Tue, 02 Jun 2009 13:19:16 +0200 + +zope.event (3.4.1-1) unstable; urgency=low + + * New upstream release + * Add watch file + * Change source package name + * Standards-Version 3.8.1 + * Python-Version all + * Build with the newer python-van.pydeb rather than python- + vanguardistas.pydebdep + + -- Brian Sutherland Mon, 25 May 2009 22:34:26 +0200 + +python-zope.event (3.4.0-2ubuntu1.3) lenny; urgency=low + + * Non-maintainer upload. + * Rebuild for lenny + + -- Brian Sutherland Fri, 08 May 2009 11:06:50 +0000 + +python-zope.event (3.4.0-2ubuntu1.2) etch-devel; urgency=low + + * Add Replaces: zope3. + + -- Brian Sutherland Tue, 22 Jul 2008 10:42:25 +0200 + +python-zope.event (3.4.0-2ubuntu1.1) etch-devel; urgency=low + + * Non-maintainer upload. + * Rebuild for etch-devel + + -- Brian Sutherland Tue, 22 Jul 2008 10:31:35 +0200 + +python-zope.event (3.4.0-2ubuntu1) hardy; urgency=low + + * Re-build for hardy + + -- Ignas Mikalajunas Wed, 23 Apr 2008 11:19:04 +0300 + +python-zope.event (3.4.0-2) gutsy; urgency=low + + * Use pydebdep + + -- Brian Sutherland Tue, 12 Feb 2008 22:54:40 +0100 + +python-zope.event (3.4.0-1) gutsy; urgency=low + + * Inital Release + + -- Brian Sutherland Thu, 8 Nov 2007 19:27:48 +0100 --- zope.event-3.4.1.orig/debian/watch +++ zope.event-3.4.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/z/zope.event/zope.event-(.*)\.tar\.gz --- zope.event-3.4.1.orig/debian/tests/control +++ zope.event-3.4.1/debian/tests/control @@ -0,0 +1,3 @@ +Tests: all +Features: no-build-needed +Depends: @, python-zope.testing --- zope.event-3.4.1.orig/debian/tests/all +++ zope.event-3.4.1/debian/tests/all @@ -0,0 +1,27 @@ +#!/bin/bash + +set -e + +PYVERS=$(pyversions -vr debian/control) +TMPFILE=$(mktemp) + +cat > $TMPFILE << EOF +import sys +from zope.testing import testrunner + +subs = (sys.version_info[0], sys.version_info[1]) +test_path = '/usr/lib/python%s.%s/site-packages/' % subs + + + +exitcode = testrunner.run([ + '--tests-pattern', '^f?tests$', + '-s', 'zope.event', + '--test-path', test_path + ]) +sys.exit(exitcode) +EOF + +for version in ${PYVERS}; do + python${version} ${TMPFILE} +done