Hi, Attached is the diff for my cfv 1.18-2.2 NMU.
-- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u cfv-1.18/debian/dirs cfv-1.18/debian/dirs
--- cfv-1.18/debian/dirs
+++ cfv-1.18/debian/dirs
@@ -3 +2,0 @@
-usr/lib/python2.3/site-packages
diff -u cfv-1.18/debian/rules cfv-1.18/debian/rules
--- cfv-1.18/debian/rules
+++ cfv-1.18/debian/rules
@@ -6,7 +6,7 @@
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
-export DH_COMPAT=1
+export DH_COMPAT=4
build: build-stamp
build-stamp:
@@ -19,7 +19,7 @@
rm -f build-stamp
# Add here commands to clean up after the build process.
- -$(MAKE) PYTHON=python2.3 distclean
+ -$(MAKE) distclean
dh_clean
@@ -28,8 +28,8 @@
dh_testroot
dh_clean -k
dh_installdirs
-
- $(MAKE) PYTHON=python2.3 install-wrapper-only DESTDIR=`pwd`/debian/tmp/
prefix=/usr mandir=/usr/share/man
+ mkdir -p `pwd`/debian/cfv/usr/lib/$(shell pyversions -d)/site-packages/
+ $(MAKE) install-wrapper-only DESTDIR=`pwd`/debian/cfv/ prefix=/usr
mandir=/usr/share/man
# Build architecture-independent files here.
@@ -38,6 +38,7 @@
dh_testroot
dh_installdocs
dh_installchangelogs Changelog
+ dh_pysupport
dh_link
dh_compress
dh_fixperms
diff -u cfv-1.18/debian/control cfv-1.18/debian/control
--- cfv-1.18/debian/control
+++ cfv-1.18/debian/control
@@ -2,12 +2,12 @@
Section: utils
Priority: optional
Maintainer: Stefan Alfredsson <[EMAIL PROTECTED]>
-Build-Depends: python2.3, debhelper
-Standards-Version: 3.6.1
+Build-Depends: python-dev, debhelper, python-support (>= 0.4)
+Standards-Version: 3.7.2
Package: cfv
Architecture: all
-Depends: python2.3
+Depends: ${python:Depends}
Suggests: python-imaging
Recommends: bittorrent | bittornado
Description: versatile file checksum creator and verifier
reverted:
--- cfv-1.18/debian/prerm
+++ cfv-1.18.orig/debian/prerm
@@ -1,13 +0,0 @@
-#! /bin/sh -e
-#
-# sample prerm script for Debian python packages.
-# Written 1998 by Gregor Hoffleit <[EMAIL PROTECTED]>.
-#
-
-PACKAGE=`basename $0 .prerm`
-
-dpkg --listfiles $PACKAGE |
- awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
- xargs rm -f >&2
-
-#DEBHELPER#
diff -u cfv-1.18/debian/changelog cfv-1.18/debian/changelog
--- cfv-1.18/debian/changelog
+++ cfv-1.18/debian/changelog
@@ -1,3 +1,12 @@
+cfv (1.18-2.2) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Update package to the last python policy (Closes: 380793)..
+ * Bump Standards-Version to 3.7.2.
+ * Bump DH_COMPAT to 4.
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]> Sun, 3 Sep 2006 22:54:37 +0200
+
cfv (1.18-2.1) unstable; urgency=medium
* Non-maintainer upload.
@@ -202,3 +210,0 @@
-Local variables:
-mode: debian-changelog
-End:
reverted:
--- cfv-1.18/debian/postinst
+++ cfv-1.18.orig/debian/postinst
@@ -1,31 +0,0 @@
-#! /bin/sh -e
-#
-# postinst script for Debian python packages.
-# Written 1998 by Gregor Hoffleit <[EMAIL PROTECTED]>.
-# Modified 2001 by Matthias Klose <[EMAIL PROTECTED]>
-
-PACKAGE=`basename $0 .postinst`
-PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{
- s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p
- q
-}'`
-PYTHON=python$PV
-DIRLIST="/usr/lib/python$PV/site-packages"
-
-case "$1" in
- configure|abort-upgrade|abort-remove|abort-deconfigure)
- for i in $DIRLIST ; do
- /usr/bin/$PYTHON -O /usr/lib/python$PV/compileall.py -q $i
- /usr/bin/$PYTHON /usr/lib/python$PV/compileall.py -q $i
- done
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
signature.asc
Description: Digital signature

