From patchwork Tue Nov 26 19:48:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 180229 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp5101838ilf; Tue, 26 Nov 2019 11:49:16 -0800 (PST) X-Google-Smtp-Source: APXvYqyU8wgOx7mxEloOEcW9qaHl4j5K/Zt4xfx8H/fQrmo84yMayskAmatrGM79q5E/1F6B1xS8 X-Received: by 2002:a17:90a:970a:: with SMTP id x10mr1008666pjo.39.1574797756897; Tue, 26 Nov 2019 11:49:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574797756; cv=none; d=google.com; s=arc-20160816; b=kXq5R2mLzlJeu8ba+jBoV6mb6yzZOklrGPXX6nSRXmEAOm3UNdCbAn6nHxWMMoPBfu bynykqLFGzq0LozxDeZ6rgQFRWTXqfuGny0d4hfU78dh3WjJHceCBNPwkk87HV5jorgs T2o8CBYaJehNMMouaXg7imtcP2NGvKIvru/d52j2ygjUCj896nQNn9TfS1OrmTb09rhW N//g06IIQBg2bEtGc1RN8y4zZVCpNuCy+woZFYsaZ8tUaSqC6iOuovTL8n/iwEHDXgtC pOJ2syX9ZoSGs55sJ8SzFb9jOzdXelpJUUwkIjRIvGws1YSJ9YaPuMkqgBvt2bmAFlL3 fKwg== 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=IHkKzJKNdkuC5cDiru7CCSlfaA89zCQ0PWgzJNcKVfk=; b=wl5H8KBt5qzhaujNHdWOtfyYCH6LoaML0fbIC+oDS3hSIPB2khXins0xq7/My6tnMl hg1UlxyO5eZASKZfiPOlxOCnosASpGBF4kzEGKQwTjy0golBzgcOhlZHRFyFuqUYgNZ0 uqzXlBQYQNhLhXYvJrMDKIUQD1NYKSYLNPo+uOcn+8VtH8KcfG1vRe8N8q3B+IsJirD+ AvHQbTE/71QNCp29l2YhpX7eKoMgeiNVlJyz7piCONh63efwNnqo7laB+ZUjAj+/XYHu 2HmHYkBTb2dL69ROTYB0ezWfvPqUrvtwlPrLjw5CCIJgiciD9i5kZJCmCM0AvQVZaLDy w5mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ZMxlKCkT; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id be9si12130000plb.243.2019.11.26.11.49.16; Tue, 26 Nov 2019 11:49: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=@gmail.com header.s=20161025 header.b=ZMxlKCkT; 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=QUARANTINE dis=NONE) header.from=gmail.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 3DD327FC93; Tue, 26 Nov 2019 19:49:12 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mail.openembedded.org (Postfix) with ESMTP id E54E97FC7A for ; Tue, 26 Nov 2019 19:49:09 +0000 (UTC) Received: by mail-pl1-f178.google.com with SMTP id h13so8619659plr.1 for ; Tue, 26 Nov 2019 11:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=u8hN8OugfamKtFktGLpDziEPFv710F1KqIXYMG/3S0M=; b=ZMxlKCkTg9kg5W6zZqwv6JivwEk+i6slHAOKboFaGUxHYylhK+PAVNEtjVGlu4Zgfk JYhTfccr+MJt2aMpv6yzfz+P6HIaLNrcwwaizYWhFFEfLIXhXmXHKEf2xAgeLUtwXm6r g+cpz7q/oNCAliWCl8UI/EZtR1xTS0ws+IHRxO4hvE+NLSxGC4xrQ1xw/KOdb1eK/KM1 +n4Q+csCT22Ccm14Jvyh0a85QUphrb7aNl9vb/nvkHEOdHFCj1PpJfWn6uIRQX12gvhf hpzan3Ehxo8qEdEH7DNLy3OX+MQ/huJWBKW3xeTyBh3xgPPhf2Rgw1gkQZMCHSfM2F0j dyig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=u8hN8OugfamKtFktGLpDziEPFv710F1KqIXYMG/3S0M=; b=RGUoyHS8Mh5A17PRjgqjlB5lD0l/6rj92PKobZ8Yib7/wCadOQNusSsq381gSYgrgB pww2UZVUxFuOsAZQ/5S0kY1eVTolGHea19vB88mGn6C/xXpKaivK2EJuPRN6u85vsxUf TYxlrpNMMMYPtKdV4Fp9ZJwZ4jwcREewFiFwlMd93y7n5N5Z63TwBZSTRpOAwz2NQ3Je R6OUk1luL1oMPvsncZ9z/w87eIywBTT2NJmkOZyCI1ez5Wsg94b4M9gKzR2Z8IOhJIDB LIct/bIlCRtMGRPrksc5rFjPchMcLWBFrKmpDrB3y6kNgz+4hiLdAr5V//B15iG8Kymb U9uA== X-Gm-Message-State: APjAAAX5nxF+7lYR5wLygQ3qk1+1KngoO6UNoZfN2v7MVlL8g6Gym6yk XOBFP9eH+w3josqBzl0Jna/wPH0nMP8= X-Received: by 2002:a17:90a:3663:: with SMTP id s90mr1058170pjb.1.1574797750380; Tue, 26 Nov 2019 11:49:10 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::e439]) by smtp.gmail.com with ESMTPSA id b17sm13971474pfr.17.2019.11.26.11.49.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 11:49:09 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 26 Nov 2019 11:48:56 -0800 Message-Id: <20191126194858.2002923-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 1/3] htop: Use python3 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 Fixes | ../htop-2.2.0/scripts/MakeHeader.py ../htop-2.2.0/CategoriesPanel.c | ../htop-2.2.0/scripts/MakeHeader.py ../htop-2.2.0/MainPanel.c | /usr/bin/env: ‘python’: No such file or directory Signed-off-by: Khem Raj --- .../0001-Ask-for-python3-specifically.patch | 26 +++++++++++++++++++ meta-oe/recipes-support/htop/htop_2.2.0.bb | 4 ++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch 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 0000000000..6153bdedbe --- /dev/null +++ b/meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch @@ -0,0 +1,26 @@ +From 08aca4816cc798fce58b6235c26585a0063fa8af Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 26 Nov 2019 10:43:49 -0800 +Subject: [PATCH] Ask for python3 specifically + +python2 is on its way out + +Upstream-Status: Submitted [https://github.com/hishamhm/htop/pull/968] +Signed-off-by: Khem Raj +--- + scripts/MakeHeader.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/MakeHeader.py b/scripts/MakeHeader.py +index 7c48fdd..7a7586d 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 +-- +2.24.0 + 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..64eb0c571f 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" 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://0001-Ask-for-python3-specifically.patch \ + " SRC_URI[md5sum] = "0d816b6beed31edc75babcfbf863ffa8" SRC_URI[sha256sum] = "d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57"