--- zodb-3.9.1.orig/debian/rules +++ zodb-3.9.1/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +include /usr/share/python-van.pydeb/rules_templates/rules.1.mk + +post-install-python%: + for i in fsdump fsoids fsrefs fstail mkzeoinst repozo runzeo strip_versions zeoctl zeopack zeopasswd; do \ + mv debian/$(package)/usr/bin/$$i debian/$(package)/usr/bin/$${i}$*; \ + done + sed -s -i -e 's/python2.3/python/g' debian/$(package)/$(call py_libdir,$*)/ZEO/zeoctl.py + sed -s -i -e 's/python2.3/python/g' debian/$(package)/$(call py_libdir,$*)/ZEO/scripts/*.py + sed -s -i -e 's/python2.3/python/g' debian/$(package)/$(call py_libdir,$*)/ZODB/scripts/*.py --- zodb-3.9.1.orig/debian/control +++ zodb-3.9.1/debian/control @@ -0,0 +1,25 @@ +Source: zodb +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.6b9), python-van.pydeb +Standards-Version: 3.8.3 +XS-Python-Version: all +XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zodb/trunk + +Package: python-zodb +Architecture: any +Depends: ${setuptools:Depends}, ${python:Depends}, ${shlibs:Depends} +Provides: ${setuptools:Provides}, ${python:Provides} +Suggests: ${setuptools:Suggests} +Replaces: zope3, python2.4-zodb +XB-Python-Version: ${python:Versions} +Description: set of tools for using the Zope Object Database (ZODB) + The Zope Object Database provides an object-oriented database for + Python that provides a high-degree of transparency. Applications + can take advantage of object database features with few, if any, + changes to application logic. + . + ZODB includes features such as a pluggable storage interface, + rich transaction support, and undo. --- zodb-3.9.1.orig/debian/copyright +++ zodb-3.9.1/debian/copyright @@ -0,0 +1,74 @@ +This package was debianized by Brian Sutherland + +It was downloaded from http://pypi.python.org/pypi/ZODB3 + +Copyright: + +Upstream Author: Zope Corporation and Contributers + +Files contain this header: + +# Copyright (c) 2001, 2002 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. --- zodb-3.9.1.orig/debian/compat +++ zodb-3.9.1/debian/compat @@ -0,0 +1 @@ +7 --- zodb-3.9.1.orig/debian/changelog +++ zodb-3.9.1/debian/changelog @@ -0,0 +1,166 @@ +zodb (1:3.9.1-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Mon, 12 Oct 2009 06:41:05 +0000 + +zodb (1:3.9.0-2) unstable; urgency=low + + * Set section to zope. + * Rebuild against van.pydeb 1.3. + + -- Matthias Klose Sat, 12 Sep 2009 21:33:13 +0200 + +zodb (1:3.9.0-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Tue, 08 Sep 2009 23:36:22 +0200 + +zodb (1:3.8.3-2) unstable; urgency=low + + * debian/rules: fixed a bashism. (Closes: #545628, #545150) + + -- Fabio Tranchitella Tue, 08 Sep 2009 23:30:16 +0200 + +zodb (1:3.8.3-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Wed, 02 Sep 2009 07:19:54 +0200 + +zodb (1:3.8.2-2) unstable; urgency=low + + * Get rid of the python2.3 dependency patching the ZEO and ZODB scripts to + not hardcode python2.3. (Closes: #541972) + + -- Fabio Tranchitella Sat, 29 Aug 2009 16:03:01 +0200 + +zodb (1:3.8.2-1) unstable; urgency=high + + * New upstream release, fixes security issues. (Closes: #540465) + * Standards-Version: 3.8.3, no changed required. + * A rebuild is enough to get rid of the python2.3 dependency. + (Closes: #541972) + + -- Fabio Tranchitella Fri, 28 Aug 2009 11:06:03 +0200 + +zodb (1:3.8.1-1) unstable; urgency=low + + * New upstream release. + + -- Fabio Tranchitella Thu, 18 Jun 2009 17:37:28 +0200 + +zodb (1:3.6.0-4) unstable; urgency=low + + * debian/patches/py2.6.dpatch: updated, to make it really working. + * debian/rules: added --prefix=/usr to setup.py. + + -- Fabio Tranchitella Tue, 07 Apr 2009 11:33:08 +0200 + +zodb (1:3.6.0-3) unstable; urgency=low + + * debian/control: build the package for all the available python versions. + (Closes: #472392) + + -- Fabio Tranchitella Sun, 29 Mar 2009 21:40:43 +0200 + +zodb (1:3.6.0-2) unstable; urgency=low + + * debian/rules: fixed with the new binary package name. (Closes: #463259) + + -- Fabio Tranchitella Tue, 05 Feb 2008 15:05:40 +0100 + +zodb (1:3.6.0-1) unstable; urgency=low + + * Reverted back to ZODB 3.6, it wasn't a great idea to upload 3.8.0 because + it requires some of the zope3 infrastructure and we don't have those + packages in the archive. (Closes: #463259) + * debian/control: renamed python-zodb to python2.4-zodb to make it explicit + that we only support python2.4 at the moment. + + -- Fabio Tranchitella Wed, 30 Jan 2008 19:05:55 +0100 + +zodb (3.8.0-1) unstable; urgency=low + + * New upstream release, which is compatible with both python2.4 and + python2.5. (Closes: #462076) + * debian/control: set Standards-Version to 3.7.3, no changes required. + + -- Fabio Tranchitella Tue, 29 Jan 2008 11:51:16 +0100 + +zodb (3.6.0-8) unstable; urgency=low + + * debian/patches/python-zodb-x86_64: not applied anymore. + * debian/control: support only python2.4 (and not python2.5); according to + Christian Theune, upstream developer, python2.5 is not supported in ZODB + 3.6 and it is better to drop it. + + -- Fabio Tranchitella Wed, 05 Dec 2007 19:23:44 +0100 + +zodb (3.6.0-7) unstable; urgency=low + + * debian/patches/python-zodb-x86_64.dpatch: Persistent and BTree modules + don't work properly in x86_64. (Closes: #454196) + + -- Fabio Tranchitella Tue, 04 Dec 2007 09:52:47 +0100 + +zodb (3.6.0-6) unstable; urgency=high + + * debian/control: conflict with zope3. (Closes: #411472) + + -- Fabio Tranchitella Mon, 12 Mar 2007 07:14:00 +0100 + +zodb (3.6.0-5) unstable; urgency=low + + * Drop dependencies on versioned interpreters. + + -- Matthias Klose Fri, 27 Oct 2006 01:46:32 +0200 + +zodb (3.6.0-4) unstable; urgency=low + + * Python policy transition. (Closes: #375357) + + -- Fabio Tranchitella Wed, 28 Jun 2006 22:55:40 +0200 + +zodb (3.6.0-3) unstable; urgency=low + + * Really remove the zope.interface package, last upload wasn't enough. + + -- Fabio Tranchitella Mon, 10 Apr 2006 10:36:11 +0000 + +zodb (3.6.0-2) unstable; urgency=low + + * Removed the already-present-in-the-archive zope.interface package, + added depends on python2.[34]-zopeinterface package. (Closes: #360493) + + -- Fabio Tranchitella Fri, 7 Apr 2006 08:17:35 +0000 + +zodb (3.6.0-1) unstable; urgency=low + + * New upstream release. (Closes: #346331) + * debian/control: python variants won't conflict anymore: the utility + scripts won't be installed under /usr/bin. (Closes: #346330) + + -- Fabio Tranchitella Sun, 15 Jan 2006 21:33:01 +0000 + +zodb (3.5.1-1) unstable; urgency=low + + * New upstream release. (Closes: #328892) + * Source package renamed to zodb. + + -- Fabio Tranchitella Thu, 24 Nov 2005 15:16:17 +0000 + +zodb3.4 (3.4.1-2) unstable; urgency=low + + * debian/control: build-depends on python (required by dh_python). + (Closes: #324578) + + -- Fabio Tranchitella Tue, 23 Aug 2005 09:10:29 +0000 + +zodb3.4 (3.4.1-1) unstable; urgency=low + + * Initial release (Closes: #158552, #159072, #188435) + + -- Fabio Tranchitella Thu, 18 Aug 2005 21:49:17 +0000 + --- zodb-3.9.1.orig/debian/watch +++ zodb-3.9.1/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pypi.python.org/packages/source/Z/ZODB3/ZODB3-([0-9.]*)\.tar\.gz --- zodb-3.9.1.orig/debian/tests/control +++ zodb-3.9.1/debian/tests/control @@ -0,0 +1,3 @@ +Tests: all +Features: no-build-needed +Depends: @, python-zope.testing --- zodb-3.9.1.orig/debian/tests/all +++ zodb-3.9.1/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', 'ZODB3', + '--test-path', test_path + ]) +sys.exit(exitcode) +EOF + +for version in ${PYVERS}; do + python${version} ${TMPFILE} +done + +rm $TMPFILE