Package: dh-python Version: 2.20160818 Severity: important Dear Maintainer,
Whilst packaging SageMath (#841136) I ran into the following bug: dh_python2 fs:322: renaming module.so to .x86_64-linux-gnu.so This causes the resulting package to be unusable and I have to apply the following workaround: override_dh_python2: dh_python2 mv debian/sagemath/usr/lib/python2.7/dist-packages/sage/modules/.x86_64-linux-gnu.so \ debian/sagemath/usr/lib/python2.7/dist-packages/sage/modules/module.x86_64-linux-gnu.so After that my package works. This appears to be caused by some logic around line 465 of interpreter.py. Please fix this. X -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages dh-python depends on: pn python3:any <none> dh-python recommends no packages. Versions of packages dh-python suggests: ii libdpkg-perl 1.18.10 -- no debconf information