python-smbus2: Add new recipe
PATCH 1/3 python-smbus2: Add new recipe
Drop-in replacement for smbus-cffi/smbus-python in pure Python. It is another implementation of the python-smbus package.
--- meta-python/recipes-devtools/python/python-smbus2.inc | 19 +++++++++++++++++++ .../recipes-devtools/python/python3-smbus2_0.3.0.bb | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-smbus2.inc create mode 100644 meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb
meta-python/recipes-devtools/python/python-smbus2.inc new file +19 -0
@@ -0,0 +1,19 @@ +SUMMARY = "Drop-in replacement for smbus-cffi/smbus-python in pure Python" +DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python" +HOMEPAGE = "https://github.com/kplindegaard/smbus2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +SRC_URI[md5sum] = "d5ed5acc889b4770a84cc932853ed20a" +SRC_URI[sha256sum] = "210e66eebe4d0b1fe836b3ec2751841942e1c4918c0b429b20a0e20a222228b4" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "smbus2" + +RDEPENDS_${PN} = "${PYTHON_PN}-ctypes ${PYTHON_PN}-fcntl" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-fcntl \ +"
meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-smbus2.inc
Signature · 1 line
2.7.4
PATCH 2/3 python-luma-core: add new recipe
Component library providing a Pillow-compatible drawing canvas, and other functionality to support drawing primitives and text-rendering capabilities for small displays on the Raspberry Pi and other single board computers.
--- .../recipes-devtools/python/python-luma-core.inc | 18 ++++++++++++++++++ .../python/python3-luma-core_1.12.0.bb | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-luma-core.inc create mode 100644 meta-python/recipes-devtools/python/python3-luma-core_1.12.0.bb
meta-python/recipes-devtools/python/python-luma-core.inc new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "A component library to support SBC display drivers" +DESCRIPTION = "A component library to support SBC display drivers" +HOMEPAGE = "https://github.com/rm-hull/luma.core" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=eda804060ba2312e41fe96b6fa334fd7" + +SRC_URI[md5sum] = "4378edb99cd12540b4e4a588969567ee" +SRC_URI[sha256sum] = "864a427de78bcc16758f4f4402a9e61f31cc8857bfae9aba8041159aaec3a491" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "luma.core" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pillow \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-smbus2 \ +"
meta-python/recipes-devtools/python/python3-luma-core_1.12.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-luma-core.inc
Signature · 1 line
2.7.4
Re: [oe] [meta-python][PATCH 2/3] python-luma-core: add new recipe
We do not want separate .inc and .bb files. It makes recipe upgrades with devtool/AUH difficult. Please merge .inc and .bb
Quoted 58 lines · Leon Anavi
Component library providing a Pillow-compatible drawing canvas, and other functionality to support drawing primitives and text-rendering capabilities for small displays on the Raspberry Pi and other single board computers.
Signed-off-by Leon Anavi <[email protected]>--- .../recipes-devtools/python/python-luma-core.inc | 18 ++++++++++++++++++ .../python/python3-luma-core_1.12.0.bb | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-luma-core.inc create mode 100644 meta-python/recipes-devtools/python/python3-luma-core_1.12.0.bb
meta-python/recipes-devtools/python/python-luma-core.inc new file +5
-0@@ -0,0 +1,18 @@ +SUMMARY = "A component library to support SBC display drivers" +DESCRIPTION = "A component library to support SBC display drivers" +HOMEPAGE = "https://github.com/rm-hull/luma.core" +LICENSE = "MIT" +LIC_FILES_CHKSUM ="file://LICENSE.rst;md5=eda804060ba2312e41fe96b6fa334fd7"
meta-python/recipes-devtools/python/python-luma-core.inc new file +3
-0+ +SRC_URI[md5sum] = "4378edb99cd12540b4e4a588969567ee" +SRC_URI[sha256sum] ="
864a427de78bcc16758f4f4402a9e61f31cc8857bfae9aba8041159aaec3a491"meta-python/recipes-devtools/python/python-luma-core.inc new file +10
-0+ +CLEANBROKEN = "1" + +PYPI_PACKAGE = "luma.core" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-pillow \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-smbus2 \ +"(quoted diff) +0
-0python3-luma-core_1.12.0.bb b/meta-python/recipes-devtools/python/ python3-luma-core_1.12.0.bb
new file mode 100644
index 0000000..6e34f81meta-python/recipes-devtools/python/python3-luma-core_1.12.0.bb new file +2
-1@@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-luma-core.inc --2.7.4
PATCH 3/3 python-luma-oled: add new recipe
In reply to Leon AnaviPython library interfacing OLED matrix displays with the SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1331, SSD1351 or SH1106 driver using I2C/SPI on the Raspberry Pi and other single-board computers.
--- .../recipes-devtools/python/python-luma-oled.inc | 18 ++++++++++++++++++ .../recipes-devtools/python/python3-luma-oled_3.4.0.bb | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-luma-oled.inc create mode 100644 meta-python/recipes-devtools/python/python3-luma-oled_3.4.0.bb
meta-python/recipes-devtools/python/python-luma-oled.inc new file +18 -0
@@ -0,0 +1,18 @@ +SUMMARY = "A small library to drive an OLED device" +DESCRIPTION = "\ +A small library to drive an OLED device with either SSD1306 , SSD1309, SSD1322, \ +SSD1325, SSD1327, SSD1331, SSD1351 or SH1106 chipset" +HOMEPAGE = "https://github.com/rm-hull/luma.oled" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=c328c862c3335ad464e1c9a3ba574249" + +SRC_URI[md5sum] = "2944155b2242b9d2ddeb6e139c6083b8" +SRC_URI[sha256sum] = "2ea2b535e7e2f056a51a8c54ad78aa1f00d5699fc439c01bc7c2902823889552" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "luma.oled" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-luma-core \ +"
meta-python/recipes-devtools/python/python3-luma-oled_3.4.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-luma-oled.inc
Signature · 1 line
2.7.4
Re: [oe] [meta-python][PATCH 3/3] python-luma-oled: add new recipe
We do not want separate .inc and .bb files. It makes recipe upgrades with devtool/AUH difficult. Please merge .inc and .bb
Quoted 59 lines · Leon Anavi
Python library interfacing OLED matrix displays with the SSD1306, SSD1309, SSD1322, SSD1325, SSD1327, SSD1331, SSD1351 or SH1106 driver using I2C/SPI on the Raspberry Pi and other single-board computers.
Signed-off-by Leon Anavi <[email protected]>--- .../recipes-devtools/python/python-luma-oled.inc | 18 ++++++++++++++++++ .../recipes-devtools/python/python3-luma-oled_3.4.0.bb | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-luma-oled.inc create mode 100644 meta-python/recipes-devtools/python/python3-luma-oled_3.4.0.bb
meta-python/recipes-devtools/python/python-luma-oled.inc new file +3
-0@@ -0,0 +1,18 @@ +SUMMARY = "A small library to drive an OLED device" +DESCRIPTION = "\ +A small library to drive an OLED device with either SSD1306 , SSD1309,SSD1322, \
meta-python/recipes-devtools/python/python-luma-oled.inc new file +4
-0+SSD1325, SSD1327, SSD1331, SSD1351 or SH1106 chipset" +HOMEPAGE = "https://github.com/rm-hull/luma.oled" +LICENSE = "MIT" +LIC_FILES_CHKSUM ="file://LICENSE.rst;md5=c328c862c3335ad464e1c9a3ba574249"
meta-python/recipes-devtools/python/python-luma-oled.inc new file +3
-0+ +SRC_URI[md5sum] = "2944155b2242b9d2ddeb6e139c6083b8" +SRC_URI[sha256sum] ="
2ea2b535e7e2f056a51a8c54ad78aa1f00d5699fc439c01bc7c2902823889552"meta-python/recipes-devtools/python/python-luma-oled.inc new file +8
-0+ +CLEANBROKEN = "1" + +PYPI_PACKAGE = "luma.oled" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-luma-core \ +"(quoted diff) +0
-0python3-luma-oled_3.4.0.bb b/meta-python/recipes-devtools/python/ python3-luma-oled_3.4.0.bb
new file mode 100644
index 0000000..4f64a92meta-python/recipes-devtools/python/python3-luma-oled_3.4.0.bb new file +2
-1@@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-luma-oled.inc --2.7.4
Quoted 42 lines · On Fri, 3 Apr 2020 11:15:46 +0300 "Leon Anavi" <[email protected]> wrote:
Drop-in replacement for smbus-cffi/smbus-python in pure Python. It is another implementation of the python-smbus package.
Signed-off-by Leon Anavi <[email protected]>--- meta-python/recipes-devtools/python/python-smbus2.inc | 19 +++++++++++++++++++ .../recipes-devtools/python/python3-smbus2_0.3.0.bb | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-smbus2.inc create mode 100644 meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bbmeta-python/recipes-devtools/python/python-smbus2.inc new file +19
-0@@ -0,0 +1,19 @@ +SUMMARY = "Drop-in replacement for smbus-cffi/smbus-python in pure Python" +DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python" +HOMEPAGE = "https://github.com/kplindegaard/smbus2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +SRC_URI[md5sum] = "d5ed5acc889b4770a84cc932853ed20a" +SRC_URI[sha256sum] = "210e66eebe4d0b1fe836b3ec2751841942e1c4918c0b429b20a0e20a222228b4" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "smbus2" + +RDEPENDS_${PN} = "${PYTHON_PN}-ctypes ${PYTHON_PN}-fcntl" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-fcntl \ +"meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb new file +0
-0
meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb line 2
Quoted 2 lines
meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb new file +2
-0@@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-smbus2.inc
We should be doing away with this kind of .inc file now that meta-python is python3 only. See
https://lists.openembedded.org/g/openembedded-devel/topic/72718415.
Thanks,
Signature · 2 lines
Paul Barker Konsulko Group
Hi Paul,
Quoted 51 lines · Paul Barker
Quoted 42 lines · On Fri, 3 Apr 2020 11:15:46 +0300 "Leon Anavi" <[email protected]> wrote:
Drop-in replacement for smbus-cffi/smbus-python in pure Python. It is another implementation of the python-smbus package.
Signed-off-by Leon Anavi <[email protected]>--- meta-python/recipes-devtools/python/python-smbus2.inc | 19 +++++++++++++++++++ .../recipes-devtools/python/python3-smbus2_0.3.0.bb | 2 ++ 2 files changed, 21 insertions(+)create mode 100644 meta-python/recipes-devtools/python/python-smbus2.inc create mode 100644 meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb
meta-python/recipes-devtools/python/python-smbus2.inc new file +19
-0@@ -0,0 +1,19 @@ +SUMMARY = "Drop-in replacement for smbus-cffi/smbus-python in pure Python" +DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python" +HOMEPAGE = "https://github.com/kplindegaard/smbus2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +SRC_URI[md5sum] = "d5ed5acc889b4770a84cc932853ed20a" +SRC_URI[sha256sum] = "210e66eebe4d0b1fe836b3ec2751841942e1c4918c0b429b20a0e20a222228b4" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "smbus2" + +RDEPENDS_${PN} = "${PYTHON_PN}-ctypes ${PYTHON_PN}-fcntl" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-fcntl \ +"meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb new file +0
-0meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb line 2
Quoted 2 lines
meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb new file +2
-0@@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-smbus2.incWe should be doing away with this kind of .inc file now that meta-python is python3 only. See
https://lists.openembedded.org/g/openembedded-devel/topic/72718415.
Quoted 1 line
Thanks,
Thanks for pointing it out. I will update accordingly my patches and resubmit them.
Best regards,
Leon
Signature · 3 lines
Leon Anavi Software Engineer konsulko.com
Quoted 6 lines · Leon Anavi
Drop-in replacement for smbus-cffi/smbus-python in pure Python. It is another implementation of the python-smbus package.
Signed-off-by Leon Anavi <[email protected]>--- meta-python/recipes-devtools/python/python-smbus2.inc | 19 +++++++++++++++++++
inc file seems needless here, please add all code to .bb itself.
Quoted 42 lines
.../recipes-devtools/python/python3-smbus2_0.3.0.bb | 2 ++ 2 files changed, 21 insertions(+)create mode 100644 meta-python/recipes-devtools/python/python-smbus2.inc create mode 100644 meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb
meta-python/recipes-devtools/python/python-smbus2.inc new file +19
-0@@ -0,0 +1,19 @@ +SUMMARY = "Drop-in replacement for smbus-cffi/smbus-python in pure Python" +DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python" +HOMEPAGE = "https://github.com/kplindegaard/smbus2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +SRC_URI[md5sum] = "d5ed5acc889b4770a84cc932853ed20a" +SRC_URI[sha256sum] = "210e66eebe4d0b1fe836b3ec2751841942e1c4918c0b429b20a0e20a222228b4" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "smbus2" + +RDEPENDS_${PN} = "${PYTHON_PN}-ctypes ${PYTHON_PN}-fcntl" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-fcntl \ +"meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb new file +2
-0@@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-smbus2.inc