Hi, Attached is the diff for my cx-bsdiff 1.1-1.1 NMU.
-- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u cx-bsdiff-1.1/debian/changelog cx-bsdiff-1.1/debian/changelog
--- cx-bsdiff-1.1/debian/changelog
+++ cx-bsdiff-1.1/debian/changelog
@@ -1,3 +1,12 @@
+cx-bsdiff (1.1-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update package to the last python policy (Closes: #380764)
+ * Build package for all python versions.
+ * Bump Standards-Version to 3.7.2.
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]> Sun, 13 Aug 2006 13:52:44 +0200
+
cx-bsdiff (1.1-1) unstable; urgency=low
* Initial release.
diff -u cx-bsdiff-1.1/debian/control cx-bsdiff-1.1/debian/control
--- cx-bsdiff-1.1/debian/control
+++ cx-bsdiff-1.1/debian/control
@@ -2,14 +2,16 @@
Section: python
Priority: optional
Maintainer: Daniel Baumann <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), python-dev
-Standards-Version: 3.6.2
+Build-Depends: debhelper (>= 4.0.0), python-all-dev, python-support (>= 0.4.0)
+Standards-Version: 3.7.2
-Package: python2.3-bsdiff
+Package: python-bsdiff
Section: python
Architecture: any
-Depends: python
-Provides: python-bsdiff
+Depends: ${python:Depends}
+Provides: ${python:Provides}
+Replaces: python2.3-bsdiff (<< 1.1-1.1)
+Conflicts: python2.3-bsdiff (<< 1.1-1.1)
Description: generate/apply a patch between two binary files (python module)
bsdiff and bspatch are tools for building and applying patches to binary
files.
By using suffix sorting (specifically, Larsson and Sadakane's qsufsort) and
diff -u cx-bsdiff-1.1/debian/rules cx-bsdiff-1.1/debian/rules
--- cx-bsdiff-1.1/debian/rules
+++ cx-bsdiff-1.1/debian/rules
@@ -3,12 +3,15 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+PYVERS := $(shell pyversions -s)
+
build: build-stamp
build-stamp:
dh_testdir
# Building package
- python setup.py build
+ set -e; for py in $(PYVERS); do \
+ $$py setup.py build; done
touch build-stamp
@@ -18,7 +21,8 @@
rm -f build-stamp
# Cleaning package
- python setup.py clean
+ for py in $(PYVERS); do \
+ python setup.py clean; done
rm -rf build
dh_clean
@@ -30,12 +34,14 @@
dh_installdirs
# Installing package
- python setup.py install --prefix=$(CURDIR)/debian/python2.3-bsdiff/usr
+ set -e; for py in $(PYVERS); do \
+ $$py setup.py install --prefix=$(CURDIR)/debian/python-bsdiff/usr; \
+ done
- install -d -m 755 debian/python2.3-bsdiff/usr/share/doc/python2.3-bsdiff
- cp -a html debian/python2.3-bsdiff/usr/share/doc/python2.3-bsdiff
+ install -d -m 755 debian/python-bsdiff/usr/share/doc/python-bsdiff
+ cp -a html debian/python-bsdiff/usr/share/doc/python-bsdiff
- install -D -m 644 debian/lintian
debian/python2.3-bsdiff/usr/share/lintian/overrides/python2.3-bsdiff
+ install -D -m 644 debian/lintian
debian/python-bsdiff/usr/share/lintian/overrides/python-bsdiff
binary-indep: build install
@@ -47,6 +53,7 @@
dh_install
dh_link
dh_strip
+ dh_pysupport
dh_compress -X/usr/share/doc/python2.3-bsdiff/html
dh_fixperms
dh_installdeb
diff -u cx-bsdiff-1.1/debian/lintian cx-bsdiff-1.1/debian/lintian
--- cx-bsdiff-1.1/debian/lintian
+++ cx-bsdiff-1.1/debian/lintian
@@ -1 +1 @@
-python2.3-bsdiff: copyright-should-refer-to-common-license-file-for-gpl
+python-bsdiff: copyright-should-refer-to-common-license-file-for-gpl
signature.asc
Description: Digital signature

