From patchwork Fri Aug 31 14:54:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 145663 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp876898ljw; Fri, 31 Aug 2018 07:54:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbpHZ3tWgoCfW5uKtnvRvpECbfMVPK3xlGqQkcvDgMR1QUPVx+XTUsdh5KzLogUyNO4LVTG X-Received: by 2002:a62:6948:: with SMTP id e69-v6mr16227954pfc.166.1535727278752; Fri, 31 Aug 2018 07:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535727278; cv=none; d=google.com; s=arc-20160816; b=ySzy7YAAfAc8ihHKR5U9Zi9eyuCwkJ4aIec5iSkdnu8BQIafqV6D3l65tnwTsab4z0 dDgdh9S77z1WBChY2kisaz64q2hi8n2wFZd5TIDhnr+AlPUkOUz8Z32naWv3s5htrmA+ 0CAbr8Pz5gMLDMZaaAlfBFKKIT4O5oKPiEAyAiJi4rjVybazPus0PH8pDKsicYedZjQu 03yv63Lb3STHMYlPgvkHXTiRLDGk4KP+7XxE6YbMeVIsDEskwHPaCFedCeOVUne06GPO ZoDq71vrcJZXBIiWYWomZ/No8QdsivYErgH4pc6Q8oUGe4TWceqhCeVwt/8EN0ZmHp5+ Da9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=OXa3XZWfvZPKbbrIJeXlFA5v5T7BpFduQ6zb5885XPs=; b=fYCq7LoIsnKlJZ029pRSJ1FARggRzsM6K7NfmMhR+2xksZCShTgLM+G/33STsKI6U2 8TQ/NDCfgcSCUA4q5llTTTUGZ0gjXNJ30xYg+h6o8n83iKq7C7U0AscLR6JGvnbssp2G SuMqnZJm+roOoAfltB4rOj4ejdGsO7z37f/mh/1Tm3pgTL6pz3Te3N/3h5hzVopBkKTz FzWI2WIfqxB3CGfjrCVaaR1xsfznKvo2EN6w0OMDhyVq8VjCBbzY40XlGRRli23OrV6S /Nyp6Rv/4eDw8gUkBJEJM0vGuQ7gVyhoPRAGwlm5hACMeViWh/w178o61iPpUSDV6DNx hRaA== 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=GaheV73P; 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 199-v6si8894163pgg.366.2018.08.31.07.54.38; Fri, 31 Aug 2018 07:54:38 -0700 (PDT) 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=GaheV73P; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 99821795E9; Fri, 31 Aug 2018 14:54:35 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mail.openembedded.org (Postfix) with ESMTP id A1EBA600BB for ; Fri, 31 Aug 2018 14:54:32 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id w11-v6so11488878wrc.5 for ; Fri, 31 Aug 2018 07:54:34 -0700 (PDT) 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; bh=idLZn1a4UV27xou3D8xRsP7gIGDprX7+4mZpsydb/Bg=; b=GaheV73P7zVB0kp8z3vn9Tfq1w151ztXmFrAe5vchuloNgdDYXNGBZCiLieY2/DlEv LyOM+STwQwwD28CV5HRWLi95RLioBcZPDk6g8I8y51SoJvcQY3BTz8gasgaGp4YSq3F4 SmjgYlyGaovvXl41Z+gIp4JZ+/HfYe4YbYLvdcQ4NWwUxz1Q1FGiuMZXp8tA21d+FN4+ d+L4PScWFSBw33OrIlzPeKNVj9pMKNNixLlC9SrAvSX3F70101lq9sUwVFVIq55NwZ0F ziRi25sT5GLYmdgQAddEtJoIg1tIopwLLW0PyyPHt3uf78L0z8f8ru9xmeSAChWgVHht Fm4g== 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; bh=idLZn1a4UV27xou3D8xRsP7gIGDprX7+4mZpsydb/Bg=; b=mxK+92liGQ6Fk4unh1hTby0Bv2E7IZhoCB6jxlfN5h0MF9zqHoBsQYovnhTysCYcEW 37ZVsVGr8mr12d6zzFkc0Yd+396f7xiqdX8oGfwWOOStZmYjGMxdNqbA3Wl5PAnKrQ1E 72apk9QuHCdsdvd3WkS9KalYfJKn4DwkAeuVHdgZUBulZUqe1R2xswPgWgfjTMYcszNE 22GQASXnYWQjcDypBgGsHtc4E6+m723pFCphX/yekmxOV7b01SevubyjylB3eGp+J9PU J0ngHVHAqj3aq0PMGD9XIvzEsJVVCloZOhT17mcBFbY9laJTtZV76p2szcAnIQtvgK9Z DTmA== X-Gm-Message-State: APzg51DpN+Ba+NeY6EzxA7c/B7IQpjTZxcTm4eg3//2xIsZ5ELuHrKkY e1qpLas5gMX87uzqkA9GRhzjGQ20nig= X-Received: by 2002:adf:dc46:: with SMTP id m6-v6mr11789400wrj.84.1535727272951; Fri, 31 Aug 2018 07:54:32 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id y206-v6sm5680819wmg.14.2018.08.31.07.54.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Aug 2018 07:54:32 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Date: Fri, 31 Aug 2018 15:54:30 +0100 Message-Id: <20180831145430.21569-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [oe] [PATCH] python-pbr: add python3-pbr variant 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: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python-pbr.inc | 14 ++++++++++++++ .../recipes-devtools/python/python-pbr_3.1.1.bb | 18 ++---------------- .../recipes-devtools/python/python3-pbr_3.1.1.bb | 2 ++ 3 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-pbr.inc create mode 100644 meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb -- 2.11.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-python/recipes-devtools/python/python-pbr.inc b/meta-python/recipes-devtools/python/python-pbr.inc new file mode 100644 index 0000000000..d8847f6502 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pbr.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some useful and sensible default behaviors into your setuptools run" +HOMEPAGE = "https://pypi.python.org/pypi/pbr" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" + +SRC_URI[md5sum] = "4e82c2e07af544c56a5b71c801525b00" +SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-pip" + +BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb b/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb index bdff867f30..8f7f924dab 100644 --- a/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb +++ b/meta-python/recipes-devtools/python/python-pbr_3.1.1.bb @@ -1,16 +1,2 @@ -DESCRIPTION = "Python Build Reasonableness: PBR is a library that injects some useful and sensible default behaviors into your setuptools run" -HOMEPAGE = "https://pypi.python.org/pypi/pbr" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" - -SRC_URI[md5sum] = "4e82c2e07af544c56a5b71c801525b00" -SRC_URI[sha256sum] = "05f61c71aaefc02d8e37c0a3eeb9815ff526ea28b3b76324769e6158d7f95be1" - -inherit pypi setuptools - -RDEPENDS_${PN}_class-target += " \ - python-pip \ - " - -BBCLASSEXTEND = "native" +inherit setuptools +require python-pbr.inc diff --git a/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb b/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb new file mode 100644 index 0000000000..97e7361b16 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pbr_3.1.1.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-pbr.inc