python3-pexpect: Consolidate in a single file
PATCH 1/3 python3-pexpect: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
--- .../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
meta-python/recipes-devtools/python/python-pexpect.inc deleted +0 -23
@@ -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"
meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb +24 -1
@@ -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"
Signature · 1 line
2.17.1
PATCH 2/3 python3-periphery: Consolidate in a single file
Consolidate inc and bb files into a single bb file.
--- .../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
meta-python/recipes-devtools/python/python-periphery.inc deleted +0 -9
@@ -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"
meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb +11 -2
@@ -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"
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 2/3] python3-periphery: Consolidate in a single file
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 44 lines
--- .../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
meta-python/recipes-devtools/python/python-periphery.inc deleted +0
-9@@ -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"meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb +11
-2@@ -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"
PATCH 3/3 python3-periphery: Upgrade 2.0.1 -> 2.1.0
In reply to Leon AnaviUpgrade 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.
---
...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%)meta-python/recipes-devtools/python/python3-periphery_2.1.0.bb renamed from meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb +3 -3
@@ -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
Signature · 1 line
2.17.1
Re: [oe] [meta-python][PATCH 3/3] python3-periphery: Upgrade 2.0.1 -> 2.1.0
Quoted 22 lines · 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:
- Addpoll_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 inclose()if exported in open for sysfs GPIOs.
- Improve wording and fix typos in docstrings.Serial:
- Fix performance of blocking read inread().
- Raise exception on unexpected empty read inread(), which may be caused by a serial port disconnect.
- Add vmin and vtime properties for the corresponding termios settings.
- Add support for termios timeout withread().
- Improve wording in docstrings.
Quoted 1 line
Signed-off-by Leon Anavi <[email protected]>
Quoted 28 lines
--- ...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%)
meta-python/recipes-devtools/python/python3-periphery_2.1.0.bb renamed from meta-python/recipes-devtools/python/python3-periphery_2.0.1.bb +3
-3@@ -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
Quoted 3 lines · Leon Anavi
Consolidate inc and bb files into a single bb file.
Signed-off-by Leon Anavi <[email protected]>
Quoted 68 lines
--- .../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
meta-python/recipes-devtools/python/python-pexpect.inc deleted +0
-23@@ -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"meta-python/recipes-devtools/python/python3-pexpect_4.8.0.bb +24
-1@@ -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"