All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/3] python3-pexpect: Consolidate in a single file
@ 2020-06-18  9:03 Leon Anavi
  2020-06-18  9:03 ` [meta-python][PATCH 2/3] python3-periphery: " Leon Anavi
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Leon Anavi @ 2020-06-18  9:03 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/python-pexpect.inc                 | 23 -----------------
 .../python/python3-pexpect_4.8.0.bb           | 25 ++++++++++++++++++-
 2 files changed, 24 insertions(+), 24 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-pexpect.inc

diff --git a/meta-python/recipes-devtools/python/python-pexpect.inc b/meta-python/recipes-devtools/python/python-pexpect.inc
deleted file mode 100644
index c6230b2b5..000000000
--- a/meta-python/recipes-devtools/python/python-pexpect.inc
+++ /dev/null
@@ -1,23 +0,0 @@
-SUMMARY = "A Pure Python Expect like Module for Python"
-HOMEPAGE = "http://pexpect.readthedocs.org/"
-SECTION = "devel/python"
-LICENSE = "ISC"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b"
-
-SRC_URI += "file://0001-FSM.py-change-shebang-from-python-to-python3.patch"
-
-SRC_URI[md5sum] = "153eb25184249d6a85fde9acf4804085"
-SRC_URI[sha256sum] = "fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c"
-
-UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect"
-
-RDEPENDS_${PN} = "\
-    ${PYTHON_PN}-core \
-    ${PYTHON_PN}-io \
-    ${PYTHON_PN}-terminal \
-    ${PYTHON_PN}-resource \
-    ${PYTHON_PN}-fcntl \
-    ${PYTHON_PN}-ptyprocess \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb b/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb
index cf39233a3..99e1f199f 100644
--- a/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb
@@ -1,2 +1,25 @@
-require python-pexpect.inc
+SUMMARY = "A Pure Python Expect like Module for Python"
+HOMEPAGE = "http://pexpect.readthedocs.org/"
+SECTION = "devel/python"
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b"
+
+SRC_URI += "file://0001-FSM.py-change-shebang-from-python-to-python3.patch"
+
+SRC_URI[md5sum] = "153eb25184249d6a85fde9acf4804085"
+SRC_URI[sha256sum] = "fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c"
+
 inherit pypi setuptools3
+
+UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect"
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-terminal \
+    ${PYTHON_PN}-resource \
+    ${PYTHON_PN}-fcntl \
+    ${PYTHON_PN}-ptyprocess \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1


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

* [meta-python][PATCH 2/3] python3-periphery: Consolidate in a single file
  2020-06-18  9:03 [meta-python][PATCH 1/3] python3-pexpect: Consolidate in a single file Leon Anavi
@ 2020-06-18  9:03 ` Leon Anavi
  2020-06-18 19:31   ` [oe] " Trevor Gamblin
  2020-06-18  9:03 ` [meta-python][PATCH 3/3] python3-periphery: Upgrade 2.0.1 -> 2.1.0 Leon Anavi
  2020-06-18 19:31 ` [oe] [meta-python][PATCH 1/3] python3-pexpect: Consolidate in a single file Trevor Gamblin
  2 siblings, 1 reply; 6+ messages in thread
From: Leon Anavi @ 2020-06-18  9:03 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../recipes-devtools/python/python-periphery.inc    |  9 ---------
 .../python/python3-periphery_2.0.1.bb               | 13 +++++++++++--
 2 files changed, 11 insertions(+), 11 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-periphery.inc

diff --git a/meta-python/recipes-devtools/python/python-periphery.inc b/meta-python/recipes-devtools/python/python-periphery.inc
deleted file mode 100644
index 0171f63f8..000000000
--- a/meta-python/recipes-devtools/python/python-periphery.inc
+++ /dev/null
@@ -1,9 +0,0 @@
-DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux."
-HOMEPAGE = "http://pythonhosted.org/python-periphery/"
-LICENSE = "MIT"
-
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1ecf5c2354c22fb5bfd53eefb8f9e65b"
-
-PYPI_PACKAGE = "python-periphery"
-
-RDEPENDS_${PN} += "${PYTHON_PN}-mmap"
diff --git a/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb b/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
index e9944274b..1aa48625f 100644
--- a/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
@@ -1,5 +1,14 @@
-inherit pypi setuptools3
-require python-periphery.inc
+DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux."
+HOMEPAGE = "http://pythonhosted.org/python-periphery/"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1ecf5c2354c22fb5bfd53eefb8f9e65b"
 
 SRC_URI[md5sum] = "1d958f02575d4a19734ee2dd92336157"
 SRC_URI[sha256sum] = "5da4d5f40ff8974cf6c724587baa674d7e0593f07b6f6ee896104f11c1be18ec"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "python-periphery"
+
+RDEPENDS_${PN} += "${PYTHON_PN}-mmap"
-- 
2.17.1


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

* [meta-python][PATCH 3/3] python3-periphery: Upgrade 2.0.1 -> 2.1.0
  2020-06-18  9:03 [meta-python][PATCH 1/3] python3-pexpect: Consolidate in a single file Leon Anavi
  2020-06-18  9:03 ` [meta-python][PATCH 2/3] python3-periphery: " Leon Anavi
@ 2020-06-18  9:03 ` Leon Anavi
  2020-06-18 19:32   ` [oe] " Trevor Gamblin
  2020-06-18 19:31 ` [oe] [meta-python][PATCH 1/3] python3-pexpect: Consolidate in a single file Trevor Gamblin
  2 siblings, 1 reply; 6+ messages in thread
From: Leon Anavi @ 2020-06-18  9:03 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Upgrade to release 2.1.0. Use LICENSE instead of PKG-INFO in
LIC_FILES_CHKSUM. The new release brings the following changes:

GPIO:
- Add poll_multiple() static method.
- Add line consumer label property.
- Add line bias, line drive, and inverted properties.
- Add additional properties as keyword arguments to constructor
  for character device GPIOs.
- Only unexport GPIO in close() if exported in open for sysfs
  GPIOs.
- Improve wording and fix typos in docstrings.

Serial:
- Fix performance of blocking read in read().
- Raise exception on unexpected empty read in read(), which may
  be caused by a serial port disconnect.
- Add vmin and vtime properties for the corresponding termios
  settings.
- Add support for termios timeout with read().
- Improve wording in docstrings.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...ython3-periphery_2.0.1.bb => python3-periphery_2.1.0.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-periphery_2.0.1.bb => python3-periphery_2.1.0.bb} (57%)

diff --git a/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb b/meta-python/recipes-devtools/python/python3-periphery_2.1.0.bb
similarity index 57%
rename from meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
rename to meta-python/recipes-devtools/python/python3-periphery_2.1.0.bb
index 1aa48625f..3cd9004df 100644
--- a/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-periphery_2.1.0.bb
@@ -2,10 +2,10 @@ DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI
 HOMEPAGE = "http://pythonhosted.org/python-periphery/"
 LICENSE = "MIT"
 
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1ecf5c2354c22fb5bfd53eefb8f9e65b"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fea92e2e010ccb151792c29fadc2db7b"
 
-SRC_URI[md5sum] = "1d958f02575d4a19734ee2dd92336157"
-SRC_URI[sha256sum] = "5da4d5f40ff8974cf6c724587baa674d7e0593f07b6f6ee896104f11c1be18ec"
+SRC_URI[md5sum] = "27cdd7e026438067a238fb04ed5766a3"
+SRC_URI[sha256sum] = "57baa82e6bc59b67747317d16ad0cf9626826e8d43233af13bce924660500bd6"
 
 inherit pypi setuptools3
 
-- 
2.17.1


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

* Re: [oe] [meta-python][PATCH 1/3] python3-pexpect: Consolidate in a single file
  2020-06-18  9:03 [meta-python][PATCH 1/3] python3-pexpect: Consolidate in a single file Leon Anavi
  2020-06-18  9:03 ` [meta-python][PATCH 2/3] python3-periphery: " Leon Anavi
  2020-06-18  9:03 ` [meta-python][PATCH 3/3] python3-periphery: Upgrade 2.0.1 -> 2.1.0 Leon Anavi
@ 2020-06-18 19:31 ` Trevor Gamblin
  2 siblings, 0 replies; 6+ messages in thread
From: Trevor Gamblin @ 2020-06-18 19:31 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2809 bytes --]


On 6/18/20 5:03 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../python/python-pexpect.inc                 | 23 -----------------
>   .../python/python3-pexpect_4.8.0.bb           | 25 ++++++++++++++++++-
>   2 files changed, 24 insertions(+), 24 deletions(-)
>   delete mode 100644 meta-python/recipes-devtools/python/python-pexpect.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-pexpect.inc b/meta-python/recipes-devtools/python/python-pexpect.inc
> deleted file mode 100644
> index c6230b2b5..000000000
> --- a/meta-python/recipes-devtools/python/python-pexpect.inc
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -SUMMARY = "A Pure Python Expect like Module for Python"
> -HOMEPAGE = "http://pexpect.readthedocs.org/"
> -SECTION = "devel/python"
> -LICENSE = "ISC"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b"
> -
> -SRC_URI += "file://0001-FSM.py-change-shebang-from-python-to-python3.patch"
> -
> -SRC_URI[md5sum] = "153eb25184249d6a85fde9acf4804085"
> -SRC_URI[sha256sum] = "fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c"
> -
> -UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect"
> -
> -RDEPENDS_${PN} = "\
> -    ${PYTHON_PN}-core \
> -    ${PYTHON_PN}-io \
> -    ${PYTHON_PN}-terminal \
> -    ${PYTHON_PN}-resource \
> -    ${PYTHON_PN}-fcntl \
> -    ${PYTHON_PN}-ptyprocess \
> -"
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb b/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb
> index cf39233a3..99e1f199f 100644
> --- a/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb
> @@ -1,2 +1,25 @@
> -require python-pexpect.inc
> +SUMMARY = "A Pure Python Expect like Module for Python"
> +HOMEPAGE = "http://pexpect.readthedocs.org/"
> +SECTION = "devel/python"
> +LICENSE = "ISC"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b"
> +
> +SRC_URI += "file://0001-FSM.py-change-shebang-from-python-to-python3.patch"
> +
> +SRC_URI[md5sum] = "153eb25184249d6a85fde9acf4804085"
> +SRC_URI[sha256sum] = "fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c"
> +
>   inherit pypi setuptools3
> +
> +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect"
> +
> +RDEPENDS_${PN} = "\
> +    ${PYTHON_PN}-core \
> +    ${PYTHON_PN}-io \
> +    ${PYTHON_PN}-terminal \
> +    ${PYTHON_PN}-resource \
> +    ${PYTHON_PN}-fcntl \
> +    ${PYTHON_PN}-ptyprocess \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
>
> 

[-- Attachment #2: Type: text/html, Size: 5025 bytes --]

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

* Re: [oe] [meta-python][PATCH 2/3] python3-periphery: Consolidate in a single file
  2020-06-18  9:03 ` [meta-python][PATCH 2/3] python3-periphery: " Leon Anavi
@ 2020-06-18 19:31   ` Trevor Gamblin
  0 siblings, 0 replies; 6+ messages in thread
From: Trevor Gamblin @ 2020-06-18 19:31 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2139 bytes --]


On 6/18/20 5:03 AM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../recipes-devtools/python/python-periphery.inc    |  9 ---------
>   .../python/python3-periphery_2.0.1.bb               | 13 +++++++++++--
>   2 files changed, 11 insertions(+), 11 deletions(-)
>   delete mode 100644 meta-python/recipes-devtools/python/python-periphery.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-periphery.inc b/meta-python/recipes-devtools/python/python-periphery.inc
> deleted file mode 100644
> index 0171f63f8..000000000
> --- a/meta-python/recipes-devtools/python/python-periphery.inc
> +++ /dev/null
> @@ -1,9 +0,0 @@
> -DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux."
> -HOMEPAGE = "http://pythonhosted.org/python-periphery/"
> -LICENSE = "MIT"
> -
> -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1ecf5c2354c22fb5bfd53eefb8f9e65b"
> -
> -PYPI_PACKAGE = "python-periphery"
> -
> -RDEPENDS_${PN} += "${PYTHON_PN}-mmap"
> diff --git a/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb b/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
> index e9944274b..1aa48625f 100644
> --- a/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
> @@ -1,5 +1,14 @@
> -inherit pypi setuptools3
> -require python-periphery.inc
> +DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux."
> +HOMEPAGE = "http://pythonhosted.org/python-periphery/"
> +LICENSE = "MIT"
> +
> +LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1ecf5c2354c22fb5bfd53eefb8f9e65b"
>   
>   SRC_URI[md5sum] = "1d958f02575d4a19734ee2dd92336157"
>   SRC_URI[sha256sum] = "5da4d5f40ff8974cf6c724587baa674d7e0593f07b6f6ee896104f11c1be18ec"
> +
> +inherit pypi setuptools3
> +
> +PYPI_PACKAGE = "python-periphery"
> +
> +RDEPENDS_${PN} += "${PYTHON_PN}-mmap"
>
> 

[-- Attachment #2: Type: text/html, Size: 3924 bytes --]

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

* Re: [oe] [meta-python][PATCH 3/3] python3-periphery: Upgrade 2.0.1 -> 2.1.0
  2020-06-18  9:03 ` [meta-python][PATCH 3/3] python3-periphery: Upgrade 2.0.1 -> 2.1.0 Leon Anavi
@ 2020-06-18 19:32   ` Trevor Gamblin
  0 siblings, 0 replies; 6+ messages in thread
From: Trevor Gamblin @ 2020-06-18 19:32 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2458 bytes --]


On 6/18/20 5:03 AM, Leon Anavi wrote:
> Upgrade to release 2.1.0. Use LICENSE instead of PKG-INFO in
> LIC_FILES_CHKSUM. The new release brings the following changes:
>
> GPIO:
> - Add poll_multiple() static method.
> - Add line consumer label property.
> - Add line bias, line drive, and inverted properties.
> - Add additional properties as keyword arguments to constructor
>    for character device GPIOs.
> - Only unexport GPIO in close() if exported in open for sysfs
>    GPIOs.
> - Improve wording and fix typos in docstrings.
>
> Serial:
> - Fix performance of blocking read in read().
> - Raise exception on unexpected empty read in read(), which may
>    be caused by a serial port disconnect.
> - Add vmin and vtime properties for the corresponding termios
>    settings.
> - Add support for termios timeout with read().
> - Improve wording in docstrings.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   ...ython3-periphery_2.0.1.bb => python3-periphery_2.1.0.bb} | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>   rename meta-python/recipes-devtools/python/{python3-periphery_2.0.1.bb => python3-periphery_2.1.0.bb} (57%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb b/meta-python/recipes-devtools/python/python3-periphery_2.1.0.bb
> similarity index 57%
> rename from meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
> rename to meta-python/recipes-devtools/python/python3-periphery_2.1.0.bb
> index 1aa48625f..3cd9004df 100644
> --- a/meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-periphery_2.1.0.bb
> @@ -2,10 +2,10 @@ DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI
>   HOMEPAGE = "http://pythonhosted.org/python-periphery/"
>   LICENSE = "MIT"
>   
> -LIC_FILES_CHKSUM = "file://PKG-INFO;md5=1ecf5c2354c22fb5bfd53eefb8f9e65b"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=fea92e2e010ccb151792c29fadc2db7b"
>   
> -SRC_URI[md5sum] = "1d958f02575d4a19734ee2dd92336157"
> -SRC_URI[sha256sum] = "5da4d5f40ff8974cf6c724587baa674d7e0593f07b6f6ee896104f11c1be18ec"
> +SRC_URI[md5sum] = "27cdd7e026438067a238fb04ed5766a3"
> +SRC_URI[sha256sum] = "57baa82e6bc59b67747317d16ad0cf9626826e8d43233af13bce924660500bd6"
>   
>   inherit pypi setuptools3
>   
>
> 

[-- Attachment #2: Type: text/html, Size: 3555 bytes --]

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

end of thread, other threads:[~2020-06-18 19:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-18  9:03 [meta-python][PATCH 1/3] python3-pexpect: Consolidate in a single file Leon Anavi
2020-06-18  9:03 ` [meta-python][PATCH 2/3] python3-periphery: " Leon Anavi
2020-06-18 19:31   ` [oe] " Trevor Gamblin
2020-06-18  9:03 ` [meta-python][PATCH 3/3] python3-periphery: Upgrade 2.0.1 -> 2.1.0 Leon Anavi
2020-06-18 19:32   ` [oe] " Trevor Gamblin
2020-06-18 19:31 ` [oe] [meta-python][PATCH 1/3] python3-pexpect: Consolidate in a single file Trevor Gamblin

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.