From: Robert Joslyn <robert.joslyn@redrectangle.org>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-python][PATCH 5/5] python-behave: Add Python 3 recipe
Date: Sun, 29 Jul 2018 19:16:13 -0700 [thread overview]
Message-ID: <20180730021613.26889-5-robert.joslyn@redrectangle.org> (raw)
In-Reply-To: <20180730021613.26889-1-robert.joslyn@redrectangle.org>
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
prev parent reply other threads:[~2018-07-30 3:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-30 2:16 [meta-python][PATCH 1/5] python-linecache2: Add recipe Robert Joslyn
2018-07-30 2:16 ` [meta-python][PATCH 2/5] python-traceback2: " Robert Joslyn
2018-07-31 1:38 ` Tim Orling
2018-07-31 1:39 ` Tim Orling
2018-07-30 2:16 ` [meta-python][PATCH 3/5] python-parse: Update to 1.8.4 and add Python 3 version Robert Joslyn
2018-07-30 2:16 ` [meta-python][PATCH 4/5] python-parse-type: Add Python 3 recipe Robert Joslyn
2018-07-30 4:04 ` Khem Raj
2018-07-31 1:43 ` Robert Joslyn
2018-07-30 2:16 ` Robert Joslyn [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180730021613.26889-5-robert.joslyn@redrectangle.org \
--to=robert.joslyn@redrectangle.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox