Source: pyqt-qwt
Version: 1.01.00-2
Severity: important

Dear maintainer,

while fixing #909732 (thank you for it!) you also introduced another,
possibly even more important, bug.

diff --git a/debian/python3-pyqt5.qwt.dirs b/debian/python3-pyqt5.qwt.dirs
index 
5710967458c97300f4c56370fed70d9714a1aa3e..f25b0fa628befbd2e45e16e9ef7c6a3c3af10ba8
 100644
--- a/debian/python3-pyqt5.qwt.dirs
+++ b/debian/python3-pyqt5.qwt.dirs
@@ -1 +1,2 @@
-/usr/lib/python3/dist-packages/PyQt5
+/usr/lib/python3.6/dist-packages/PyQt5
+/usr/lib/python3.7/dist-packages/PyQt5
diff --git a/debian/python3-pyqt5.qwt.install b/debian/python3-pyqt5.qwt.install
index 
3cfaf5a73a4ae023d1273928dce64b2ba07239c3..e35f744ac299711c145423f34068a593285b5fb2
 100644
--- a/debian/python3-pyqt5.qwt.install
+++ b/debian/python3-pyqt5.qwt.install
@@ -1 +1,3 @@
-debian/tmp/usr/lib/python3/dist-packages/PyQt5/* 
/usr/lib/python3/dist-packages/PyQt5
+#debian/tmp/usr/lib/python3/dist-packages/PyQt5/* 
/usr/lib/python3/dist-packages/PyQt5
+debian/tmp/usr/lib/python3.6/dist-packages/PyQt5/* 
/usr/lib/python3.6/dist-packages/PyQt5
+debian/tmp/usr/lib/python3.7/dist-packages/PyQt5/* 
/usr/lib/python3.7/dist-packages/PyQt5

That's going to become RC as soon as we stop having Python 3.6 as a
supported Python3 versions, which I hope will be the case in a few
months, as then your package would FTBFS.

I recommend that you instead:
 * drop the .dirs file, that is totally useless, as dh_instal takes care
   of creating the required diectories while installing files...
 * Use a * instead of specifying 3.6/3.7 in the .install file; I haven't
   tested whether that actually works; alternatively you could just
   directly place those files in d/rules here:
+               mv $(CURDIR)/debian/tmp/usr/lib/python3 \
+                  $(CURDIR)/debian/tmp/usr/lib/python$$py;\
   (in which case yes, you'd need to also manually create the target
   directory, but that still wouldn't be a job for d/*.dirs as you
   really want to not be involved every time we change the list of
   supported python3 versions…)

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature

Reply via email to