Add python3-behave Recipe
v3 cover Add python3-behave Recipe
Add Python 3 version of python-behave and its dependencies. Fix missing dependencies for the Python 2 recipe as well.
Changes in v2:
* Clarify license of python-parse-type from BSD to BSD-3-Clause
* Add HOMEPAGE to python-parse-type.inc
Changes in v3:
* The python-parse recipe was bumped to a newer version on master. Rebase on master, adding python3-parse only.
* Add HOMEPAGE to python-parse.inc
Robert Joslyn (5):
python-linecache2: Add recipe
python-traceback2: Add recipe
python3-parse: Add recipe
python-parse-type: Add Python 3 recipe
python-behave: Add Python 3 recipe
meta-python/recipes-devtools/python/python-behave.inc | 15 +++++++++++++++ .../recipes-devtools/python/python-behave_1.2.6.bb | 16 +++++++--------- .../recipes-devtools/python/python-linecache2_1.0.0.bb | 13 +++++++++++++ .../recipes-devtools/python/python-parse-type.inc | 12 ++++++++++++ .../recipes-devtools/python/python-parse-type_0.4.2.bb | 13 ++----------- meta-python/recipes-devtools/python/python-parse.inc | 14 ++++++++++++++ .../recipes-devtools/python/python-parse_1.8.4.bb | 15 ++------------- .../recipes-devtools/python/python-traceback2_1.4.0.bb | 15 +++++++++++++++ .../recipes-devtools/python/python3-behave_1.2.6.bb | 2 ++ .../recipes-devtools/python/python3-parse-type_0.4.2.bb | 2 ++ .../recipes-devtools/python/python3-parse_1.8.4.bb | 2 ++ 11 files changed, 86 insertions(+), 33 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-behave.inc create mode 100644 meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python-parse-type.inc create mode 100644 meta-python/recipes-devtools/python/python-parse.inc create mode 100644 meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-behave_1.2.6.bb create mode 100644 meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-parse_1.8.4.bb
Signature · 1 line
2.16.4
PATCH v3 1/5 python-linecache2: Add recipe
--- .../recipes-devtools/python/python-linecache2_1.0.0.bb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb
meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb new file +13 -0
@@ -0,0 +1,13 @@ +SUMMARY = "A backport of linecache to older supported Pythons" +HOMEPAGE = "https://github.com/testing-cabal/linecache2" +LICENSE = "Python-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=19;endline=19;md5=368ddc8588431c180ae7c33f4fb57519" + +DEPENDS = "${PYTHON_PN}-pbr-native" + +SRC_URI[md5sum] = "7b25d0289ec36bff1f9e63c4329ce65c" +SRC_URI[sha256sum] = "4b26ff4e7110db76eeb6f5a7b64a82623839d595c2038eeda662f2a2db78e97c" + +inherit pypi setuptools + +CLEAN_BROKEN = "1"
Signature · 1 line
2.16.4
PATCH v3 2/5 python-traceback2: Add recipe
In reply to Robert Joslyn--- .../recipes-devtools/python/python-traceback2_1.4.0.bb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb
meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb new file +15 -0
@@ -0,0 +1,15 @@ +SUMMARY = "A backport of traceback to older supported Pythons" +HOMEPAGE = "https://github.com/testing-cabal/traceback2" +LICENSE = "Python-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=31;endline=31;md5=368ddc8588431c180ae7c33f4fb57519" + +DEPENDS = "${PYTHON_PN}-pbr-native" + +SRC_URI[md5sum] = "9e9723f4d70bfc6308fa992dd193c400" +SRC_URI[sha256sum] = "05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030" + +inherit pypi setuptools + +CLEANBROKEN = "1" + +RDEPENDS_${PN} = "${PYTHON_PN}-linecache2"
Signature · 1 line
2.16.4
PATCH v3 3/5 python3-parse: Add recipe
In reply to Robert JoslynCorrect the license to MIT. The PyPI metadata says BSD, but the license text in the code is actually MIT.
--- meta-python/recipes-devtools/python/python-parse.inc | 14 ++++++++++++++ meta-python/recipes-devtools/python/python-parse_1.8.4.bb | 15 ++------------- .../recipes-devtools/python/python3-parse_1.8.4.bb | 2 ++ 3 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-parse.inc create mode 100644 meta-python/recipes-devtools/python/python3-parse_1.8.4.bb
meta-python/recipes-devtools/python/python-parse.inc new file +14 -0
@@ -0,0 +1,14 @@ +SUMMARY = "Parse strings using a specification based on the Python format() syntax" +HOMEPAGE = "https://github.com/r1chardj0n3s/parse" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://parse.py;beginline=1273;endline=1291;md5=5147afdd9b3615290ad8733f0137a1a1" + +SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b" +SRC_URI[sha256sum] = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939" + +inherit pypi + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-logging \ + "
meta-python/recipes-devtools/python/python-parse_1.8.4.bb +2 -13
@@ -1,13 +1,2 @@ -SUMMARY = "Parse strings using a specification based on the Python format() syntax" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://parse.py;beginline=1273;endline=1291;md5=5147afdd9b3615290ad8733f0137a1a1" - -SRC_URI[md5sum] = "fa69ab2fe846f9b183411391f7c6897b" -SRC_URI[sha256sum] = "c3cdf6206f22aeebfa00e5b954fcfea13d1b2dc271c75806b6025b94fb490939" - -inherit pypi setuptools - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-logging \ - " +inherit setuptools +require python-parse.inc
meta-python/recipes-devtools/python/python3-parse_1.8.4.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-parse.inc
Signature · 1 line
2.16.4
PATCH v3 4/5 python-parse-type: Add Python 3 recipe
In reply to Robert JoslynClarify license from BSD to BSD-3-Clause.
--- meta-python/recipes-devtools/python/python-parse-type.inc | 12 ++++++++++++ .../recipes-devtools/python/python-parse-type_0.4.2.bb | 13 ++----------- .../recipes-devtools/python/python3-parse-type_0.4.2.bb | 2 ++ 3 files changed, 16 insertions(+), 11 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-parse-type.inc create mode 100644 meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
meta-python/recipes-devtools/python/python-parse-type.inc new file +12 -0
@@ -0,0 +1,12 @@ +SUMMARY = "Simplifies building parse types based on the parse module" +HOMEPAGE = "https://github.com/jenisys/parse_type" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" + +SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" +SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" + +PYPI_PACKAGE = "parse_type" +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-parse"
meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb +2 -11
@@ -1,11 +1,2 @@ -SUMMARY = "Simplifies building parse types based on the parse module" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95" -PYPI_PACKAGE = "parse_type" - -SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707" -SRC_URI[sha256sum] = "f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c" - -RDEPENDS_${PN} += "python-parse" - -inherit pypi setuptools +inherit setuptools +require python-parse-type.inc
meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-parse-type.inc
Signature · 1 line
2.16.4
PATCH v3 5/5 python-behave: Add Python 3 recipe
In reply to Robert JoslynFix 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
meta-python/recipes-devtools/python/python-behave.inc new file +15 -0
@@ -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 \ + "
meta-python/recipes-devtools/python/python-behave_1.2.6.bb +7 -9
@@ -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 \ + "
meta-python/recipes-devtools/python/python3-behave_1.2.6.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-behave.inc
Signature · 1 line
2.16.4