Hi, Attached is the diff for my aap 1.072-1.1 NMU.
-- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u aap-1.072/debian/control aap-1.072/debian/control --- aap-1.072/debian/control +++ aap-1.072/debian/control @@ -2,13 +2,14 @@ Section: devel Priority: optional Maintainer: Cory Dodt <[EMAIL PROTECTED]> -Build-Depends-Indep: debhelper (>> 3.0.0), python (>> 2.2) -Standards-Version: 3.6.1 +Build-Depends: debhelper (>> 5) +Build-Depends-Indep: python-dev, python-support (>= 0.4.0) +Standards-Version: 3.7.2 Package: aap Suggests: aap-doc Architecture: all -Depends: python +Depends: ${python:Depends} Description: make-like "expert system" for building software A-A-P is a dependency rule-based software build system like make. It eliminates many of the warts of GNU Make and can evaluate Python code diff -u aap-1.072/debian/prerm aap-1.072/debian/prerm --- aap-1.072/debian/prerm +++ aap-1.072/debian/prerm @@ -20,7 +20,6 @@ case "$1" in remove|upgrade|deconfigure) rm -f /usr/doc/pkg - find /usr/lib/aap -name '*.pyc' -exec rm -f {} \; ;; failed-upgrade) diff -u aap-1.072/debian/rules aap-1.072/debian/rules --- aap-1.072/debian/rules +++ aap-1.072/debian/rules @@ -8,8 +8,7 @@ # This is the debhelper compatibility version to use. export MAKE=./aap -export DH_COMPAT=3 - +export DH_COMPAT=5 configure: configure-stamp @@ -97,6 +96,7 @@ dh_installchangelogs dh_link dh_strip + dh_pysupport dh_compress dh_fixperms dh_installdeb diff -u aap-1.072/debian/changelog aap-1.072/debian/changelog --- aap-1.072/debian/changelog +++ aap-1.072/debian/changelog @@ -1,3 +1,16 @@ +aap (1.072-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Bump Standards-Version to 3.7.2. + * Update package to the last python policy (Closes: #380755): + + use dh_pysupport. + + remove old ways to bytecompile. + * debhelper changes: + + Bump DH_COMPAT to 5. + + Move debhelper into B-D instead of B-D-I. + + -- Pierre Habouzit <[EMAIL PROTECTED]> Thu, 10 Aug 2006 17:36:21 +0200 + aap (1.072-1) unstable; urgency=low * New upstream reverted: --- aap-1.072/debian/postinst +++ aap-1.072.orig/debian/postinst @@ -1,53 +0,0 @@ -#! /bin/sh -# postinst script for aap -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * <postinst> `configure' <most-recently-configured-version> -# * <old-postinst> `abort-upgrade' <new version> -# * <conflictor's-postinst> `abort-remove' `in-favour' <package> -# <new-version> -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' -# <failed-install-package> <version> `removing' -# <conflicting-package> <version> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# quoting from the policy: -# Any necessary prompting should almost always be confined to the -# post-installation script, and should be protected with a conditional -# so that unnecessary prompting doesn't happen if a package's -# installation fails and the `postinst' is called with `abort-upgrade', -# `abort-remove' or `abort-deconfigure'. - -case "$1" in - configure) - python - >/dev/null << EOF -import compileall -compileall.compile_dir("/usr/lib/aap") -EOF - - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - find /usr/lib/aap -name '*.pyc' -exec rm -f {} \; - - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - only in patch2: unchanged: --- aap-1.072.orig/debian/pyversions +++ aap-1.072/debian/pyversions @@ -0,0 +1 @@ +2.2-
signature.asc
Description: Digital signature