From patchwork Tue Nov 26 20:54:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 180233 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp5170241ilf; Tue, 26 Nov 2019 12:54:57 -0800 (PST) X-Google-Smtp-Source: APXvYqwIXRm4LeHUj6e8FVdDm4nW6YWL3WrlteDtGBz1WD5HbD6mSIlhLi++Xa10R2fR/JpjFzQD X-Received: by 2002:a17:902:9a8b:: with SMTP id w11mr284395plp.9.1574801697339; Tue, 26 Nov 2019 12:54:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574801697; cv=none; d=google.com; s=arc-20160816; b=VvAlKPCVCbAMRIwpOQ0hPDnuPAyXgBeFSAi4w07pDkxCe2/V3aByXVgTrrRzG31+mr DELJfdpywEuUi9cLE3rnx7S3WjOcspmEx4gek/70PIdY16oUVR0u0OSEUZm2GpOIND4F KphMebJr+a4TuWNLFmmJOnwzNyzFwPfI3OqpBjMMbPKw/cBYy1PbTd5rpBgn0D02IMVk KmAnn4SDTUW1oFgp57AIz74RBerRWdY5FbMiJfPq1ydpuTii17h21NAknC8vAC64xfQq 4szCtP6P5oaz/Ag/LcboxMcpwk3VQUwx29+EkrqFlgNG1nHeSZhiqRfvlSRVV7T07rd2 UmPw== 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=ITkrTpl6QbfRrKtNXbJ3Q9aEnKooLSTxiC0fQb+ML0Y=; b=0vSO5v6EWvKEl/lWkGIZquMy8MMIY2jtQ2S0+arV6GLldTXQl3mtEjG6J3lw9ZrYR9 fqMNvByCrRCYWXkC9oR9NXkua0bAsrj1em262C5ICSCOfvtjjfSiDaYVJJb8VE3hdX0e YsZwLe/FWNGHva52SfZBUd4QgUH6+x2P8mmWGHEPM/WEbnbzXvhYuMlVjamOP9RE4/FY C2Mz+fCufJYTIGJDowzm/QjdSAMdfcew2/bnUMMjWf5LWrTr7Ux/iJH2C62svaM6zRMg wlGLqw+iFM5m5fkey4ArtV1zN6LOw0y/+zg/gu4TkbCeVaLQOl+vOAFLzMcGGehstqNK esDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=O32uIhjf; 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 p23si11215325plr.172.2019.11.26.12.54.56; Tue, 26 Nov 2019 12:54:57 -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=O32uIhjf; 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 CB4927FCFA; Tue, 26 Nov 2019 20:54:49 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id ABEDE7FC98 for ; Tue, 26 Nov 2019 20:54:47 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id b137so7287941pga.6 for ; Tue, 26 Nov 2019 12:54:49 -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=ddviRPz3pya9L9QdCOSNoYO712Kfj9ql0Hqmb9XwXlc=; b=O32uIhjfx0qISppnHwefopChZbR1YwtAeLrybsrptJs6r2eaZhETthHTDqya/1EI/l yG5X9HjZlUMBneELEKl1U3+VtKgxhFEU52HU1QvJEle0gvWUrcPtqsfrGDTWkWBXISyB +wvwiNRO7EltDsZhRM6IgbpmJDn3vO7JQbxIM2qCs5COVDnUTsnzQMU1TH7vjWSZLk6q CdD2PdZFR3DiahcGBuHbNIshaoDTThIE6MYL5M3nQhWu4nLHfcsH2w5zP/moTPnx7BY7 kVVefzIiHYUysYERkSS55yALrcAQ+MrJDXc2wSEs8EH2ssrSA4rlLtLo8Df7pKohopt3 98MA== 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=ddviRPz3pya9L9QdCOSNoYO712Kfj9ql0Hqmb9XwXlc=; b=EhH1Fst3VhaI55TC/FajWsiiUZlzNznT4YuUdG9EsfPcsK4KwH6xq6M6q8/Pm+blYS TfPpzMJHkin14UErGQouZxlujAxOySEowan6lC0vd/7Bif00bdC4HhBs+rdgayt37kiF GzYbXqcwTi8N6MJHXBe4Zqepl+E1s254sevv4KEKn//KRjMQO/2MSETggp/DzwJs1jD3 RGC6aHWnaGBuZ8fH0ItBEfhBLvMGKC+g/TfDgZfCaQvAVmEU2rxUActkCuyopTc/kXqB pjPWaU3/BzFsr9E6pnfF2ZRSG6CUiq4sy1H4Y7ggGWToIPF6w0GPM266Nb3EwIIYVfpE jKOw== X-Gm-Message-State: APjAAAWVNTlZThbYD113T80MIKC0FYIdAFay/2CAJnGFnfXcRquVC7SY 5+SRBmWLyXRqGn1wHrBRLmj42Vrn4zc= X-Received: by 2002:a62:501:: with SMTP id 1mr44590827pff.69.1574801688043; Tue, 26 Nov 2019 12:54:48 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::e439]) by smtp.gmail.com with ESMTPSA id i5sm13396603pfo.52.2019.11.26.12.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 12:54:47 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 26 Nov 2019 12:54:35 -0800 Message-Id: <20191126205435.2039138-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH] mercurial: Upgrade to 5.2 and switch to py3 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: Khem Raj --- .../{mercurial_4.6.1.bb => mercurial_5.2.bb} | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) rename meta-oe/recipes-devtools/mercurial/{mercurial_4.6.1.bb => mercurial_5.2.bb} (67%) -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-devtools/mercurial/mercurial_4.6.1.bb b/meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb similarity index 67% rename from meta-oe/recipes-devtools/mercurial/mercurial_4.6.1.bb rename to meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb index 13710aaea3..3cff508b6a 100644 --- a/meta-oe/recipes-devtools/mercurial/mercurial_4.6.1.bb +++ b/meta-oe/recipes-devtools/mercurial/mercurial_5.2.bb @@ -3,15 +3,13 @@ HOMEPAGE = "http://mercurial.selenic.com/" SECTION = "console/utils" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -DEPENDS = "python python-native" -DEPENDS_class-native = "python-native" -RDEPENDS_${PN} = "python python-modules" +RDEPENDS_${PN} = "python3 python3-modules" -inherit python-dir +inherit python3native SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz" -SRC_URI[md5sum] = "f9b2e4a3b5901ef744fa3abe4196e97e" -SRC_URI[sha256sum] = "89fa8ecbc8aa6e48e98f9803a1683ba91367124295dba2407b28c34ca621108d" +SRC_URI[md5sum] = "9ba9d59157c002db8d8cab680de08eb5" +SRC_URI[sha256sum] = "ff030e923f03ee15c91191996fcb099bfcfa60c7df263be227f67b6a65d36194" S = "${WORKDIR}/mercurial-${PV}" @@ -21,7 +19,7 @@ EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR PREFIX=${prefix}" do_configure_append () { - sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python:g' ${S}/Makefile + sed -i -e 's:PYTHON=python:PYTHON=${STAGING_BINDIR_NATIVE}/python-native/python3:g' ${S}/Makefile } do_install () {