r1639 - in zodb/trunk/debian (10 files)
Fabio Tranchitella
kobold at alioth.debian.org
Thu Jun 18 15:39:14 UTC 2009
Date: Thursday, June 18, 2009 @ 15:39:12
Author: kobold
Revision: 1639
New upstream release.
Added:
zodb/trunk/debian/tests/
zodb/trunk/debian/tests/all
zodb/trunk/debian/tests/control
zodb/trunk/debian/watch
Modified:
zodb/trunk/debian/changelog
zodb/trunk/debian/compat
zodb/trunk/debian/control
zodb/trunk/debian/copyright
zodb/trunk/debian/rules
Deleted:
zodb/trunk/debian/patches/
Modified: zodb/trunk/debian/changelog
===================================================================
--- zodb/trunk/debian/changelog 2009-06-18 15:34:32 UTC (rev 1638)
+++ zodb/trunk/debian/changelog 2009-06-18 15:39:12 UTC (rev 1639)
@@ -1,3 +1,9 @@
+zodb (1:3.8.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Fabio Tranchitella <kobold at debian.org> 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.
Modified: zodb/trunk/debian/compat
===================================================================
--- zodb/trunk/debian/compat 2009-06-18 15:34:32 UTC (rev 1638)
+++ zodb/trunk/debian/compat 2009-06-18 15:39:12 UTC (rev 1639)
@@ -1 +1 @@
-4
+7
Modified: zodb/trunk/debian/control
===================================================================
--- zodb/trunk/debian/control 2009-06-18 15:34:32 UTC (rev 1638)
+++ zodb/trunk/debian/control 2009-06-18 15:39:12 UTC (rev 1639)
@@ -1,18 +1,19 @@
Source: zodb
Section: python
-Priority: optional
+Priority: extra
Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
-Uploaders: Fabio Tranchitella <kobold at debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), python-all-dev, python-central (>= 0.5.0), python (>= 2.3.5-7), dpatch
-Build-Conflicts: python-extclass, python2.3-extclass
-Standards-Version: 3.8.0
+Uploaders: Brian Sutherland <brian at vanguardistas.net>, Fabio Tranchitella <kobold at debian.org>
+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
+Standards-Version: 3.8.2
XS-Python-Version: all
+XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zodb/trunk
Package: python-zodb
-Architecture: any
-Depends: ${python:Depends}, python-zopeinterface, ${shlibs:Depends}
-Replaces: zope3, python2.4-zodb
-Conflicts: zope3, python2.4-zodb
+Architecture: all
+Depends: ${setuptools:Depends}, ${python:Depends}, ${shlibs:Depends}
+Provides: ${setuptools:Provides}, ${python:Provides}
+Suggests: ${setuptools:Suggests}
+Replaces: python-zodb, 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
Modified: zodb/trunk/debian/copyright
===================================================================
--- zodb/trunk/debian/copyright 2009-06-18 15:34:32 UTC (rev 1638)
+++ zodb/trunk/debian/copyright 2009-06-18 15:39:12 UTC (rev 1639)
@@ -1,14 +1,23 @@
-This is the Debian package of Zope ZODB.
+This package was debianized by Brian Sutherland <brian at vanguardistas.net>
-This package was put together by Fabio Tranchitella <kobold at debian.org>
-from sources obtained from:
+It was downloaded from http://pypi.python.org/pypi/ZODB3
- http://www.zope.org/Products/ZODB3.4
+Copyright:
-Author: Zope Corporation <info at zope.com>
+Upstream Author: Zope Corporation and Contributers <zope3-dev at zope.org>
-License:
+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
-------------------------------------
Modified: zodb/trunk/debian/rules
===================================================================
--- zodb/trunk/debian/rules 2009-06-18 15:34:32 UTC (rev 1638)
+++ zodb/trunk/debian/rules 2009-06-18 15:39:12 UTC (rev 1639)
@@ -1,86 +1,3 @@
#!/usr/bin/make -f
-PYVERS=$(shell pyversions -r debian/control)
-PY_INTERPRETER=/usr/bin/python
-
-clean: unpatch
- dh_testdir
- dh_testroot
- for python in $(PYVERS); \
- do $$python setup.py clean --all; \
- done
- rm -fr build-stamp install-stamp patch-stamp build
- find -name *.pyc -exec rm \{} \;
- dh_clean
-
-build: patch-stamp build-stamp
-build-stamp:
- touch build-stamp
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
- for python in $(PYVERS); do \
- $$python setup.py clean --all; \
- $$python setup.py build; \
- $$python setup.py install --root=$(CURDIR)/debian/python-zodb --no-compile --prefix=/usr ; \
- mkdir -p debian/python-zodb/usr/share/doc/python-zodb/ ; \
- mv debian/python-zodb/usr/lib/python/site-packages/zope/testing/testrunner-ex \
- debian/python-zodb/usr/share/doc/python-zodb/ ; \
- chmod 644 debian/python-zodb/usr/lib/$$python/site-packages/ZConfig/tests/runtests.bat ; \
- chmod 755 debian/python-zodb/usr/lib/$$python/site-packages/ZEO/zeoctl.py \
- debian/python-zodb/usr/lib/$$python/site-packages/ZConfig/tests/runtests.py \
- debian/python-zodb/usr/lib/$$python/site-packages/zdaemon/tests/nokill.py ; \
- mkdir debian/python-zodb/usr/lib/$$python/site-packages/ZODB/utilities ; \
- mv debian/python-zodb/usr/bin/* debian/python-zodb/usr/lib/$$python/site-packages/ZODB/utilities ; \
- rmdir debian/python-zodb/usr/bin ; \
- done
-
- : # Replace all '#!' calls to python with $(PY_INTERPRETER)
- : # and make them executable
- for i in `find debian/python-zodb -type f`; do \
- sed '1s,#!.*python[^ ]*\(.*\),#! $(PY_INTERPRETER)\1,' \
- $$i > $$i.temp; \
- if cmp --quiet $$i $$i.temp; then \
- rm -f $$i.temp; \
- else \
- mv -f $$i.temp $$i; \
- chmod 755 $$i; \
- echo "fixed interpreter: $$i"; \
- fi; \
- done
-
- # Remove zope.interface package
- rm -fr debian/python*/usr/lib/python*/site-packages/zope/interface/ \
- debian/python*/usr/lib/python*/site-packages/zope/__init__.py*
- # install completed!
- touch install-stamp
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs doc/*
- dh_installchangelogs
- dh_installdebconf
- dh_installman
- dh_installinit
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_pycentral
- dh_shlibdeps
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary-indep:
-
-binary: binary-arch binary-indep
-.PHONY: build clean binary-indep binary-arch binary install reinstall
-
-include /usr/share/dpatch/dpatch.make
+include /usr/share/python-van.pydeb/rules_templates/rules.1.mk
Added: zodb/trunk/debian/tests/all
===================================================================
--- zodb/trunk/debian/tests/all (rev 0)
+++ zodb/trunk/debian/tests/all 2009-06-18 15:39:12 UTC (rev 1639)
@@ -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
Added: zodb/trunk/debian/tests/control
===================================================================
--- zodb/trunk/debian/tests/control (rev 0)
+++ zodb/trunk/debian/tests/control 2009-06-18 15:39:12 UTC (rev 1639)
@@ -0,0 +1,3 @@
+Tests: all
+Features: no-build-needed
+Depends: @, python-zope.testing
Added: zodb/trunk/debian/watch
===================================================================
--- zodb/trunk/debian/watch (rev 0)
+++ zodb/trunk/debian/watch 2009-06-18 15:39:12 UTC (rev 1639)
@@ -0,0 +1,2 @@
+version=3
+http://pypi.python.org/packages/source/Z/ZODB3/ZODB3-([0-9.]*)\.tar\.gz
More information about the pkg-zope-commits
mailing list