From patchwork Tue Nov 26 21:02:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 180234 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp5177508ilf; Tue, 26 Nov 2019 13:02:16 -0800 (PST) X-Google-Smtp-Source: APXvYqy3VruyLpobz15shlSzdZIhPaOp7R+e9bdPGL83r8t/fR332SHczoKst4TJa1CICYCTyZM6 X-Received: by 2002:a17:90b:d93:: with SMTP id bg19mr1336572pjb.81.1574802136166; Tue, 26 Nov 2019 13:02:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574802136; cv=none; d=google.com; s=arc-20160816; b=Sd6mYvB9v9fpWuUaiK04RsnsJVLIYv8kfE8zT6Rn0CEXSSmghxJ3CArNAlgH9wUhbE zSepwlREoVp2aHrBQu5jHZkAr5DM9Gd/NLbM4vR4ePOb3jhdPXGEPi/lNea2BZQqltdn RutDERCJfEXjZA78Pn0tEpcAVPx9FGK5vbMWjb+ol3q1WepObL9ExGu0fuqQU2gDk6Ed gGEtbgGBd73mziftxn2Cyc6mIaWf9mP1aQxvULQYrySQuGY8G8GJKolYrxASAcPqCFzD Wnbi1VBM2Aymy6VZDSr93RRlOXzBy5gCp8PEu1qmt7xb9Ak2AOT9ltQPS7Xs4ctazY1O zkgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=tsj8p7OObdVegDAGthu+QReT+urOE16iXdFKj2sSZBc=; b=WqEhL7+i0SBcEKt1Wl4CkL48XXZU/UWyiWcuAsZeet5m48dFq6Ruo17+aqIqjTuFmj jjn2P5OWKIM8dWdQaFRg/YlG/u+L60LSnBPw+ec2eqoI3EzfwvvNUg0hoOoih0VgKxgz so5i5c/gAP4oLEJACHdfIuyLcpmJHvxMSr7YF9sxRc+Tp+2aCHe1f9kaKfVtaVo/Ipl3 YgbOA4YKrAssERTiYBl3xoGk5xhAfTRdtxlhPiK2eVkz8ZX7Kqg/me8Y5kDcYL1mWHz7 k1OkEDGm8EAD7BNQw61Rjv047hi1rYxx7SoAvxYtjMP7l96I/htmt+AF9tCOxgH6SfoY tD+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=yuHh1DN3; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 92si12961690plc.66.2019.11.26.13.02.15; Tue, 26 Nov 2019 13:02:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=yuHh1DN3; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id CB2907FCB0; Tue, 26 Nov 2019 21:02:12 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mail.openembedded.org (Postfix) with ESMTP id 679D27F7B4 for ; Tue, 26 Nov 2019 21:02:11 +0000 (UTC) Received: by mail-wm1-f52.google.com with SMTP id j18so3318601wmk.1 for ; Tue, 26 Nov 2019 13:02:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=QrbiKM1uSh91OcFANnRCRoj/WUf5AmBtaldtUlCzNjc=; b=yuHh1DN3mIgFWZ4poHV+uGv9Ehhf3ia7JV0W5URvc9qV12crHsYe05LrR4Hho7gcmv q5pSSUXu9dcxj89xWN5RWbtdc2gUR3PC2TZDU+spT22WsG1V3yr5LQ2fJJGKoWueed72 gmK8jmwwAsVvgAe6vjTdmTEpPhKjhkykvktpmzaFpO97ME/TVpVl/2jfR84rNeWRnh3y dEgVuhJ0dH796WoDIBjAswQFy6KtjxN9PNlTk80uULq+/fTne5evxZgurMWlk49J3JD+ G5TutqAJj3qVXNjUiDQdDOnsSFO8LG1q2e5JTQ0lPgjMR/LCaMZCj6T8CoWuJPUaHrQQ w4qA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=QrbiKM1uSh91OcFANnRCRoj/WUf5AmBtaldtUlCzNjc=; b=uksIBLyzTBTQyfOIUwGUY/oCGwbo8OxYN2oULIv2luLPaDcK9ndumLBmVhxuocjFsp q91vTzCMwFPiSlFAqN3ZZ4yiFlV7m7szOyJ+fXC6OoZuegBskiv7QUkuxQwbtJsFmtZ6 5FWRGKnJrfrNg74nDl7i25rt/1KkWcLpkJDmyCj04wljO6Eb3g7ZUuRGOaWuJNs0EQkb an+Dpk/y2MpFEBNY9P93XVyWGXfAj6yN8ybDs6M1f//4pwQ++BTLSjij5Ty7g6xfU26D Ols6DcThzlMZu8tBQoogJXmgTE1np17VqfYePMbgGQLDj3RS+2+Kdqd29yLohKCVRu8t Y1RA== X-Gm-Message-State: APjAAAWESbLvNcteTqMlI44+luuCFv4BipQoa6DwCz0iIIq2IsjvZmxS p3Mhr+QEV1mw8qeuJq81hEEQd9FQpeU= X-Received: by 2002:a7b:cc90:: with SMTP id p16mr961884wma.166.1574802131676; Tue, 26 Nov 2019 13:02:11 -0800 (PST) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id x205sm4907954wmb.5.2019.11.26.13.02.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 13:02:10 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Date: Tue, 26 Nov 2019 21:02:06 +0000 Message-Id: <20191126210206.15650-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [oe] [PATCH] htop: use Python 3 X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- 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 -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/htop/files/py3.patch b/meta-oe/recipes-support/htop/files/py3.patch new file mode 100644 index 0000000000..fd28d51d5c --- /dev/null +++ b/meta-oe/recipes-support/htop/files/py3.patch @@ -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 + +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 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 01c856d123..5724c5b8c6 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,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"