--- zope.location-3.7.0.orig/debian/rules +++ zope.location-3.7.0/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f + +include /usr/share/python-van.pydeb/rules_templates/rules.1.mk --- zope.location-3.7.0.orig/debian/control +++ zope.location-3.7.0/debian/control @@ -0,0 +1,19 @@ +Source: zope.location +Section: zope +Priority: extra +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.location/trunk + +Package: python-zope.location +Architecture: all +Depends: ${setuptools:Depends}, ${python:Depends}, ${shlibs:Depends} +Provides: ${setuptools:Provides}, ${python:Provides} +Suggests: ${setuptools:Suggests} +Conflicts: zope3 +XB-Python-Version: ${python:Versions} +Description: tools for working with object locations + In Zope3, locations are special objects that have a structural location. --- zope.location-3.7.0.orig/debian/copyright +++ zope.location-3.7.0/debian/copyright @@ -0,0 +1,74 @@ +This package was debianized by Brian Sutherland + +It was downloaded from http://pypi.python.org/pypi/zope.location + +Copyright: + +Upstream Author: Zope Corporation and Contributers + +Files contain this header: + +# Copyright (c) 2003 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.location-3.7.0.orig/debian/compat +++ zope.location-3.7.0/debian/compat @@ -0,0 +1 @@ +7 --- zope.location-3.7.0.orig/debian/changelog +++ zope.location-3.7.0/debian/changelog @@ -0,0 +1,79 @@ +zope.location (3.7.0-2) unstable; urgency=low + + * debian/control: build-depend on pyton-vab.pydeb >= 1.3.0-2. + (Closes: #552925) + + -- Fabio Tranchitella Sun, 08 Nov 2009 11:08:09 +0100 + +zope.location (3.7.0-1) unstable; urgency=low + + * New upstrem release. + + -- Fabio Tranchitella Mon, 12 Oct 2009 06:39:17 +0000 + +zope.location (3.6.0-2) unstable; urgency=low + + * Set section to zope. + * Rebuild against van.pydeb 1.3. + + -- Matthias Klose Sun, 13 Sep 2009 10:13:40 +0200 + +zope.location (3.6.0-1) unstable; urgency=low + + * New upstream release. + * Standards-Version: 3.8.3, no changed required. + * debian/control: added conflict with zope3. + + -- Fabio Tranchitella Fri, 28 Aug 2009 10:56:35 +0200 + +zope.location (3.5.4-1) unstable; urgency=low + + * New upstream release + + -- Brian Sutherland Mon, 08 Jun 2009 02:41:51 +0200 + +zope.location (3.5.2-2) unstable; urgency=low + + * Remove Cruft + + -- Brian Sutherland Sun, 07 Jun 2009 12:59:23 +0200 + +zope.location (3.5.2-1) unstable; urgency=low + + * New upstream release + * Convert to using python-van.pydeb. + * Change source package name to zope.proxy. + * Standards version 3.8.1. + * debhelper compat version -> 7 + * Maintainer as the zope team, uploader is me. + * build for all python versions. + * Improve description + * Add watch and copyright files + + -- Brian Sutherland Sun, 07 Jun 2009 11:59:49 +0200 + +python-zope.location (3.4.0-1ubuntu1.2) lenny; urgency=low + + * Non-maintainer upload. + * Rebuild for lenny + + -- Brian Sutherland Fri, 08 May 2009 11:17:41 +0000 + +python-zope.location (3.4.0-1ubuntu1.1) etch-devel; urgency=low + + * Non-maintainer upload. + * Rebuild for etch-devel + + -- Brian Sutherland Wed, 23 Jul 2008 09:44:09 +0200 + +python-zope.location (3.4.0-1ubuntu1) hardy; urgency=low + + * Re-build for hardy + + -- Ignas Mikalajunas Wed, 23 Apr 2008 11:19:17 +0300 + +python-zope.location (3.4.0-1) gutsy; urgency=low + + * Inital Release + + -- Brian Sutherland Thu, 8 Nov 2007 19:27:48 +0100 --- zope.location-3.7.0.orig/debian/watch +++ zope.location-3.7.0/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/z/zope.location/zope.location-(.*)\.tar\.gz --- zope.location-3.7.0.orig/debian/tests/control +++ zope.location-3.7.0/debian/tests/control @@ -0,0 +1,3 @@ +Tests: all +Features: no-build-needed +Depends: @, python-zope.testing --- zope.location-3.7.0.orig/debian/tests/all +++ zope.location-3.7.0/debian/tests/all @@ -0,0 +1,29 @@ +#!/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.location', + '--test-path', test_path + ]) +sys.exit(exitcode) +EOF + +for version in ${PYVERS}; do + python${version} ${TMPFILE} +done + +rm $TMPFILE