tag 380970 - help tag 380970 + patch thanks Hi,
Attached is the diff for the help your requested. Please do consider that that patch also addresses a couple of problems with your debian/control (lintian warnings). Cheers, -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u testresources-0.1/debian/rules testresources-0.1/debian/rules
--- testresources-0.1/debian/rules
+++ testresources-0.1/debian/rules
@@ -1,13 +1,9 @@
#!/usr/bin/make -f
+DEB_PYTHON_SYSTEM=pysupport
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
-DEB_PYTHON_COMPILE_VERSION=2.4
-
-clean::
- -rm -rf build
- find . -name "*.pyc" -print0 | xargs -0 rm -f
-
common-post-build-indep::
PYTHONPATH=lib ./test_all.py
diff -u testresources-0.1/debian/control testresources-0.1/debian/control
--- testresources-0.1/debian/control
+++ testresources-0.1/debian/control
@@ -5,12 +5,17 @@
-Build-Depends: debhelper (>= 5), cdbs
-Build-Depends-Indep: python2.4-docutils, python2.4, python2.4-dev
-Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 5), cdbs, python-all-dev
+Build-Depends-Indep: python-docutils, python-support (>= 0.3)
+Standards-Version: 3.7.2
-Package: python2.4-testresources
+Package: python-testresources
Architecture: all
-Depends: python2.4
-Description: testresources, a PyUnit extension for managing expensive test
fixtures.
- PyUnit extension to manage the initialisation and lifetime of expensive test
- fixtures. For exmaple reference databases are often only need to be
constructed
- once but standard test isolation causes them to be constructed for every
fixture,
- making test execution very slow.
+Depends: ${python:Depends}
+Provides: ${python:Provides}
+Conflicts: python2.4-testresources (<< 0.1-1.2)
+Replaces: python2.4-testresources (<< 0.1-1.2)
+Description: a PyUnit extension for managing expensive test fixtures
+ PyUnit extension to manage the initialisation and lifetime of expensive
+ test fixtures.
+ .
+ For example reference databases are often only need to be constructed once
+ but standard test isolation causes them to be constructed for every
+ fixture, making test execution very slow.
diff -u testresources-0.1/debian/changelog testresources-0.1/debian/changelog
--- testresources-0.1/debian/changelog
+++ testresources-0.1/debian/changelog
@@ -1,3 +1,10 @@
+testresources (0.1-1.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update package to the new python policy (Closes: #380970).
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]> Tue, 1 Aug 2006 20:49:11 +0200
+
testresources (0.1-1.1) unstable; urgency=medium
* Non-maintainer upload.
only in patch2:
unchanged:
--- testresources-0.1.orig/debian/pycompat
+++ testresources-0.1/debian/pycompat
@@ -0,0 +1 @@
+2
only in patch2:
unchanged:
--- testresources-0.1.orig/debian/pyversions
+++ testresources-0.1/debian/pyversions
@@ -0,0 +1 @@
+2.4-
signature.asc
Description: Digital signature

