From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400c:c08::241; helo=mail-ua0-x241.google.com; envelope-from=raj.khem@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="gt7170q9"; dkim-atps=neutral Received: from mail-ua0-x241.google.com (mail-ua0-x241.google.com [IPv6:2607:f8b0:400c:c08::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41CBFk4qMGzF132 for ; Sat, 23 Jun 2018 07:16:26 +1000 (AEST) Received: by mail-ua0-x241.google.com with SMTP id f30-v6so5136563uab.11 for ; Fri, 22 Jun 2018 14:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9v62dUuXa4uwSpPvaSOMu5ihSXRE9IRfF1oEKT/mJTY=; b=gt7170q97mqhe8Fe75tvHpffQ4cu95Fe+6kqyvqSsewulq/PE/HFEHWpqTFU6vOYz1 wNlb45H0ofkpLn92MIPVbqTJUYe8EIKKdW7cZYL150sQR/GkzHKnwWhgOS0i25IZbWp5 3DPKh5+2Awn/39tenMmMSmRHk/t2HcLYkgpbYmq2bljszBIaDUeDnflGD2okUJaL2jTm gsLVRMbeWgOXLTFE18ojgkMYIbYdKOuFfTpiVr8fTddjz9RYyghxmPbIeJFoeD3b1GrH jNBeG6PeT+YuYsiNLD3+zIOcVZXBkvllBw3vgM01k3vwg3W+6KjmzC+RL7nyNMKQFFLe iRMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9v62dUuXa4uwSpPvaSOMu5ihSXRE9IRfF1oEKT/mJTY=; b=hGAsrP0vzOARPXBH/H22leYxsY2ZEMN46TTXvN5rlq09FyGeAjNt1Xh0FagJbqy9C0 ZkVJFqh4aIPgaeMVaL2TIHGnPK9E0Ae6eYdfciw68fTnlTu5XMzqL6cbDMsdNmMyYTwl vIaCckCZ8hcxHE+RlBQfE52nNw9eMdC7juglihzCxcY8PvFJEmF+3B6mryzjWeroBuzg OCSKg1smb51D3nBUbIDbQmf9DEHdxfnu7AMuEnK9gKe9oJPZBbUtFsYelemimTLbSESw UAbmrDPXO0zNhYOD/beCf8VQyoy4NNoOTPxWTmaaKme8o/dHgXM5fKKgT0SSHRG1GJSo Vv1g== X-Gm-Message-State: APt69E0SgkoyFMaaDwMCHabFE5ZyIj5pDNcOmOO3A2+XnF2pKeb4xCwr k6i2EbJrWN3zVclNVhBcWQZ81NBtQRve8nOhbyc= X-Google-Smtp-Source: ADUXVKIHOqXS/zNSNahokXccmL4oqPQwJuqIccqrX7cDpDcNVeEcTQW9XHfzDrO6sQXYSCFrbNwStBTso+O6O7LTULM= X-Received: by 2002:a9f:3b9b:: with SMTP id r27-v6mr2101699uah.191.1529702183575; Fri, 22 Jun 2018 14:16:23 -0700 (PDT) MIME-Version: 1.0 References: <20180504070916.11024-1-andrew@aj.id.au> <1525420516.2510070.1360549248.0F065DEC@webmail.messagingengine.com> In-Reply-To: <1525420516.2510070.1360549248.0F065DEC@webmail.messagingengine.com> From: Khem Raj Date: Fri, 22 Jun 2018 14:16:08 -0700 Message-ID: Subject: Re: [oe] [RESEND][meta-python][PATCH 1/3] meta-python: Add python-pyflame recipe To: Andrew Jeffery Cc: Anuj Mittal , openembeded-devel , openbmc@lists.ozlabs.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2018 21:16:27 -0000 On Fri, May 4, 2018 at 12:55 AM Andrew Jeffery wrote: > > Hi Anuj, > > Thanks for the quick review! > > On Fri, 4 May 2018, at 17:20, Anuj Mittal wrote: > > On 05/04/2018 03:09 PM, Andrew Jeffery wrote: > > > Signed-off-by: Andrew Jeffery > > > --- > > > meta-python/recipes-devtools/python/python-pyflame.inc | 9 +++++++++ > > > meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb | 5 +++++ > > > 2 files changed, 14 insertions(+) > > > create mode 100644 meta-python/recipes-devtools/python/python-pyflame.inc > > > create mode 100644 meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb > > > > > > diff --git a/meta-python/recipes-devtools/python/python-pyflame.inc b/meta-python/recipes-devtools/python/python-pyflame.inc > > > new file mode 100644 > > > index 000000000000..37ceab888533 > > > --- /dev/null > > > +++ b/meta-python/recipes-devtools/python/python-pyflame.inc > > > @@ -0,0 +1,9 @@ > > > +S = "${WORKDIR}/pyflame-${PV}" > > > + > > > +LICENSE = "Apache-2.0" > > > +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" > > > + > > > +DEPENDS = "python" > > > + > > > +inherit pkgconfig autotools > > > + > > > diff --git a/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb > > > new file mode 100644 > > > index 000000000000..c902e121231b > > > --- /dev/null > > > +++ b/meta-python/recipes-devtools/python/python-pyflame_1.6.6.bb > > > @@ -0,0 +1,5 @@ > > > +require python-pyflame.inc > > > + > > > +SRC_URI = "https://github.com/uber/pyflame/archive/v${PV}.tar.gz" > > > > Archive tarball checksums are known to change. Perhaps you can consider > > using the release tarball instead? > > > > https://github.com/uber/pyflame/releases > > What exact URL should I use? I got the URL used in the recipe through the releases page by copying the tar.gz link. here I think you need to use git fetcher instead of wget fetcher and point SRCREV = "sha of tag" something like below SRC_URI = "git://github.com/uber/pyflame" # v1.6.6 SRCREV = "8a9d8c2acc3b3bb027475b738134f1e6fff14e6c" S = "${WORKDIR}/git" UPSTREAM_CHECK_URI = "https://github.com/uber/pyflame/releases"