From eed544f1d06455940906842ad746f2f0405c2911 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 18 Aug 2026 11:25:14 +0300 Subject: [PATCH] python3-adafruit-blinka: Upgrade 6.2.2 -> 9.2.0 Upgrade to release 9.2.0: - Update lgpio chip selection to work with more than 1 digit - Add PlatformDetect dependency update workflow - Update Blinka to pyproject.toml - Fix generic Linux SPI write_readinto slice - Add BeaglePlay (AM625X) board support - QCM6490 (Particle Tachyon): auto-detect gpiochip for f100000.pinctrl - Ensure libgpiod resources are cleaned up on exit - Add helpful message when lgpio is not installed on Raspberry Pi - Remove Python 3.13 version cap on lgpio dependency License-Update: File modified, no change of the license Signed-off-by: Leon Anavi --- ....2.bb => python3-adafruit-blinka_9.2.0.bb} | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) rename dynamic-layers/openembedded-layer/recipes-devtools/python/{python3-adafruit-blinka_6.2.2.bb => python3-adafruit-blinka_9.2.0.bb} (56%) diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb b/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_9.2.0.bb similarity index 56% rename from dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb rename to dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_9.2.0.bb index d479c31..6402299 100644 --- a/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_6.2.2.bb +++ b/dynamic-layers/openembedded-layer/recipes-devtools/python/python3-adafruit-blinka_9.2.0.bb @@ -1,14 +1,18 @@ SUMMARY = "CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython." HOMEPAGE = "https://github.com/adafruit/Adafruit_Blinka" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=660e614bc7efb0697cc793d8a22a55c2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fccd531dce4b989c05173925f0bbb76c" -SRC_URI = "git://github.com/adafruit/Adafruit_Blinka.git;branch=main;protocol=https" -SRCREV = "dc688f354fe779c9267c208b99f310af87e79272" +SRC_URI[sha256sum] = "0358f02840f91127246d9c5fa6d49660e2ab1134cc4e56fd5d88ce4c39a50942" -inherit setuptools3 +PYPI_PACKAGE = "adafruit_blinka" -DEPENDS += "python3-setuptools-scm-native" +inherit pypi python_setuptools_build_meta + +DEPENDS += "\ + python3-setuptools-scm-native \ + python3-wheel-native \ +" do_install:append() { # it ships ./bcm283x/pulseio/libgpiod_pulsein which is a prebuilt @@ -16,6 +20,11 @@ do_install:append() { if [ ${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '1', '0', d)} = "0" ]; then rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/adafruit_blinka/microcontroller/bcm283x fi + + # Remove Amlogic as it is not related to Raspberry Pi. + # When building for raspberrypi5 (AArch64) fixes: + # QA Issue: Architecture did not match (ARM, expected AArch64) + rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/adafruit_blinka/microcontroller/amlogic } RDEPENDS:${PN} += " \ @@ -23,6 +32,7 @@ RDEPENDS:${PN} += " \ python3-adafruit-platformdetect \ python3-adafruit-pureio \ python3-core \ + python3-lgpio \ " RDEPENDS:${PN}:append:rpi = " rpi-gpio"