pcsc-lite: use python3
PATCH 1/1 pcsc-lite: use python3
Signed-off-by Laurent Bonnans <[email protected]>
--- .../0001-Run-pcsc-spy-with-python3.patch | 25 +++++++++++++++++++ .../pcsc-lite/pcsc-lite_1.8.26.bb | 5 +++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/pcsc-lite/files/0001-Run-pcsc-spy-with-python3.patch
meta-oe/recipes-support/pcsc-lite/files/0001-Run-pcsc-spy-with-python3.patch new file +25 -0
@@ -0,0 +1,25 @@ +From ec4c2d9c8fe85551d773f50bfa8c899cb5983c03 Mon Sep 17 00:00:00 2001 +From: Laurent Bonnans <[email protected]> +Date: Mon, 27 Jan 2020 12:38:20 +0100 +Subject: [PATCH] Run pcsc-spy with python3 + +Upstream-status: Pending + +Signed-off-by: Laurent Bonnans <[email protected]> +--- + src/spy/pcsc-spy | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/spy/pcsc-spy b/src/spy/pcsc-spy +index 85222c6..bcb52f7 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 +-- +2.24.1 +
meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.26.bb +4 -1
@@ -13,6 +13,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=628c01ba985ecfa21677f5ee2d5202f6" SRC_URI = "https://pcsclite.apdu.fr/files/${BP}.tar.bz2" SRC_URI[md5sum] = "9d36882998449daceec267c68a21ff0d" SRC_URI[sha256sum] = "3eb7be7d6ef618c0a444316cf5c1f2f9d7227aedba7a192f389fe3e7c0dfbbd9" +SRC_URI += " \ + file://0001-Run-pcsc-spy-with-python3.patch \ +" inherit autotools systemd pkgconfig
@@ -50,6 +53,6 @@ RPROVIDES_${PN} += "${PN}-systemd" RREPLACES_${PN} += "${PN}-systemd" RCONFLICTS_${PN} += "${PN}-systemd" SYSTEMD_SERVICE_${PN} = "pcscd.socket" -RDEPENDS_${PN}-spy +="python" +RDEPENDS_${PN}-spy +="python3" BBCLASSEXTEND = "native"
Signature · 1 line
2.24.1