r1940 - in zope.schema/trunk/debian (changelog compat rules tests/all)
kobold at users.alioth.debian.org
kobold at users.alioth.debian.org
Tue Jan 5 20:16:17 UTC 2010
Date: Tuesday, January 5, 2010 @ 20:16:16
Author: kobold
Revision: 1940
Convert to debhelper 7 and the pydeb dh7 extension.
Modified:
zope.schema/trunk/debian/changelog
zope.schema/trunk/debian/compat
zope.schema/trunk/debian/rules
zope.schema/trunk/debian/tests/all
Modified: zope.schema/trunk/debian/changelog
===================================================================
--- zope.schema/trunk/debian/changelog 2010-01-05 20:12:48 UTC (rev 1939)
+++ zope.schema/trunk/debian/changelog 2010-01-05 20:16:16 UTC (rev 1940)
@@ -1,3 +1,9 @@
+zope.schema (3.5.4-7) unstable; urgency=low
+
+ * Convert to debhelper 7 and the pydeb dh7 extension.
+
+ -- Fabio Tranchitella <kobold at debian.org> Tue, 05 Jan 2010 21:17:15 +0100
+
zope.schema (3.5.4-6) unstable; urgency=low
[ Matthias Klose ]
Modified: zope.schema/trunk/debian/compat
===================================================================
--- zope.schema/trunk/debian/compat 2010-01-05 20:12:48 UTC (rev 1939)
+++ zope.schema/trunk/debian/compat 2010-01-05 20:16:16 UTC (rev 1940)
@@ -1 +1 @@
-4
+7
Modified: zope.schema/trunk/debian/rules
===================================================================
--- zope.schema/trunk/debian/rules 2010-01-05 20:12:48 UTC (rev 1939)
+++ zope.schema/trunk/debian/rules 2010-01-05 20:16:16 UTC (rev 1940)
@@ -1,9 +1,7 @@
#!/usr/bin/make -f
-include /usr/share/python-van.pydeb/rules_templates/rules.1.mk
+export PYDEB_RECOMMENDS_EXTRAS=hook
+export PYDEB_SUGGESTS_EXTRAS="test docs"
-dependencies-python%:
- (echo -n 'setuptools:Depends=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --exclude-extra hook --exclude-extra docs) >> debian/$(package).substvars
- (echo -n 'setuptools:Provides=' && van-pydeb provides --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --exclude-extra hook --exclude-extra docs) >> debian/$(package).substvars
- # docs and test to suggests
- (echo -n 'setuptools:Suggests=' && van-pydeb depends --egg-info debian/$(package)/$(call py_libdir,$*)/$(py_package).egg-info --extra docs) >> debian/$(package).substvars
+%:
+ dh --with pydeb --with python-central $@
Modified: zope.schema/trunk/debian/tests/all
===================================================================
--- zope.schema/trunk/debian/tests/all 2010-01-05 20:12:48 UTC (rev 1939)
+++ zope.schema/trunk/debian/tests/all 2010-01-05 20:16:16 UTC (rev 1940)
@@ -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.schema',
- '--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