Package: python
Version: 2.7.3-2
Severity: important
Sometimes dh_python2 ignores private directories if the passed path ends
with a slash. Example:
$ apt-get source -qq xdot
dpkg-source: info: extracting xdot in xdot-0.4
dpkg-source: info: unpacking xdot_0.4.orig.tar.gz
dpkg-source: info: unpacking xdot_0.4-2.debian.tar.gz
dpkg-source: info: applying private-modules
$ cd xdot-0.4/
$ dpkg-buildpackage -b
[...]
$ dh_python2 -v /usr/share/xdot 2>&1 | grep -o '.private_dir.*'
'private_dirs': {'/usr/share/xdot': {'compile': True}}}
$ dh_python2 -v /usr/share/xdot/ 2>&1 | grep -o '.private_dir.*'
'private_dirs': {}}
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python depends on:
ii python-minimal 2.7.3-2
ii python2.7 2.7.3-4
--
Jakub Wilk
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]