diff --git a/debian/changelog b/debian/changelog index 9e807a9..0729fd7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +pcsc-lite (1.8.25-3) UNRELEASED; urgency=medium + + * Fix "Python2 removal in sid/bullseye". Use python3 for pcsc-spy + (Closes: #945721) + + -- Ludovic Rousseau Sat, 30 Nov 2019 17:53:16 +0100 + pcsc-lite (1.8.25-2) unstable; urgency=medium * rebuild for source only upload diff --git a/debian/control b/debian/control index f0584e5..c2aab70 100644 --- a/debian/control +++ b/debian/control @@ -26,7 +26,7 @@ Section: libdevel Architecture: any Depends: libpcsclite1 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} -Recommends: python +Recommends: python3 Description: Middleware to access a smart card using PC/SC (development files) The purpose of PC/SC Lite is to provide a Windows(R) SCard interface in a very small form factor for communicating to smart cards and diff --git a/debian/patches/01_python3 b/debian/patches/01_python3 new file mode 100644 index 0000000..92e37c4 --- /dev/null +++ b/debian/patches/01_python3 @@ -0,0 +1,12 @@ +Description: Use python3 instead of deprecated/removed python2 +Author: Ludovic Rousseau +Bug-Debian: https://bugs.debian.org/945721 + +--- a/src/spy/pcsc-spy ++++ b/src/spy/pcsc-spy +@@ -1,4 +1,4 @@ +-#! /usr/bin/python ++#! /usr/bin/python3 + + """ + # Display PC/SC functions arguments diff --git a/debian/patches/series b/debian/patches/series index e69de29..bbdfb87 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -0,0 +1 @@ +01_python3