r1928 - in zope.exceptions/trunk/debian (5 files)

kobold at users.alioth.debian.org kobold at users.alioth.debian.org
Wed Dec 30 21:26:51 UTC 2009


    Date: Wednesday, December 30, 2009 @ 21:26:50
  Author: kobold
Revision: 1928

Convert to debhelper 7 and the pydeb dh7 extension.

Modified:
  zope.exceptions/trunk/debian/changelog
  zope.exceptions/trunk/debian/compat
  zope.exceptions/trunk/debian/control
  zope.exceptions/trunk/debian/rules
  zope.exceptions/trunk/debian/tests/all

Modified: zope.exceptions/trunk/debian/changelog
===================================================================
--- zope.exceptions/trunk/debian/changelog	2009-12-30 21:21:36 UTC (rev 1927)
+++ zope.exceptions/trunk/debian/changelog	2009-12-30 21:26:50 UTC (rev 1928)
@@ -1,9 +1,13 @@
-zope.exceptions (3.5.2-6) UNRELEASED; urgency=low
+zope.exceptions (3.5.2-6) unstable; urgency=low
 
+  [ Brian Sutherland ]
   * debian/tests/control: depend on python-zope.testing 
 
- -- Brian Sutherland <brian at vanguardistas.net>  Mon, 23 Nov 2009 09:06:23 +0100
+  [ Fabio Tranchitella ]
+  * Convert to debhelper 7 and the pydeb dh7 extension.
 
+ -- Fabio Tranchitella <kobold at debian.org>  Wed, 30 Dec 2009 22:29:45 +0100
+
 zope.exceptions (3.5.2-5) unstable; urgency=low
 
   * debian/control: build-depend on pyton-vab.pydeb >= 1.3.0-2.

Modified: zope.exceptions/trunk/debian/compat
===================================================================
--- zope.exceptions/trunk/debian/compat	2009-12-30 21:21:36 UTC (rev 1927)
+++ zope.exceptions/trunk/debian/compat	2009-12-30 21:26:50 UTC (rev 1928)
@@ -1 +1 @@
-4
+7

Modified: zope.exceptions/trunk/debian/control
===================================================================
--- zope.exceptions/trunk/debian/control	2009-12-30 21:21:36 UTC (rev 1927)
+++ zope.exceptions/trunk/debian/control	2009-12-30 21:26:50 UTC (rev 1928)
@@ -3,17 +3,18 @@
 Priority: extra
 Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
 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 (>= 1.3.0-2)
+Build-Depends: debhelper (>= 7), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4)
 Standards-Version: 3.8.3
 XS-Python-Version: all
 XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zope.exceptions/trunk
 
 Package: python-zope.exceptions
 Architecture: all
-Depends: ${setuptools:Depends}, ${python:Depends}
-Provides: ${python:Provides}, ${setuptools:Provides}
-Suggests: ${setuptools:Suggests}
+Depends: ${pydeb:Depends}, ${python:Depends}, ${misc:Depends}
+Recommends: ${pydeb:Recommends}
+Suggests: ${pydeb:Suggests}
+Provides: ${pydeb:Provides}, ${python:Provides}
 XB-Python-Version: ${python:Versions}
-Description: Zope Exceptions
+Description: Zope exceptions
  This package contains exception interfaces and implementations which are so
  general purpose that they don't belong in Zope application-specific packages.

Modified: zope.exceptions/trunk/debian/rules
===================================================================
--- zope.exceptions/trunk/debian/rules	2009-12-30 21:21:36 UTC (rev 1927)
+++ zope.exceptions/trunk/debian/rules	2009-12-30 21:26:50 UTC (rev 1928)
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
-include /usr/share/python-van.pydeb/rules_templates/rules.1.mk
 
-dependencies-python%:
-	(echo -n 'setuptools:Depends=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --exclude-extra test) >> debian/$(package).substvars
+export PYDEB_SUGGESTS_EXTRAS=test
+
+%:
+	dh --with pydeb --with python-central $@

Modified: zope.exceptions/trunk/debian/tests/all
===================================================================
--- zope.exceptions/trunk/debian/tests/all	2009-12-30 21:21:36 UTC (rev 1927)
+++ zope.exceptions/trunk/debian/tests/all	2009-12-30 21:26:50 UTC (rev 1928)
@@ -1,27 +1,2 @@
 #!/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.exceptions',
-                '--test-path', test_path
-                ])
-sys.exit(exitcode)
-EOF
-
-for version in ${PYVERS}; do
-    python${version} ${TMPFILE}
-done
+. /usr/share/python-zope.testing/test_helper




More information about the pkg-zope-developers mailing list