Bug#867610: python3-libvhdi: Missing python3 interpreter depends

2017-07-20 Thread Hilko Bengen
Hi Scott,

I have just uploaded a fixed package, but a question remains:

> As an added bonus, it would be nice if you could build python3-libvhdi
> for all supported python3 versions and not just the default. This
> eases python3 transitions considerably.

At some point I thought that building with all available Python versions
was no longer necessary with Python3 due to some ABI stability
guarantees...

Do I really need to rebuild the package or is there some dh_python magic
that edits the resulting pyvhdi.*.so file(s)?

Cheers,
-Hilko



Bug#867610: python3-libvhdi: Missing python3 interpreter depends

2017-07-07 Thread Scott Kitterman
Package: python3-libvhdi
Version: 20170223-1
Severity: serious
Tags: patch
Justification: Policy 3.5

python3-libvhdi requires a python3 interpreter to work, but does not have any
dependency on an interpreter due to an incorrect substitution variable.  Patch
attached.

As an added bonus, it would be nice if you could build python3-libvhdi for all
supported python3 versions and not just the default.  This eases python3
transitions considerably.

Please let me know if you do not want me to NMU the package.  I have no
immediate intent to do so, but if this is still open when we swith the default
python3 to python3.6, I will probably do it then.

Scott K
diff -Nru libvhdi-20170223/debian/changelog libvhdi-20170223/debian/changelog
--- libvhdi-20170223/debian/changelog	2017-02-25 04:59:34.0 -0500
+++ libvhdi-20170223/debian/changelog	2017-07-07 14:32:59.0 -0400
@@ -1,3 +1,10 @@
+libvhdi (20170223-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Correct python3-libvhdi depends
+
+ -- Scott Kitterman   Fri, 07 Jul 2017 14:32:37 -0400
+
 libvhdi (20170223-1) unstable; urgency=medium
 
   * New upstream version 20170223
diff -Nru libvhdi-20170223/debian/control libvhdi-20170223/debian/control
--- libvhdi-20170223/debian/control	2017-02-25 04:26:37.0 -0500
+++ libvhdi-20170223/debian/control	2017-07-07 14:33:23.0 -0400
@@ -68,7 +68,7 @@
 Package: python3-libvhdi
 Section: python
 Architecture: any
-Depends: libvhdi1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Depends: libvhdi1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}
 Description: Virtual Hard Disk image format access library -- Python 3 bindings
  libvhdi is a library to access the Virtual Hard Disk (VHD) image format.
  .