Fix "Python2 removal in sid/bullseye". Use python3 for pcsc-spy

(Closes: #945721)
This commit is contained in:
Ludovic Rousseau 2019-11-30 17:56:39 +01:00
parent 1a753d48a4
commit f95c63cd8c
4 changed files with 21 additions and 1 deletions

7
debian/changelog vendored
View File

@ -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 <rousseau@debian.org> Sat, 30 Nov 2019 17:53:16 +0100
pcsc-lite (1.8.25-2) unstable; urgency=medium
* rebuild for source only upload

2
debian/control vendored
View File

@ -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

12
debian/patches/01_python3 vendored Normal file
View File

@ -0,0 +1,12 @@
Description: Use python3 instead of deprecated/removed python2
Author: Ludovic Rousseau <rousseau@debian.org>
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

View File

@ -0,0 +1 @@
01_python3