htop: use Python 3
PATCH 1/1 htop: use Python 3
Signed-off-by Ross Burton <[email protected]>
--- meta-oe/recipes-support/htop/files/py3.patch | 15 +++++++++++++++ meta-oe/recipes-support/htop/htop_2.2.0.bb | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/htop/files/py3.patch
meta-oe/recipes-support/htop/files/py3.patch new file +15 -0
@@ -0,0 +1,15 @@ +Use Python 3 explicitly instead of python, which we don't export to HOSTTOOL. + +Upstream-Status: Pending +Signed-off-by: Ross Burton <[email protected]> + +diff --git a/scripts/MakeHeader.py b/scripts/MakeHeader.py +index 349531b..3336dea 100755 +--- a/scripts/MakeHeader.py ++++ b/scripts/MakeHeader.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + import os, sys, string, io + try: + from StringIO import StringIO
meta-oe/recipes-support/htop/htop_2.2.0.bb +2 -1
@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3" DEPENDS = "ncurses" SRC_URI = "http://hisham.hm/htop/releases/${PV}/${BP}.tar.gz \ - file://0001-Use-pkg-config.patch" + file://0001-Use-pkg-config.patch \ + file://py3.patch" SRC_URI[md5sum] = "0d816b6beed31edc75babcfbf863ffa8" SRC_URI[sha256sum] = "d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57"
Signature · 1 line
2.20.1
I had similar fix staged
Quoted 51 lines · Ross Burton
Signed-off-by Ross Burton <[email protected]>--- meta-oe/recipes-support/htop/files/py3.patch | 15 +++++++++++++++ meta-oe/recipes-support/htop/htop_2.2.0.bb | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/htop/files/py3.patchmeta-oe/recipes-support/htop/files/py3.patch new file +15
-0@@ -0,0 +1,15 @@ +Use Python 3 explicitly instead of python, which we don't export to HOSTTOOL. + +Upstream-Status: Pending +Signed-off-by: Ross Burton <[email protected]> + +diff --git a/scripts/MakeHeader.py b/scripts/MakeHeader.py +index 349531b..3336dea 100755 +--- a/scripts/MakeHeader.py ++++ b/scripts/MakeHeader.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + import os, sys, string, io + try: + from StringIO import StringIOmeta-oe/recipes-support/htop/htop_2.2.0.bb +2
-2@@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3" DEPENDS = "ncurses" SRC_URI = "http://hisham.hm/htop/releases/${PV}/${BP}.tar.gz \ - file://0001-Use-pkg-config.patch" + file://0001-Use-pkg-config.patch \ + file://py3.patch" SRC_URI[md5sum] = "0d816b6beed31edc75babcfbf863ffa8" SRC_URI[sha256sum] = "d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57" --2.20.1
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel