All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH v2 0/5] Add python3-behave Recipe
@ 2018-07-31  3:09 Robert Joslyn
  2018-07-31  3:09 ` [meta-python][PATCH v2 1/5] python-linecache2: Add recipe Robert Joslyn
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Robert Joslyn @ 2018-07-31  3:09 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

Robert Joslyn (5):
  python-linecache2: Add recipe
  python-traceback2: Add recipe
  python-parse: Update to 1.8.4 and add Python 3 version
  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     | 13 +++++++++++++
 .../recipes-devtools/python/python-parse_1.8.2.bb        | 13 -------------
 .../recipes-devtools/python/python-parse_1.8.4.bb        |  2 ++
 .../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 ++
 12 files changed, 85 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
 delete mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.4.bb
 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] 9+ messages in thread

* [meta-python][PATCH v2 1/5] python-linecache2: Add recipe
  2018-07-31  3:09 [meta-python][PATCH v2 0/5] Add python3-behave Recipe Robert Joslyn
@ 2018-07-31  3:09 ` Robert Joslyn
  2018-07-31  3:09 ` [meta-python][PATCH v2 2/5] python-traceback2: " Robert Joslyn
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Robert Joslyn @ 2018-07-31  3:09 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] 9+ messages in thread

* [meta-python][PATCH v2 2/5] python-traceback2: Add recipe
  2018-07-31  3:09 [meta-python][PATCH v2 0/5] Add python3-behave Recipe Robert Joslyn
  2018-07-31  3:09 ` [meta-python][PATCH v2 1/5] python-linecache2: Add recipe Robert Joslyn
@ 2018-07-31  3:09 ` Robert Joslyn
  2018-07-31  3:09 ` [meta-python][PATCH v2 3/5] python-parse: Update to 1.8.4 and add Python 3 version Robert Joslyn
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Robert Joslyn @ 2018-07-31  3:09 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] 9+ messages in thread

* [meta-python][PATCH v2 3/5] python-parse: Update to 1.8.4 and add Python 3 version
  2018-07-31  3:09 [meta-python][PATCH v2 0/5] Add python3-behave Recipe Robert Joslyn
  2018-07-31  3:09 ` [meta-python][PATCH v2 1/5] python-linecache2: Add recipe Robert Joslyn
  2018-07-31  3:09 ` [meta-python][PATCH v2 2/5] python-traceback2: " Robert Joslyn
@ 2018-07-31  3:09 ` Robert Joslyn
  2018-08-02  8:07   ` Khem Raj
  2018-07-31  3:09 ` [meta-python][PATCH v2 4/5] python-parse-type: Add Python 3 recipe Robert Joslyn
  2018-07-31  3:09 ` [meta-python][PATCH v2 5/5] python-behave: " Robert Joslyn
  4 siblings, 1 reply; 9+ messages in thread
From: Robert Joslyn @ 2018-07-31  3:09 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       | 13 +++++++++++++
 meta-python/recipes-devtools/python/python-parse_1.8.2.bb  | 13 -------------
 meta-python/recipes-devtools/python/python-parse_1.8.4.bb  |  2 ++
 meta-python/recipes-devtools/python/python3-parse_1.8.4.bb |  2 ++
 4 files changed, 17 insertions(+), 13 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python-parse.inc
 delete mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.4.bb
 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..2510b27ae
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-parse.inc
@@ -0,0 +1,13 @@
+SUMMARY = "Parse strings using a specification based on the Python format() syntax"
+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.2.bb b/meta-python/recipes-devtools/python/python-parse_1.8.2.bb
deleted file mode 100644
index 8e16372c5..000000000
--- a/meta-python/recipes-devtools/python/python-parse_1.8.2.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-SUMMARY = "Parse strings using a specification based on the Python format() syntax"
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://parse.py;beginline=1191;endline=1209;md5=5147afdd9b3615290ad8733f0137a1a1"
-
-SRC_URI[md5sum] = "42002338551bdfa0f01bbe4e679a17dd"
-SRC_URI[sha256sum] = "8048dde3f5ca07ad7ac7350460952d83b63eaacecdac1b37f45fd74870d849d2"
-
-inherit pypi setuptools
-
-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
new file mode 100644
index 000000000..d31ccc72a
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
@@ -0,0 +1,2 @@
+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] 9+ messages in thread

* [meta-python][PATCH v2 4/5] python-parse-type: Add Python 3 recipe
  2018-07-31  3:09 [meta-python][PATCH v2 0/5] Add python3-behave Recipe Robert Joslyn
                   ` (2 preceding siblings ...)
  2018-07-31  3:09 ` [meta-python][PATCH v2 3/5] python-parse: Update to 1.8.4 and add Python 3 version Robert Joslyn
@ 2018-07-31  3:09 ` Robert Joslyn
  2018-08-02 18:11   ` Khem Raj
  2018-07-31  3:09 ` [meta-python][PATCH v2 5/5] python-behave: " Robert Joslyn
  4 siblings, 1 reply; 9+ messages in thread
From: Robert Joslyn @ 2018-07-31  3:09 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] 9+ messages in thread

* [meta-python][PATCH v2 5/5] python-behave: Add Python 3 recipe
  2018-07-31  3:09 [meta-python][PATCH v2 0/5] Add python3-behave Recipe Robert Joslyn
                   ` (3 preceding siblings ...)
  2018-07-31  3:09 ` [meta-python][PATCH v2 4/5] python-parse-type: Add Python 3 recipe Robert Joslyn
@ 2018-07-31  3:09 ` Robert Joslyn
  4 siblings, 0 replies; 9+ messages in thread
From: Robert Joslyn @ 2018-07-31  3:09 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] 9+ messages in thread

* Re: [meta-python][PATCH v2 3/5] python-parse: Update to 1.8.4 and add Python 3 version
  2018-07-31  3:09 ` [meta-python][PATCH v2 3/5] python-parse: Update to 1.8.4 and add Python 3 version Robert Joslyn
@ 2018-08-02  8:07   ` Khem Raj
  0 siblings, 0 replies; 9+ messages in thread
From: Khem Raj @ 2018-08-02  8:07 UTC (permalink / raw)
  To: Robert Joslyn; +Cc: openembeded-devel

On Mon, Jul 30, 2018 at 8:11 PM Robert Joslyn
<robert.joslyn@redrectangle.org> wrote:
>
> Correct the license to MIT. The PyPI metadata says BSD, but the license
> text in the code is actually MIT.

Part of this patch is already applied by another pull. Please rebase
on top of current master and resend.

> ---
>  meta-python/recipes-devtools/python/python-parse.inc       | 13 +++++++++++++
>  meta-python/recipes-devtools/python/python-parse_1.8.2.bb  | 13 -------------
>  meta-python/recipes-devtools/python/python-parse_1.8.4.bb  |  2 ++
>  meta-python/recipes-devtools/python/python3-parse_1.8.4.bb |  2 ++
>  4 files changed, 17 insertions(+), 13 deletions(-)
>  create mode 100644 meta-python/recipes-devtools/python/python-parse.inc
>  delete mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.2.bb
>  create mode 100644 meta-python/recipes-devtools/python/python-parse_1.8.4.bb
>  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..2510b27ae
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-parse.inc
> @@ -0,0 +1,13 @@
> +SUMMARY = "Parse strings using a specification based on the Python format() syntax"
> +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.2.bb b/meta-python/recipes-devtools/python/python-parse_1.8.2.bb
> deleted file mode 100644
> index 8e16372c5..000000000
> --- a/meta-python/recipes-devtools/python/python-parse_1.8.2.bb
> +++ /dev/null
> @@ -1,13 +0,0 @@
> -SUMMARY = "Parse strings using a specification based on the Python format() syntax"
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://parse.py;beginline=1191;endline=1209;md5=5147afdd9b3615290ad8733f0137a1a1"
> -
> -SRC_URI[md5sum] = "42002338551bdfa0f01bbe4e679a17dd"
> -SRC_URI[sha256sum] = "8048dde3f5ca07ad7ac7350460952d83b63eaacecdac1b37f45fd74870d849d2"
> -
> -inherit pypi setuptools
> -
> -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
> new file mode 100644
> index 000000000..d31ccc72a
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python-parse_1.8.4.bb
> @@ -0,0 +1,2 @@
> +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
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-python][PATCH v2 4/5] python-parse-type: Add Python 3 recipe
  2018-07-31  3:09 ` [meta-python][PATCH v2 4/5] python-parse-type: Add Python 3 recipe Robert Joslyn
@ 2018-08-02 18:11   ` Khem Raj
  2018-08-03  3:19     ` Robert Joslyn
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2018-08-02 18:11 UTC (permalink / raw)
  To: Robert Joslyn; +Cc: openembeded-devel

On Mon, Jul 30, 2018 at 8:11 PM Robert Joslyn
<robert.joslyn@redrectangle.org> wrote:
>
> 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"

there is no recipe for python3-parse but this does mean that
python3-parse-type will rdep on it and fail the dep check like below

ERROR: Nothing RPROVIDES 'python3-parse' (but
/mnt/a/oe/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb
RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python3-parse' is unbuildable, removing...

> 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
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-python][PATCH v2 4/5] python-parse-type: Add Python 3 recipe
  2018-08-02 18:11   ` Khem Raj
@ 2018-08-03  3:19     ` Robert Joslyn
  0 siblings, 0 replies; 9+ messages in thread
From: Robert Joslyn @ 2018-08-03  3:19 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembeded-devel

On Thu, 2018-08-02 at 11:11 -0700, Khem Raj wrote:
> On Mon, Jul 30, 2018 at 8:11 PM Robert Joslyn
> <robert.joslyn@redrectangle.org> wrote:
> > 
> > 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"
> 
> there is no recipe for python3-parse but this does mean that
> python3-parse-type will rdep on it and fail the dep check like below
> 
> ERROR: Nothing RPROVIDES 'python3-parse' (but
> /mnt/a/oe/sources/meta-openembedded/meta-python/recipes-
> devtools/python/python3-parse-type_0.4.2.bb
> RDEPENDS on or otherwise requires it)
> NOTE: Runtime target 'python3-parse' is unbuildable, removing...

I added python3-parse as patch 3 of the series, but that patch got
dropped since another patch to the recipe was pulled in to master
first. I'll resend the series rebased on master, which will fix both
issues.

Thanks,
Robert

> > 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
> > 
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel



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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-31  3:09 [meta-python][PATCH v2 0/5] Add python3-behave Recipe Robert Joslyn
2018-07-31  3:09 ` [meta-python][PATCH v2 1/5] python-linecache2: Add recipe Robert Joslyn
2018-07-31  3:09 ` [meta-python][PATCH v2 2/5] python-traceback2: " Robert Joslyn
2018-07-31  3:09 ` [meta-python][PATCH v2 3/5] python-parse: Update to 1.8.4 and add Python 3 version Robert Joslyn
2018-08-02  8:07   ` Khem Raj
2018-07-31  3:09 ` [meta-python][PATCH v2 4/5] python-parse-type: Add Python 3 recipe Robert Joslyn
2018-08-02 18:11   ` Khem Raj
2018-08-03  3:19     ` Robert Joslyn
2018-07-31  3:09 ` [meta-python][PATCH v2 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.