Skip to contentSkip to conversation

python3-pika: Consolidate in a single file

PATCH In review Leon Anavi 3 participants 17 messages Jun 11, 2020 – Jun 17, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/7 python3-pika: Consolidate in a single file

Consolidate inc and bb files into a single bb file.

---
 .../recipes-devtools/python/python-pika.inc   | 22 -----------------
 .../python/python3-pika_1.1.0.bb              | 24 +++++++++++++++++--
 2 files changed, 22 insertions(+), 24 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pika.inc
meta-python/recipes-devtools/python/python-pika.inc deleted +0 -22
deleted file mode 100644
index bde154fe7..000000000
@@ -1,22 +0,0 @@
-SUMMARY = "Pika is a RabbitMQ (AMQP 0-9-1) client library for Python."
-DESCRIPTION = " \
-Pika is a pure-Python implementation of the AMQP 0-9-1 protocol \
-including RabbitMQ’s extensions. \
-"
-SECTION = "devel/python"
-HOMEPAGE = "https://pika.readthedocs.io"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=535836bf0a5de515a7bfee026075701d"
-
-SRC_URI[md5sum] = "6002400cdd33bf85ec8680ece72910d4"
-SRC_URI[sha256sum] = "9fa76ba4b65034b878b2b8de90ff8660a59d925b087c5bb88f8fdbb4b64a1dbf"
-
-inherit pypi
-
-PYPI_PACKAGE = "pika"
-
-RDEPENDS_${PN} += " \
-    ${PYTHON_PN}-logging \
-    ${PYTHON_PN}-tornado \
-    ${PYTHON_PN}-twisted \
-"
meta-python/recipes-devtools/python/python3-pika_1.1.0.bb +22 -2
index a1515881f..c61d47c47 100644
@@ -1,2 +1,22 @@
-inherit setuptools3
-require python-pika.inc
+SUMMARY = "Pika is a RabbitMQ (AMQP 0-9-1) client library for Python."
+DESCRIPTION = " \
+Pika is a pure-Python implementation of the AMQP 0-9-1 protocol \
+including RabbitMQ’s extensions. \
+"
+SECTION = "devel/python"
+HOMEPAGE = "https://pika.readthedocs.io"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=535836bf0a5de515a7bfee026075701d"
+
+SRC_URI[md5sum] = "6002400cdd33bf85ec8680ece72910d4"
+SRC_URI[sha256sum] = "9fa76ba4b65034b878b2b8de90ff8660a59d925b087c5bb88f8fdbb4b64a1dbf"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "pika"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-tornado \
+    ${PYTHON_PN}-twisted \
+"
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/7 python3-pint: Consolidate in a single file

Consolidate inc and bb files into a single bb file.

---
 .../recipes-devtools/python/python-pint.inc   | 30 -----------------
 .../python/python3-pint_0.11.bb               | 32 +++++++++++++++++--
 2 files changed, 30 insertions(+), 32 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pint.inc
meta-python/recipes-devtools/python/python-pint.inc deleted +0 -30
deleted file mode 100644
index 5c3481008..000000000
@@ -1,30 +0,0 @@
-DESCRIPTION = "Interval arithmetic for Python"
-HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
-SECTION = "devel/python"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
-
-PYPI_PACKAGE := "Pint"
-
-inherit pypi ptest
-
-SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
-SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
-
-DEPENDS += "python3-setuptools-scm-native"
-
-BBCLASSEXTEND = "native nativesdk"
-
-SRC_URI += " \
-	file://run-ptest \
-"
-
-RDEPENDS_${PN}-ptest += " \
-	${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/testsuite
-	cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
-}
meta-python/recipes-devtools/python/python3-pint_0.11.bb +30 -2
index f793ac4ac..d37da7c6a 100644
@@ -1,2 +1,30 @@
-inherit setuptools3
-require python-pint.inc
+DESCRIPTION = "Interval arithmetic for Python"
+HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
+SECTION = "devel/python"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
+
+PYPI_PACKAGE := "Pint"
+
+inherit pypi ptest setuptools3
+
+SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
+SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
+
+DEPENDS += "python3-setuptools-scm-native"
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+	file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+	${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+	install -d ${D}${PTEST_PATH}/testsuite
+	cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
+}
Signature · 1 line
2.17.1
Acked-by on v1 2/7
#2 lore raw

Re: [oe] [meta-python][PATCH 2/7] python3-pint: Consolidate in a single file

Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 81 lines
---
  .../recipes-devtools/python/python-pint.inc   | 30 -----------------
  .../python/python3-pint_0.11.bb               | 32 +++++++++++++++++--
  2 files changed, 30 insertions(+), 32 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python-pint.inc

meta-python/recipes-devtools/python/python-pint.inc deleted +0 -30
deleted file mode 100644
index 5c3481008..000000000
@@ -1,30 +0,0 @@
-DESCRIPTION = "Interval arithmetic for Python"
-HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
-SECTION = "devel/python"
-
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
-
-PYPI_PACKAGE := "Pint"
-
-inherit pypi ptest
-
-SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
-SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
-
-DEPENDS += "python3-setuptools-scm-native"
-
-BBCLASSEXTEND = "native nativesdk"
-
-SRC_URI += " \
-	file://run-ptest \
-"
-
-RDEPENDS_${PN}-ptest += " \
-	${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/testsuite
-	cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
-}
meta-python/recipes-devtools/python/python3-pint_0.11.bb +30 -2
index f793ac4ac..d37da7c6a 100644
@@ -1,2 +1,30 @@
-inherit setuptools3
-require python-pint.inc
+DESCRIPTION = "Interval arithmetic for Python"
+HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
+SECTION = "devel/python"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b"
+
+PYPI_PACKAGE := "Pint"
+
+inherit pypi ptest setuptools3
+
+SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
+SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
+
+DEPENDS += "python3-setuptools-scm-native"
+
+BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+	file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+	${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+	install -d ${D}${PTEST_PATH}/testsuite
+	cp -rf ${S}/pint/testsuite/* ${D}${PTEST_PATH}/testsuite/
+}
author
#3 lore raw

PATCH 3/7 python3-pint: Upgrade 0.11 -> 0.12

In reply to Leon Anavi

Upgrade to release 0.12. Fix link to the homepage, add a summary. The new release brings:

- Add full support for Decimal and Fraction at the registry level.
- NaN is now treated the same as zero in addition, subtraction, equality, and disequality
- New implementation of 'Lx' String Format Type Option
- Bug fixes

---
 .../{python3-pint_0.11.bb => python3-pint_0.12.bb}       | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pint_0.11.bb => python3-pint_0.12.bb} (63%)
meta-python/recipes-devtools/python/python3-pint_0.12.bb renamed from meta-python/recipes-devtools/python/python3-pint_0.11.bb +5 -4
similarity index 63%
rename from meta-python/recipes-devtools/python/python3-pint_0.11.bb
rename to meta-python/recipes-devtools/python/python3-pint_0.12.bb
index d37da7c6a..626af0554 100644
@@ -1,5 +1,6 @@
-DESCRIPTION = "Interval arithmetic for Python"
-HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
+SUMMARY = "Physical quantities module"
+DESCRIPTION = "Physical quantities Python module"
+HOMEPAGE = "https://github.com/hgrecco/pint"
 SECTION = "devel/python"
 
 LICENSE = "BSD-3-Clause"
@@ -9,8 +10,8 @@ PYPI_PACKAGE := "Pint"
 
 inherit pypi ptest setuptools3
 
-SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
-SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
+SRC_URI[md5sum] = "0af699bc0ccdff56228b4a81216b4f7d"
+SRC_URI[sha256sum] = "dc899061f9dc478e0aac3b0d872ca33d120efd32c382984818adab3522b6c793"
 
 DEPENDS += "python3-setuptools-scm-native"
 
Signature · 1 line
2.17.1
Acked-by on v1 3/7
#4 lore raw

Re: [oe] [meta-python][PATCH 3/7] python3-pint: Upgrade 0.11 -> 0.12

Quoted 10 lines · Leon Anavi

Upgrade to release 0.12. Fix link to the homepage, add a summary. The new release brings:

- Add full support for Decimal and Fraction at the registry level.
- NaN is now treated the same as zero in addition, subtraction, equality, and disequality
- New implementation of 'Lx' String Format Type Option
- Bug fixes

Quoted 34 lines
---
  .../{python3-pint_0.11.bb => python3-pint_0.12.bb}       | 9 +++++----
  1 file changed, 5 insertions(+), 4 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pint_0.11.bb => python3-pint_0.12.bb} (63%)

meta-python/recipes-devtools/python/python3-pint_0.12.bb renamed from meta-python/recipes-devtools/python/python3-pint_0.11.bb +5 -4
similarity index 63%
rename from meta-python/recipes-devtools/python/python3-pint_0.11.bb
rename to meta-python/recipes-devtools/python/python3-pint_0.12.bb
index d37da7c6a..626af0554 100644
@@ -1,5 +1,6 @@
-DESCRIPTION = "Interval arithmetic for Python"
-HOMEPAGE = "https://github.com/AlexandreDecan/python-intervals"
+SUMMARY = "Physical quantities module"
+DESCRIPTION = "Physical quantities Python module"
+HOMEPAGE = "https://github.com/hgrecco/pint"
  SECTION = "devel/python"
 
  LICENSE = "BSD-3-Clause"
@@ -9,8 +10,8 @@ PYPI_PACKAGE := "Pint"
 
  inherit pypi ptest setuptools3
 
-SRC_URI[md5sum] = "3a8f29c2a30efd35af4b5c5a224ef965"
-SRC_URI[sha256sum] = "308f1070500e102f83b6adfca6db53debfce2ffc5d3cbe3f6c367da359b5cf4d"
+SRC_URI[md5sum] = "0af699bc0ccdff56228b4a81216b4f7d"
+SRC_URI[sha256sum] = "dc899061f9dc478e0aac3b0d872ca33d120efd32c382984818adab3522b6c793"
 
  DEPENDS += "python3-setuptools-scm-native"
 
author
#5 lore raw

PATCH 4/7 python3-pluggy: Consolidate in a single file

In reply to Leon Anavi

Consolidate inc and bb files into a single bb file.

---
 .../recipes-devtools/python/python-pluggy.inc | 27 -----------------
 .../python/python3-pluggy_0.13.1.bb           | 29 +++++++++++++++++--
 2 files changed, 27 insertions(+), 29 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pluggy.inc
meta-python/recipes-devtools/python/python-pluggy.inc deleted +0 -27
deleted file mode 100644
index 1198d5f74..000000000
@@ -1,27 +0,0 @@
-SUMMARY = "Plugin and hook calling mechanisms for python"
-HOMEPAGE = "https://github.com/pytest-dev/pluggy"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
-
-SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d"
-SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"
-
-DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
-RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \
-                   ${PYTHON_PN}-more-itertools \
-"
-
-inherit pypi ptest
-
-SRC_URI += " \
-	file://run-ptest \
-"
-
-RDEPENDS_${PN}-ptest += " \
-	${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/testing
-	cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
-}
meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb +27 -2
index 941e8e3d8..d3e0365ca 100644
@@ -1,2 +1,27 @@
-inherit setuptools3
-require python-pluggy.inc
+SUMMARY = "Plugin and hook calling mechanisms for python"
+HOMEPAGE = "https://github.com/pytest-dev/pluggy"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
+
+SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d"
+SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \
+                   ${PYTHON_PN}-more-itertools \
+"
+
+inherit pypi ptest setuptools3
+
+SRC_URI += " \
+	file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+	${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+	install -d ${D}${PTEST_PATH}/testing
+	cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
+}
Signature · 1 line
2.17.1
Acked-by on v1 4/7
#6 lore raw

Re: [oe] [meta-python][PATCH 4/7] python3-pluggy: Consolidate in a single file

Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 75 lines
---
  .../recipes-devtools/python/python-pluggy.inc | 27 -----------------
  .../python/python3-pluggy_0.13.1.bb           | 29 +++++++++++++++++--
  2 files changed, 27 insertions(+), 29 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python-pluggy.inc

meta-python/recipes-devtools/python/python-pluggy.inc deleted +0 -27
deleted file mode 100644
index 1198d5f74..000000000
@@ -1,27 +0,0 @@
-SUMMARY = "Plugin and hook calling mechanisms for python"
-HOMEPAGE = "https://github.com/pytest-dev/pluggy"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
-
-SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d"
-SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"
-
-DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
-RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \
-                   ${PYTHON_PN}-more-itertools \
-"
-
-inherit pypi ptest
-
-SRC_URI += " \
-	file://run-ptest \
-"
-
-RDEPENDS_${PN}-ptest += " \
-	${PYTHON_PN}-pytest \
-"
-
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/testing
-	cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
-}
meta-python/recipes-devtools/python/python3-pluggy_0.13.1.bb +27 -2
index 941e8e3d8..d3e0365ca 100644
@@ -1,2 +1,27 @@
-inherit setuptools3
-require python-pluggy.inc
+SUMMARY = "Plugin and hook calling mechanisms for python"
+HOMEPAGE = "https://github.com/pytest-dev/pluggy"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1c8206d16fd5cc02fa9b0bb98955e5c2"
+
+SRC_URI[md5sum] = "7f610e28b8b34487336b585a3dfb803d"
+SRC_URI[sha256sum] = "15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS_${PN} += "${PYTHON_PN}-importlib-metadata \
+                   ${PYTHON_PN}-more-itertools \
+"
+
+inherit pypi ptest setuptools3
+
+SRC_URI += " \
+	file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+	${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+	install -d ${D}${PTEST_PATH}/testing
+	cp -rf ${S}/testing/* ${D}${PTEST_PATH}/testing/
+}
author
#7 lore raw

PATCH 5/7 python3-ply: Consolidate in a single file

In reply to Leon Anavi

Consolidate inc and bb files into a single bb file.

---
 .../recipes-devtools/python/python-ply.inc    | 18 -----------------
 .../python/python3-ply_3.11.bb                | 20 +++++++++++++++++--
 2 files changed, 18 insertions(+), 20 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-ply.inc
meta-python/recipes-devtools/python/python-ply.inc deleted +0 -18
deleted file mode 100644
index 149fe058f..000000000
@@ -1,18 +0,0 @@
-SUMMARY = "Python Lex and Yacc"
-DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
-HOMEPAGE = "https://pypi.python.org/pypi/ply"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c"
-
-SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8"
-SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
-
-inherit pypi
-
-RDEPENDS_${PN}_class-target += "\
-    ${PYTHON_PN}-netclient \
-    ${PYTHON_PN}-shell \
-"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-ply_3.11.bb +18 -2
index 72410baeb..3aa010fac 100644
@@ -1,2 +1,18 @@
-require python-ply.inc
-inherit setuptools3
+SUMMARY = "Python Lex and Yacc"
+DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
+HOMEPAGE = "https://pypi.python.org/pypi/ply"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c"
+
+SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8"
+SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1
Acked-by on v1 5/7
#8 lore raw

Re: [oe] [meta-python][PATCH 5/7] python3-ply: Consolidate in a single file

Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 57 lines
---
  .../recipes-devtools/python/python-ply.inc    | 18 -----------------
  .../python/python3-ply_3.11.bb                | 20 +++++++++++++++++--
  2 files changed, 18 insertions(+), 20 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python-ply.inc

meta-python/recipes-devtools/python/python-ply.inc deleted +0 -18
deleted file mode 100644
index 149fe058f..000000000
@@ -1,18 +0,0 @@
-SUMMARY = "Python Lex and Yacc"
-DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
-HOMEPAGE = "https://pypi.python.org/pypi/ply"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c"
-
-SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8"
-SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
-
-inherit pypi
-
-RDEPENDS_${PN}_class-target += "\
-    ${PYTHON_PN}-netclient \
-    ${PYTHON_PN}-shell \
-"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-ply_3.11.bb +18 -2
index 72410baeb..3aa010fac 100644
@@ -1,2 +1,18 @@
-require python-ply.inc
-inherit setuptools3
+SUMMARY = "Python Lex and Yacc"
+DESCRIPTION = "Python ply: PLY is yet another implementation of lex and yacc for Python"
+HOMEPAGE = "https://pypi.python.org/pypi/ply"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://README.md;beginline=5;endline=32;md5=f5ee5c355c0e6719c787a71b8f0fa96c"
+
+SRC_URI[md5sum] = "6465f602e656455affcd7c5734c638f8"
+SRC_URI[sha256sum] = "00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3"
+
+inherit pypi setuptools3
+
+RDEPENDS_${PN}_class-target += "\
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-shell \
+"
+
+BBCLASSEXTEND = "native"
author
#9 lore raw

PATCH 6/7 python3-pocketsphinx: Consolidate in a single file

In reply to Leon Anavi

Consolidate inc and bb files into a single bb file. Add a homepage and a description.

---
 .../recipes-devtools/python/python-pocketsphinx.inc |  9 ---------
 .../python/python3-pocketsphinx_0.1.0.bb            | 13 ++++++++++++-
 2 files changed, 12 insertions(+), 10 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pocketsphinx.inc
meta-python/recipes-devtools/python/python-pocketsphinx.inc deleted +0 -9
deleted file mode 100644
index 1f8f66a18..000000000
@@ -1,9 +0,0 @@
-SUMMARY = "This package provides a python interface to CMU Sphinxbase and Pocketsphinx libraries created with SWIG and Setuptools."
-SECTION = "devel/python"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72"
-
-SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575"
-SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f"
-
-DEPENDS += "swig-native"
meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +12 -1
index 2275d1b50..cb22040df 100644
@@ -1,2 +1,13 @@
-require python-pocketsphinx.inc
+SUMMARY = "This package provides a python interface to CMU Sphinxbase and Pocketsphinx libraries created with SWIG and Setuptools."
+DESCRIPTION = "Python interface to CMU Sphinxbase and Pocketsphinx libraries"
+HOMEPAGE = "https://github.com/bambocher/pocketsphinx-python"
+SECTION = "devel/python"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72"
+
+SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575"
+SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f"
+
 inherit pypi setuptools3
+
+DEPENDS += "swig-native"
Signature · 1 line
2.17.1
Acked-by on v1 6/7
#10 lore raw

Re: [oe] [meta-python][PATCH 6/7] python3-pocketsphinx: Consolidate in a single file

Quoted 4 lines · Leon Anavi

Consolidate inc and bb files into a single bb file. Add a homepage and a description.

Quoted 42 lines
---
  .../recipes-devtools/python/python-pocketsphinx.inc |  9 ---------
  .../python/python3-pocketsphinx_0.1.0.bb            | 13 ++++++++++++-
  2 files changed, 12 insertions(+), 10 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python-pocketsphinx.inc

meta-python/recipes-devtools/python/python-pocketsphinx.inc deleted +0 -9
deleted file mode 100644
index 1f8f66a18..000000000
@@ -1,9 +0,0 @@
-SUMMARY = "This package provides a python interface to CMU Sphinxbase and Pocketsphinx libraries created with SWIG and Setuptools."
-SECTION = "devel/python"
-LICENSE = "BSD-2-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72"
-
-SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575"
-SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f"
-
-DEPENDS += "swig-native"
meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +12 -1
index 2275d1b50..cb22040df 100644
@@ -1,2 +1,13 @@
-require python-pocketsphinx.inc
+SUMMARY = "This package provides a python interface to CMU Sphinxbase and Pocketsphinx libraries created with SWIG and Setuptools."
+DESCRIPTION = "Python interface to CMU Sphinxbase and Pocketsphinx libraries"
+HOMEPAGE = "https://github.com/bambocher/pocketsphinx-python"
+SECTION = "devel/python"
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72"
+
+SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575"
+SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f"
+
  inherit pypi setuptools3
+
+DEPENDS += "swig-native"
author
#11 lore raw

PATCH 7/7 python3-pocketsphinx: 0.1.0 -> 0.1.15

In reply to Leon Anavi

Add pulseaudio as a dependency and required distro feature because libsphinxad requires it. Upgrade to release 0.1.15:

- Add all travis osx
- Remove bdist_egg and bdist_msi
- Bug fixes

---
 ...ocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} (65%)
meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb renamed from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +4 -3
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb
rename to meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb
index cb22040df..5aa0eb6bc 100644
@@ -5,9 +5,10 @@ SECTION = "devel/python"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72"
 
-SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575"
-SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f"
+SRC_URI[md5sum] = "94d008eebea16acb60a9ffe614575dee"
+SRC_URI[sha256sum] = "34d290745c7dbe6fa2cac9815b5c19d10f393e528ecd70e779c21ebc448f9b63"
 
 inherit pypi setuptools3
 
-DEPENDS += "swig-native"
+DEPENDS += "swig-native pulseaudio"
+REQUIRED_DISTRO_FEATURES += "pulseaudio"
Signature · 1 line
2.17.1
Acked-by on v1 7/7
#12 lore raw

Re: [oe] [meta-python][PATCH 7/7] python3-pocketsphinx: 0.1.0 -> 0.1.15

Quoted 8 lines · Leon Anavi

Add pulseaudio as a dependency and required distro feature because libsphinxad requires it. Upgrade to release 0.1.15:

- Add all travis osx
- Remove bdist_egg and bdist_msi
- Bug fixes

Quoted 28 lines
---
  ...ocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} (65%)

meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb renamed from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +4 -3
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb
rename to meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb
index cb22040df..5aa0eb6bc 100644
@@ -5,9 +5,10 @@ SECTION = "devel/python"
  LICENSE = "BSD-2-Clause"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72"
 
-SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575"
-SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f"
+SRC_URI[md5sum] = "94d008eebea16acb60a9ffe614575dee"
+SRC_URI[sha256sum] = "34d290745c7dbe6fa2cac9815b5c19d10f393e528ecd70e779c21ebc448f9b63"
 
  inherit pypi setuptools3
 
-DEPENDS += "swig-native"
+DEPENDS += "swig-native pulseaudio"
+REQUIRED_DISTRO_FEATURES += "pulseaudio"
#13 lore raw

Re: [oe] [meta-python][PATCH 7/7] python3-pocketsphinx: 0.1.0 -> 0.1.15

In reply to Leon Anavi
Quoted 25 lines · Leon Anavi

Add pulseaudio as a dependency and required distro feature because libsphinxad requires it. Upgrade to release 0.1.15:

- Add all travis osx
- Remove bdist_egg and bdist_msi
- Bug fixes

---
 ...ocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} (65%)
meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb renamed from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +0 -0
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb
rename to meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb
index cb22040df..5aa0eb6bc 100644
@@ -5,9 +5,10 @@ SECTION = "devel/python"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72"
 

meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb SECTION = "devel/python" · line 14

Quoted 10 lines
meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb renamed from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +4 -3
-SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575"
-SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f"
+SRC_URI[md5sum] = "94d008eebea16acb60a9ffe614575dee"
+SRC_URI[sha256sum] = "34d290745c7dbe6fa2cac9815b5c19d10f393e528ecd70e779c21ebc448f9b63"
 
 inherit pypi setuptools3
 
-DEPENDS += "swig-native"
+DEPENDS += "swig-native pulseaudio"
+REQUIRED_DISTRO_FEATURES += "pulseaudio"

this also needs to inherit feature_check
please send a followup since I have applied the original patch.

Quoted 4 lines

--
2.17.1

#14 lore raw

Re: [oe] [meta-python][PATCH 7/7] python3-pocketsphinx: 0.1.0 -> 0.1.15

Leon

please look into

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/392/steps/8/logs/warnings

I have accepted this patch in confidence that a follow up is coming from you to fix this warning

Thanks

Quoted 45 lines · Khem Raj
Quoted 25 lines · Leon Anavi

Add pulseaudio as a dependency and required distro feature because libsphinxad requires it. Upgrade to release 0.1.15:

- Add all travis osx
- Remove bdist_egg and bdist_msi
- Bug fixes

---
 ...ocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} (65%)
meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb renamed from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +0 -0
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb
rename to meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb
index cb22040df..5aa0eb6bc 100644
@@ -5,9 +5,10 @@ SECTION = "devel/python"
 LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72"
 

meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb SECTION = "devel/python" · line 14

Quoted 10 lines
meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb renamed from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +4 -3
-SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575"
-SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f"
+SRC_URI[md5sum] = "94d008eebea16acb60a9ffe614575dee"
+SRC_URI[sha256sum] = "34d290745c7dbe6fa2cac9815b5c19d10f393e528ecd70e779c21ebc448f9b63"
 
 inherit pypi setuptools3
 
-DEPENDS += "swig-native"
+DEPENDS += "swig-native pulseaudio"
+REQUIRED_DISTRO_FEATURES += "pulseaudio"

this also needs to inherit feature_check
please send a followup since I have applied the original patch.

Quoted 4 lines

--
2.17.1

author
#15 lore raw

Re: [oe] [meta-python][PATCH 7/7] python3-pocketsphinx: 0.1.0 -> 0.1.15

Hi Khem,

Quoted 8 lines · Khem Raj

Leon

please look into

https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/392/steps/8/logs/warnings

I have accepted this patch in confidence that a follow up is coming from you to fix this warning

Thank you for bringing up this topic. Following your suggestion I have just prepared, tested and submitted a fix.

Thanks,
Leon

Quoted 46 lines

Thanks

Quoted 42 lines · Khem Raj
Quoted 24 lines · Leon Anavi

Add pulseaudio as a dependency and required distro feature because libsphinxad requires it. Upgrade to release 0.1.15:

- Add all travis osx
- Remove bdist_egg and bdist_msi
- Bug fixes

---
  ...ocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} | 7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pocketsphinx_0.1.0.bb => python3-pocketsphinx_0.1.15.bb} (65%)

meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb renamed from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +0 -0
similarity index 65%
rename from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb
rename to meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb
index cb22040df..5aa0eb6bc 100644
@@ -5,9 +5,10 @@ SECTION = "devel/python"
  LICENSE = "BSD-2-Clause"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=826ebda787eb48e78aec2624f9faba72"
 

meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb SECTION = "devel/python" · line 14

Quoted 10 lines
meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.15.bb renamed from meta-python/recipes-devtools/python/python3-pocketsphinx_0.1.0.bb +4 -3
-SRC_URI[md5sum] = "c0f2bfd54bc4c438c3bb64825f57d575"
-SRC_URI[sha256sum] = "2cc493ed48c1301e0d2e69b137dc646c2f8caca190ef4bce61836eac96d1796f"
+SRC_URI[md5sum] = "94d008eebea16acb60a9ffe614575dee"
+SRC_URI[sha256sum] = "34d290745c7dbe6fa2cac9815b5c19d10f393e528ecd70e779c21ebc448f9b63"
 
  inherit pypi setuptools3
 
-DEPENDS += "swig-native"
+DEPENDS += "swig-native pulseaudio"
+REQUIRED_DISTRO_FEATURES += "pulseaudio"

this also needs to inherit feature_check
please send a followup since I have applied the original patch.

Quoted 4 lines

--
2.17.1

Signature · 3 lines
Leon Anavi
Software Engineer
konsulko.com
Acked-by on v1 1/7
#16 lore raw
In reply to Leon Anavi
Quoted 3 lines · Leon Anavi

Consolidate inc and bb files into a single bb file.

Quoted 65 lines
---
  .../recipes-devtools/python/python-pika.inc   | 22 -----------------
  .../python/python3-pika_1.1.0.bb              | 24 +++++++++++++++++--
  2 files changed, 22 insertions(+), 24 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python-pika.inc

meta-python/recipes-devtools/python/python-pika.inc deleted +0 -22
deleted file mode 100644
index bde154fe7..000000000
@@ -1,22 +0,0 @@
-SUMMARY = "Pika is a RabbitMQ (AMQP 0-9-1) client library for Python."
-DESCRIPTION = " \
-Pika is a pure-Python implementation of the AMQP 0-9-1 protocol \
-including RabbitMQ’s extensions. \
-"
-SECTION = "devel/python"
-HOMEPAGE = "https://pika.readthedocs.io"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=535836bf0a5de515a7bfee026075701d"
-
-SRC_URI[md5sum] = "6002400cdd33bf85ec8680ece72910d4"
-SRC_URI[sha256sum] = "9fa76ba4b65034b878b2b8de90ff8660a59d925b087c5bb88f8fdbb4b64a1dbf"
-
-inherit pypi
-
-PYPI_PACKAGE = "pika"
-
-RDEPENDS_${PN} += " \
-    ${PYTHON_PN}-logging \
-    ${PYTHON_PN}-tornado \
-    ${PYTHON_PN}-twisted \
-"
meta-python/recipes-devtools/python/python3-pika_1.1.0.bb +22 -2
index a1515881f..c61d47c47 100644
@@ -1,2 +1,22 @@
-inherit setuptools3
-require python-pika.inc
+SUMMARY = "Pika is a RabbitMQ (AMQP 0-9-1) client library for Python."
+DESCRIPTION = " \
+Pika is a pure-Python implementation of the AMQP 0-9-1 protocol \
+including RabbitMQ’s extensions. \
+"
+SECTION = "devel/python"
+HOMEPAGE = "https://pika.readthedocs.io"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=535836bf0a5de515a7bfee026075701d"
+
+SRC_URI[md5sum] = "6002400cdd33bf85ec8680ece72910d4"
+SRC_URI[sha256sum] = "9fa76ba4b65034b878b2b8de90ff8660a59d925b087c5bb88f8fdbb4b64a1dbf"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "pika"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-logging \
+    ${PYTHON_PN}-tornado \
+    ${PYTHON_PN}-twisted \
+"