From patchwork Tue Jul 10 15:20:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 141516 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4018941ljj; Tue, 10 Jul 2018 08:20:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd3lLcA4qV9rQGoBlbyLv/po/FH1RttvRijoqRglDtsGTSK55+XHsl5mBTugpc35JC9u1Gj X-Received: by 2002:a63:24c:: with SMTP id 73-v6mr16537964pgc.252.1531236021342; Tue, 10 Jul 2018 08:20:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531236021; cv=none; d=google.com; s=arc-20160816; b=cbtUJzvqisoMz+usuGgrLpHnty97KGiRqPv/T86yUOzzI0LeulFH7e4u7hblJSxsPA 95gNTeWGCIwwd7fq8uMQaB3xpJg1JiBodxRj7R0QPZPV2PhEqsHj2DObRjSSCf7/uaB0 gddD0RlV0VJw+4nYDkoxn7JTUvb/NVQVaiBYBjf6kQlR4sKC5+vQg1m/4UCj0oY7jAQk Xc3EMpkwd2GCe32gvCFr0eTw7wHto+/tpb5C6UKs8sSUjEooPP6BrfUlXp81cgTpbiT4 ZDTd/aWn1hjeEp/qlG++PGXEu1QjA1fSOmTu6VNpl0Ud/Ie/hi7wXZuG550yvYVc7LxB L4aQ== 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=v2iOIYQ4uTguSuYaVmFTjeKcF7GeGVHt9OT/ai3zujGOjWcGr4YHT87Kfb62S++GbJ L9RzBfuH3Zd0n8bgV+ueNuBiYOCSYX8MjekKc0//z5cDcuK03kNkC+7H618lbeKBG6mg NlfiV9I9vy8pwKLvIZA3Q5H4drYUt4Ap+fIj5+KDzojz+FxurRoHhplG9qZHxA9R7i0B XJvaTkP237CxGbabTgUfl9CzFdtwNTHvbXwXTY+4rgs40k1YxIOz98bsBStqsQmrdGwH GQ1KjNfQkaU+cHeELKhGat0oICUAESj8XnGxchCLwcC3rYxU2B5DZp7n/EkE3DQgnP7g zcfA== 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=EY6BRZVY; 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 h8-v6si16350182pgr.379.2018.07.10.08.20.21; Tue, 10 Jul 2018 08:20:21 -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=EY6BRZVY; 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 84FB07605A; Tue, 10 Jul 2018 15:20:16 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by mail.openembedded.org (Postfix) with ESMTP id C62EC76036 for ; Tue, 10 Jul 2018 15:20:15 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id j5-v6so8522323wrr.8 for ; Tue, 10 Jul 2018 08:20:17 -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=EY6BRZVY3NW2t5XxBDnWV7b8zpWrZP9Z2YsTU41Qb3NrpQjpJPIgmIHs1laZHfOSND 85+PhIigGuN9O6z84kU2XPDypPZWFFol6YpWNu5iKXFLBebp9FQX0NsCH8HbzZ0DhUZc tQp55PFDjBfWhaHnhQ08tM9owUtqjO/pVC/bJlG2iH4XTm3grjGvvyHhApifYg0TuTdn qitnAKBc8T7QGNzXcLzLYRgv2C0TwGl2zTOHcmqY1fw7udaDsnAy/Il1w2h1P0mMqTpO rwp95mOKxqwNw/2KsRulhkZ88YB4zaJrrEIa07nbC8TjSfAPd7HtoazODbddN+QlUL8n Lsdw== 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=RR7AleRsXAnZYzqY9zv/Z7Hrg6QcajdoriFwomOdi4q164O3NF3yLU0VZdcldnh/eM EUjmNuV+fca6/q25FSL/eOG56/maSNG0RL4IMAsOZi+ENY3TYsbLS82NVwfo4HaYbjDE jTrAYwDuqWj9IODQ9GO2zHygQf+OLMCeRZDzD6rSACQXm+4qbSqjHJvrwx7DnlyPDktQ 29Uxb0KEfJLW+QyA4HNBxwQJearHKLvOeorB4QYptzc64w7kkPyxpQhrHzYulhPY8no4 obXIesf/2EgNH7WJk37Tsm/79h+ELl4Wfy9TAweU6wiyHsgkJ99C7nHsgoGZGKayqXd5 sYiQ== X-Gm-Message-State: APt69E3PLRRjEdyuslxdzaPG7HKGhL6L3xzJmeR5yVfKxtTKK1o8fvQX 4gQfOrnmoojO8VRm1REOGGOgt0eS X-Received: by 2002:adf:a9f0:: with SMTP id b103-v6mr17472260wrd.271.1531236016203; Tue, 10 Jul 2018 08:20:16 -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 t10-v6sm28857031wre.95.2018.07.10.08.20.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Jul 2018 08:20:15 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Date: Tue, 10 Jul 2018 16:20:12 +0100 Message-Id: <20180710152012.8950-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [oe] [PATCH][meta-python] 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