[oe-commits] [meta-openembedded] branch master-next updated: pcsc-lite: use python3

git at git.openembedded.org git at git.openembedded.org
Mon Jan 27 15:35:35 UTC 2020


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

The following commit(s) were added to refs/heads/master-next by this push:
     new ad38828  pcsc-lite: use python3
ad38828 is described below

commit ad388282aa2b6e286fc9f92d37d43cc061a6a753
Author: Laurent Bonnans <laurent.bonnans at here.com>
AuthorDate: Mon Jan 27 11:50:33 2020 +0000

    pcsc-lite: use python3
    
    Signed-off-by: Laurent Bonnans <laurent.bonnans at here.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../files/0001-Run-pcsc-spy-with-python3.patch     | 25 ++++++++++++++++++++++
 .../recipes-support/pcsc-lite/pcsc-lite_1.8.26.bb  |  5 ++++-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/pcsc-lite/files/0001-Run-pcsc-spy-with-python3.patch b/meta-oe/recipes-support/pcsc-lite/files/0001-Run-pcsc-spy-with-python3.patch
new file mode 100644
index 0000000..1aad882
--- /dev/null
+++ b/meta-oe/recipes-support/pcsc-lite/files/0001-Run-pcsc-spy-with-python3.patch
@@ -0,0 +1,25 @@
+From ec4c2d9c8fe85551d773f50bfa8c899cb5983c03 Mon Sep 17 00:00:00 2001
+From: Laurent Bonnans <laurent.bonnans at here.com>
+Date: Mon, 27 Jan 2020 12:38:20 +0100
+Subject: [PATCH] Run pcsc-spy with python3
+
+Upstream-status: Pending
+
+Signed-off-by: Laurent Bonnans <laurent.bonnans at here.com>
+---
+ 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
+
diff --git a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.26.bb b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.26.bb
index 5e60846..2dd5135 100644
--- a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.26.bb
+++ b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.8.26.bb
@@ -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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list