Package: python3-qrencode Version: 1.2-2 Severity: serious Tags: patch Hi,
Looks like we are missing PIL dependencies due to use of Python 2.x substvars for the Python 3 package: $ apt install python3-qrencode $ ipython In [1]: import qrencode --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-e99389893366> in <module>() ----> 1 import qrencode /usr/lib/python3/dist-packages/qrencode/__init__.py in <module>() 1 import sys 2 from ._qrencode import encode as _encode ----> 3 from PIL import Image 4 5 if sys.version_info >= (3,): ModuleNotFoundError: No module named 'PIL' Patch attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
diff --git a/debian/control b/debian/control index 17f84c3..16a948a 100644 --- a/debian/control +++ b/debian/control @@ -29,9 +29,9 @@ Description: Python bindings for the Qrencode QR Code generator library Package: python3-qrencode Architecture: any Depends: ${misc:Depends}, - ${python:Depends}, + ${python3:Depends}, ${shlibs:Depends}, -Provides: ${python:Provides}, +Provides: ${python3:Provides}, Description: Python bindings for the Qrencode QR Code generator library This package contains modules that allow you to use the Qrencode QR Code generator library in Python programs.