mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-09-22 20:20:23 +00:00
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 <leon.anavi@konsulko.com>
This commit is contained in:
+15
-5
@@ -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"
|
||||
Reference in New Issue
Block a user