Skip to contentSkip to conversation

python-linecache2: Add recipe

PATCH Superseded Robert Joslyn 3 participants 9 messages Jul 30, 2018 – Jul 31, 2018

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 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
new file mode 100644
index 000000000..386da2daa
@@ -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
#1 lore raw

PATCH 2/5 python-traceback2: Add recipe

---
 .../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
new file mode 100644
index 000000000..696c875c6
@@ -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
#2 lore raw

Re: [meta-python][PATCH 2/5] python-traceback2: Add recipe

Why no python3 version n as well?

Quoted 41 lines · 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

(quoted diff) +0 -0

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

meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb new file +4 -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"

meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb new file +5 -0
+
+DEPENDS = "${PYTHON_PN}-pbr-native"
+
+SRC_URI[md5sum] = "9e9723f4d70bfc6308fa992dd193c400"
+SRC_URI[sha256sum] =

"05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030"

meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb new file +6 -1
+
+inherit pypi setuptools
+
+CLEANBROKEN = "1"
+
+RDEPENDS_${PN} = "${PYTHON_PN}-linecache2"
--

2.16.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

Re: [meta-python][PATCH 2/5] python-traceback2: Add recipe

Ah, it’s a backport. Never mind

Quoted 47 lines · Tim Orling

Why no python3 version n as well?

Quoted 41 lines · 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

(quoted diff) +0 -0

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

meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb new file +4 -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"

meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb new file +5 -0
+
+DEPENDS = "${PYTHON_PN}-pbr-native"
+
+SRC_URI[md5sum] = "9e9723f4d70bfc6308fa992dd193c400"
+SRC_URI[sha256sum] =

"05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030"

meta-python/recipes-devtools/python/python-traceback2_1.4.0.bb new file +6 -1
+
+inherit pypi setuptools
+
+CLEANBROKEN = "1"
+
+RDEPENDS_${PN} = "${PYTHON_PN}-linecache2"
--

2.16.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw

PATCH 3/5 python-parse: Update to 1.8.4 and add Python 3 version

In reply to Robert Joslyn

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
meta-python/recipes-devtools/python/python-parse.inc new file +13 -0
new file mode 100644
index 000000000..2510b27ae
@@ -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 \
+    "
meta-python/recipes-devtools/python/python-parse_1.8.2.bb deleted +0 -13
deleted file mode 100644
index 8e16372c5..000000000
@@ -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 \
-    "
meta-python/recipes-devtools/python/python-parse_1.8.4.bb new file +2 -0
new file mode 100644
index 000000000..d31ccc72a
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-parse.inc
meta-python/recipes-devtools/python/python3-parse_1.8.4.bb new file +2 -0
new file mode 100644
index 000000000..b1242545c
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-parse.inc
Signature · 1 line
2.16.4
#5 lore raw

PATCH 4/5 python-parse-type: Add Python 3 recipe

In reply to Robert Joslyn
---
 meta-python/recipes-devtools/python/python-parse-type.inc   | 11 +++++++++++
 .../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, 15 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 +11 -0
new file mode 100644
index 000000000..a4d9c0719
@@ -0,0 +1,11 @@
+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"
+
+inherit pypi
+
+RDEPENDS_${PN} += "${PYTHON_PN}-parse"
meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb +2 -11
index b516c5912..8e10e801c 100644
@@ -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
new file mode 100644
index 000000000..91d9ce2d4
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-parse-type.inc
Signature · 1 line
2.16.4
#6 lore raw

Re: [meta-python][PATCH 4/5] python-parse-type: Add Python 3 recipe

Quoted 19 lines · Robert Joslyn
---
 meta-python/recipes-devtools/python/python-parse-type.inc   | 11
+++++++++++
 .../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, 15 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 +0 -0
new file mode 100644
index 000000000..a4d9c0719

meta-python/recipes-devtools/python/python-parse-type.inc line 2

Quoted 2 lines
meta-python/recipes-devtools/python/python-parse-type.inc new file +2 -0
@@ -0,0 +1,11 @@
+SUMMARY = "Simplifies building parse types based on the parse module"
+LICENSE = "BSD"

Can you make is specific here as to which bsd license is in effect here ? Now that you are at it

Quoted 51 lines
meta-python/recipes-devtools/python/python-parse-type.inc new file +5 -0
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d07323820cca0f1d192cbbf8a0516f95"
+PYPI_PACKAGE = "parse_type"
+
+SRC_URI[md5sum] = "b5fa59e45965d1b2896023742df2e707"
+SRC_URI[sha256sum] =

"f596bdc75d3dd93036fbfe3d04127da9f6df0c26c36e01e76da85adef4336b3c"

meta-python/recipes-devtools/python/python-parse-type.inc new file +4 -0
+
+inherit pypi
+
+RDEPENDS_${PN} += "${PYTHON_PN}-parse"
(quoted diff) +0 -0

python-parse-type_0.4.2.bb b/meta-python/recipes-devtools/python/ python-parse-type_0.4.2.bb
index b516c5912..8e10e801c 100644

meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb +0 -7
@@ -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"

meta-python/recipes-devtools/python/python-parse-type_0.4.2.bb +2 -4
-
-RDEPENDS_${PN} += "python-parse"
-
-inherit pypi setuptools
+inherit setuptools
+require python-parse-type.inc
(quoted diff) +0 -0

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

meta-python/recipes-devtools/python/python3-parse-type_0.4.2.bb new file +2 -1
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-parse-type.inc
--

2.16.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#7 lore raw

Re: [meta-python][PATCH 4/5] python-parse-type: Add Python 3 recipe

Quoted 17 lines · Khem Raj
Quoted 13 lines · Robert Joslyn
---
 meta-python/recipes-devtools/python/python-parse-type.inc   | 11
+++++++++++
 .../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, 15 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

Quoted 14 lines
Quoted 11 lines
(quoted diff) +0 -0

type.inc b/meta-python/recipes-devtools/python/python-parse- type.inc
new file mode 100644
index 000000000..a4d9c0719

meta-python/recipes-devtools/python/python-parse-type.inc new file +1 -0
@@ -0,0 +1,11 @@
+SUMMARY = "Simplifies building parse types based on the parse

module"
+LICENSE = "BSD"

Can you make is specific here as to which bsd license is in effect here ? Now that you are at it

Sure, it's BSD-3-Clause. I'll also add HOMEPAGE and resend the series.

Thanks,
Robert

#8 lore raw

PATCH 5/5 python-behave: Add Python 3 recipe

In reply to Robert Joslyn

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
meta-python/recipes-devtools/python/python-behave.inc new file +15 -0
new file mode 100644
index 000000000..ded75801d
@@ -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
index 679730262..66221682a 100644
@@ -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
new file mode 100644
index 000000000..1c55871b1
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-behave.inc
Signature · 1 line
2.16.4