[oe-commits] [meta-openembedded] 05/43: python-behave: Add Python 3 recipe

git at git.openembedded.org git at git.openembedded.org
Mon Aug 13 06:24:33 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 240b92343ea836b408bc5a0d9678bffa36d7a819
Author: Robert Joslyn <robert.joslyn at redrectangle.org>
AuthorDate: Thu Aug 2 20:27:04 2018 -0700

    python-behave: Add Python 3 recipe
    
    Fix broken dependencies of Python 2 recipe as well.
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../python/{python-behave_1.2.6.bb => python-behave.inc} | 11 ++++++++---
 .../recipes-devtools/python/python-behave_1.2.6.bb       | 16 +++++++---------
 .../recipes-devtools/python/python3-behave_1.2.6.bb      |  2 ++
 3 files changed, 17 insertions(+), 12 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-behave_1.2.6.bb b/meta-python/recipes-devtools/python/python-behave.inc
similarity index 58%
copy from meta-python/recipes-devtools/python/python-behave_1.2.6.bb
copy to meta-python/recipes-devtools/python/python-behave.inc
index 6797302..ded7580 100644
--- a/meta-python/recipes-devtools/python/python-behave_1.2.6.bb
+++ b/meta-python/recipes-devtools/python/python-behave.inc
@@ -1,10 +1,15 @@
 SUMMARY = "A behavior-driven development framework, Python style"
-LICENSE = "BSD"
+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"
 
-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
 
-inherit pypi setuptools
+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 6797302..6622168 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 0000000..1c55871
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-behave_1.2.6.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-behave.inc

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list