All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH v3 0/5] Add python3-behave Recipe
@ 2018-08-03  3:26 Robert Joslyn
  2018-08-03  3:27 ` [meta-python][PATCH v3 1/5] python-linecache2: Add recipe Robert Joslyn
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Robert Joslyn @ 2018-08-03  3:26 UTC (permalink / raw)
  To: openembedded-devel

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

-- 
2.16.4



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [meta-python][PATCH v3 1/5] python-linecache2: Add recipe
  2018-08-03  3:26 [meta-python][PATCH v3 0/5] Add python3-behave Recipe Robert Joslyn
@ 2018-08-03  3:27 ` Robert Joslyn
  2018-08-03  3:27 ` [meta-python][PATCH v3 2/5] python-traceback2: " Robert Joslyn
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Robert Joslyn @ 2018-08-03  3:27 UTC (permalink / raw)
  To: openembedded-devel

---
 .../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

diff --git a/meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb b/meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb
new file mode 100644
index 000000000..386da2daa
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-linecache2_1.0.0.bb
@@ -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"
-- 
2.16.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-python][PATCH v3 2/5] python-traceback2: Add recipe
  2018-08-03  3:26 [meta-python][PATCH v3 0/5] Add python3-behave Recipe Robert Joslyn
  2018-08-03  3:27 ` [meta-python][PATCH v3 1/5] python-linecache2: Add recipe Robert Joslyn
@ 2018-08-03  3:27 ` Robert Joslyn
  2018-08-03  3:27 ` [meta-python][PATCH v3 3/5] python3-parse: " Robert Joslyn
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Robert Joslyn @ 2018-08-03  3:27 UTC (permalink / raw)
  To: openembedded-devel

---
 .../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

diff --git a/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb b/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb
new file mode 100644
index 000000000..696c875c6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb
@@ -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"
-- 
2.16.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-python][PATCH v3 3/5] python3-parse: Add recipe
  2018-08-03  3:26 [meta-python][PATCH v3 0/5] Add python3-behave Recipe Robert Joslyn
  2018-08-03  3:27 ` [meta-python][PATCH v3 1/5] python-linecache2: Add recipe Robert Joslyn
  2018-08-03  3:27 ` [meta-python][PATCH v3 2/5] python-traceback2: " Robert Joslyn
@ 2018-08-03  3:27 ` Robert Joslyn
  2018-08-03  3:27 ` [meta-python][PATCH v3 4/5] python-parse-type: Add Python 3 recipe Robert Joslyn
  2018-08-03  3:27 ` [meta-python][PATCH v3 5/5] python-behave: " Robert Joslyn
  4 siblings, 0 replies; 6+ messages in thread
From: Robert Joslyn @ 2018-08-03  3:27 UTC (permalink / raw)
  To: openembedded-devel

Correct 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

diff --git a/meta-python/recipes-devtools/python/python-parse.inc b/meta-python/recipes-devtools/python/python-parse.inc
new file mode 100644
index 000000000..fa55a93c5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-parse.inc
@@ -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 \
+    "
diff --git a/meta-python/recipes-devtools/python/python-parse_1.8.4.bb b/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
index c66d4c8a2..d31ccc72a 100644
--- a/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
+++ b/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
@@ -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
diff --git a/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb b/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb
new file mode 100644
index 000000000..b1242545c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parse_1.8.4.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-parse.inc
-- 
2.16.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-python][PATCH v3 4/5] python-parse-type: Add Python 3 recipe
  2018-08-03  3:26 [meta-python][PATCH v3 0/5] Add python3-behave Recipe Robert Joslyn
                   ` (2 preceding siblings ...)
  2018-08-03  3:27 ` [meta-python][PATCH v3 3/5] python3-parse: " Robert Joslyn
@ 2018-08-03  3:27 ` Robert Joslyn
  2018-08-03  3:27 ` [meta-python][PATCH v3 5/5] python-behave: " Robert Joslyn
  4 siblings, 0 replies; 6+ messages in thread
From: Robert Joslyn @ 2018-08-03  3:27 UTC (permalink / raw)
  To: openembedded-devel

Clarify 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

diff --git a/meta-python/recipes-devtools/python/python-parse-type.inc b/meta-python/recipes-devtools/python/python-parse-type.inc
new file mode 100644
index 000000000..4549ec98b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-parse-type.inc
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb b/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
index b516c5912..8e10e801c 100644
--- a/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
+++ b/meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb
@@ -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
diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
new file mode 100644
index 000000000..91d9ce2d4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-parse-type.inc
-- 
2.16.4



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [meta-python][PATCH v3 5/5] python-behave: Add Python 3 recipe
  2018-08-03  3:26 [meta-python][PATCH v3 0/5] Add python3-behave Recipe Robert Joslyn
                   ` (3 preceding siblings ...)
  2018-08-03  3:27 ` [meta-python][PATCH v3 4/5] python-parse-type: Add Python 3 recipe Robert Joslyn
@ 2018-08-03  3:27 ` Robert Joslyn
  4 siblings, 0 replies; 6+ messages in thread
From: Robert Joslyn @ 2018-08-03  3:27 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-08-03  3:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-03  3:26 [meta-python][PATCH v3 0/5] Add python3-behave Recipe Robert Joslyn
2018-08-03  3:27 ` [meta-python][PATCH v3 1/5] python-linecache2: Add recipe Robert Joslyn
2018-08-03  3:27 ` [meta-python][PATCH v3 2/5] python-traceback2: " Robert Joslyn
2018-08-03  3:27 ` [meta-python][PATCH v3 3/5] python3-parse: " Robert Joslyn
2018-08-03  3:27 ` [meta-python][PATCH v3 4/5] python-parse-type: Add Python 3 recipe Robert Joslyn
2018-08-03  3:27 ` [meta-python][PATCH v3 5/5] python-behave: " Robert Joslyn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.