From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from slow1-d.mail.gandi.net (mslow2.mail.gandi.net [217.70.178.242]) by mail.openembedded.org (Postfix) with ESMTP id 4631C78D5D for ; Mon, 30 Jul 2018 03:41:23 +0000 (UTC) Received: from relay4-d.mail.gandi.net (unknown [217.70.183.196]) by slow1-d.mail.gandi.net (Postfix) with ESMTP id 81A723A24D2 for ; Mon, 30 Jul 2018 04:16:47 +0200 (CEST) X-Originating-IP: 204.52.246.158 Received: from localhost.localdomain (eastside-a.concentrator.fsr.net [204.52.246.158]) (Authenticated sender: robert.joslyn@redrectangle.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 890FCE0005; Mon, 30 Jul 2018 02:16:45 +0000 (UTC) From: Robert Joslyn To: openembedded-devel@lists.openembedded.org Date: Sun, 29 Jul 2018 19:16:13 -0700 Message-Id: <20180730021613.26889-5-robert.joslyn@redrectangle.org> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180730021613.26889-1-robert.joslyn@redrectangle.org> References: <20180730021613.26889-1-robert.joslyn@redrectangle.org> X-Spam-Level: Subject: [meta-python][PATCH 5/5] python-behave: Add Python 3 recipe 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: , X-List-Received-Date: Mon, 30 Jul 2018 03:41:23 -0000 Fix broken dependencies of Python 2 recipe as well. --- meta-python/recipes-devtools/python/python-behave.inc | 15 +++++++++++++++ .../recipes-devtools/python/python-behave_1.2.6.bb | 16 +++++++--------- .../recipes-devtools/python/python3-behave_1.2.6.bb | 2 ++ 3 files changed, 24 insertions(+), 9 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-behave.inc create mode 100644 meta-python/recipes-devtools/python/python3-behave_1.2.6.bb diff --git a/meta-python/recipes-devtools/python/python-behave.inc b/meta-python/recipes-devtools/python/python-behave.inc new file mode 100644 index 000000000..ded75801d --- /dev/null +++ b/meta-python/recipes-devtools/python/python-behave.inc @@ -0,0 +1,15 @@ +SUMMARY = "A behavior-driven development framework, Python style" +HOMEPAGE = "https://github.com/behave/behave" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06" + +SRC_URI[md5sum] = "3f05c859a1c45f5ed33e925817ad887d" +SRC_URI[sha256sum] = "b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86" + +inherit pypi + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-parse-type \ + ${PYTHON_PN}-setuptools \ + ${PYTHON_PN}-six \ + " diff --git a/meta-python/recipes-devtools/python/python-behave_1.2.6.bb b/meta-python/recipes-devtools/python/python-behave_1.2.6.bb index 679730262..66221682a 100644 --- a/meta-python/recipes-devtools/python/python-behave_1.2.6.bb +++ b/meta-python/recipes-devtools/python/python-behave_1.2.6.bb @@ -1,10 +1,8 @@ -SUMMARY = "A behavior-driven development framework, Python style" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06" +inherit setuptools +require python-behave.inc -SRC_URI[md5sum] = "3f05c859a1c45f5ed33e925817ad887d" -SRC_URI[sha256sum] = "b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86" - -RDEPENDS_${PN} += "python-difflib python-setuptools python-pkgutil python-misc python-argparse python-xml python-enum34 python-parse python-parse-type python-six" - -inherit pypi setuptools +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-argparse \ + ${PYTHON_PN}-enum34 \ + ${PYTHON_PN}-traceback2 \ + " diff --git a/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb b/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb new file mode 100644 index 000000000..1c55871b1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-behave.inc -- 2.16.4