diff options
Diffstat (limited to 'meta-oe/recipes-support/pcsc-lite/pcsc-lite')
-rw-r--r-- | meta-oe/recipes-support/pcsc-lite/pcsc-lite/0001-pcsc-spy-use-python3-only.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta-oe/recipes-support/pcsc-lite/pcsc-lite/0001-pcsc-spy-use-python3-only.patch b/meta-oe/recipes-support/pcsc-lite/pcsc-lite/0001-pcsc-spy-use-python3-only.patch deleted file mode 100644 index 3e7b0adda6..0000000000 --- a/meta-oe/recipes-support/pcsc-lite/pcsc-lite/0001-pcsc-spy-use-python3-only.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 75dd98876951d86890ceb30be521de57fd31e3c7 Mon Sep 17 00:00:00 2001 -From: Andrey Zhizhikin <andrey.z@gmail.com> -Date: Mon, 27 Jan 2020 13:27:12 +0000 -Subject: [PATCH] pcsc-spy: use python3 only - -Python2 has been EOL and most distributions would not provide any -support for it anymore. Since Python3 is available in all distributions -now, switch pcsc-spy to use it exclusively. - -Upstream-Status: Pending - -Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> ---- - src/spy/pcsc-spy | 9 ++------- - 1 file changed, 2 insertions(+), 7 deletions(-) - -diff --git a/src/spy/pcsc-spy b/src/spy/pcsc-spy -index 85222c6..965138e 100755 ---- a/src/spy/pcsc-spy -+++ b/src/spy/pcsc-spy -@@ -1,4 +1,4 @@ --#! /usr/bin/python -+#!/usr/bin/env python3 - - """ - # Display PC/SC functions arguments -@@ -22,12 +22,7 @@ from __future__ import print_function - import os - import signal - import time --try: -- # for Python3 -- from queue import Queue --except ImportError: -- # for Python2 -- from Queue import Queue -+from queue import Queue - from threading import Thread - from operator import attrgetter - --- -2.17.1 - |