Le sam 12 août 2006 14:54, Junichi Uekawa a écrit : > > Attached is the diff for my ecasound2.2 2.4.4-2.1 NMU. > > Note that what you've uploaded as NMU doesn't install. > > /me is pissed off.
*CRAP* I'm stupid, your old prerm/postinst are now useless as dh_pysupport takes care of the byte-compiling, you jsut have to remove them. attached is the `nmudiff` for that against my previous NMU. I'm really sorry, I forgot to do that check for your package :( I've tested, the package installs just fine. and the python extension too: Python 2.3.5 (#2, Jul 30 2006, 18:28:51) [GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ecacontrol >>> dir (ecacontrol) ['ECA_CONTROL_INTERFACE', 'EIAM', 'Popen3', '__builtins__', '__doc__', '__file__', '__name__', '_ecasound', 'authors', 'base', 'eci_str_sync_lost', 'expand', 'expand_eiam_response', 'handler', 'main', 'os', 'parse', 'parse_eiam_response', 're', 'select', 'signal', 'string', 'string_argument', 'time', 'type_override'] again I do apologies for that stupid mistake. I can do an NMU again that fixes that, but I assume you prefer do it yourself, so I just send you the patch in that mail. -- ·O· Pierre Habouzit ··O [EMAIL PROTECTED] OOO http://www.madism.org
diff -u ecasound2.2-2.4.4/debian/changelog ecasound2.2-2.4.4/debian/changelog
--- ecasound2.2-2.4.4/debian/changelog
+++ ecasound2.2-2.4.4/debian/changelog
@@ -1,3 +1,11 @@
+ecasound2.2 (2.4.4-2.2) unstable; urgency=low
+
+ * Non-maintainer upload (fixing my own mess).
+ * Sorry for the last upload, I did forgot to remove the custom postinst, and
+ prerm.
+
+ -- Pierre Habouzit <[EMAIL PROTECTED]> Sat, 12 Aug 2006 16:29:15 +0200
+
ecasound2.2 (2.4.4-2.1) unstable; urgency=low
* Non-maintainer upload.
reverted:
--- ecasound2.2-2.4.4/debian/python-ecasound2.2.postinst
+++ ecasound2.2-2.4.4.orig/debian/python-ecasound2.2.postinst
@@ -1,31 +0,0 @@
-#! /bin/bash -e
-#
-# Debian prerm script for Python x.y hierarchical modules
-# Written by Gregor Hoffleit <[EMAIL PROTECTED]>
-# Extended by Matthias Klose <[EMAIL PROTECTED]>
-# and I believe I might have done some touching <[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
-}'`
-DIRLIST="/usr/lib/python$PV"
-
-case "$1" in
- configure|abort-upgrade|abort-remove|abort-deconfigure)
- for i in $DIRLIST ; do
- python -O /usr/lib/python$PV/compileall.py -q $i
- python /usr/lib/python$PV/compileall.py -q $i
- done
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
reverted:
--- ecasound2.2-2.4.4/debian/python-ecasound2.2.prerm
+++ ecasound2.2-2.4.4.orig/debian/python-ecasound2.2.prerm
@@ -1,19 +0,0 @@
-#! /bin/bash -e
-#
-# Debian prerm script for Python x.y hierarchical modules
-# Written by Gregor Hoffleit <[EMAIL PROTECTED]>
-# Extended by Matthias Klose <[EMAIL PROTECTED]>
-# touched a little by Junichi Uekawa <[EMAIL PROTECTED]>
-#
-
-PACKAGE=`basename $0 .prerm`
-PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{
- s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p
- q
-}'`
-
-dpkg --listfiles $PACKAGE |
- awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
- xargs rm -f >&2
-
-#DEBHELPER#
pgpvSQAPVtPSv.pgp
Description: PGP signature

