Package: python3
Version: 3.1.3-12+squeeze1
Severity: normal

Currently it is not possible to use dh_python3 to backport ZNC from 
experimental, as dh_python3 will implode with a KeyError.
The below patch was necessary to fix this. 

I found out later however, that even when fixed it was generating unusable 
packages however.
This is because it tampers with filenames, injecting the string 'cpython-31mu' 
in between the filename and .so.
This renders the generated ZNC deb unusable, as it cannot find any of it's 
plugins. Please remove this behaviour.

--- dh_python3  2012-11-21 16:55:09.766037332 +1300
+++ v1.py       2012-11-21 16:54:49.893036989 +1300
@@ -211,7 +211,7 @@
                     tagver = getver("%s.%s" % (tagver[0], tagver[1]))
                     (r if public_dir else
                      r['private_dirs'].setdefault(private_dir, {}))\
-                    .setdefault('ext', set()).add(tagver)
+                    ['ext'].add(tagver)
                     continue
                 elif fext == 'py':
                     (r if public_dir else

-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32.33-kvm-i386-20111128-dirty (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to