summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch26
-rw-r--r--meta-oe/recipes-support/htop/htop_2.2.0.bb4
2 files changed, 29 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch b/meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch
new file mode 100644
index 000000000..6153bdedb
--- /dev/null
+++ b/meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch
@@ -0,0 +1,26 @@
1From 08aca4816cc798fce58b6235c26585a0063fa8af Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 26 Nov 2019 10:43:49 -0800
4Subject: [PATCH] Ask for python3 specifically
5
6python2 is on its way out
7
8Upstream-Status: Submitted [https://github.com/hishamhm/htop/pull/968]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 scripts/MakeHeader.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/scripts/MakeHeader.py b/scripts/MakeHeader.py
15index 7c48fdd..7a7586d 100755
16--- a/scripts/MakeHeader.py
17+++ b/scripts/MakeHeader.py
18@@ -1,4 +1,4 @@
19-#!/usr/bin/env python
20+#!/usr/bin/env python3
21 import os, sys, string, io
22 try:
23 from StringIO import StringIO
24--
252.24.0
26
diff --git a/meta-oe/recipes-support/htop/htop_2.2.0.bb b/meta-oe/recipes-support/htop/htop_2.2.0.bb
index 01c856d12..64eb0c571 100644
--- a/meta-oe/recipes-support/htop/htop_2.2.0.bb
+++ b/meta-oe/recipes-support/htop/htop_2.2.0.bb
@@ -7,7 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3"
7DEPENDS = "ncurses" 7DEPENDS = "ncurses"
8 8
9SRC_URI = "http://hisham.hm/htop/releases/${PV}/${BP}.tar.gz \ 9SRC_URI = "http://hisham.hm/htop/releases/${PV}/${BP}.tar.gz \
10 file://0001-Use-pkg-config.patch" 10 file://0001-Use-pkg-config.patch \
11 file://0001-Ask-for-python3-specifically.patch \
12 "
11SRC_URI[md5sum] = "0d816b6beed31edc75babcfbf863ffa8" 13SRC_URI[md5sum] = "0d816b6beed31edc75babcfbf863ffa8"
12SRC_URI[sha256sum] = "d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57" 14SRC_URI[sha256sum] = "d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57"
13 15