python3-adafruit-blinka_6.2.2.bb 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. SUMMARY = "CircuitPython APIs for non-CircuitPython versions of Python such as CPython on Linux and MicroPython."
  2. HOMEPAGE = "https://github.com/adafruit/Adafruit_Blinka"
  3. LICENSE = "MIT"
  4. LIC_FILES_CHKSUM = "file://LICENSE;md5=660e614bc7efb0697cc793d8a22a55c2"
  5. SRC_URI = "git://github.com/adafruit/Adafruit_Blinka.git;branch=main;protocol=https"
  6. SRCREV = "dc688f354fe779c9267c208b99f310af87e79272"
  7. inherit setuptools3
  8. DEPENDS += "python3-setuptools-scm-native"
  9. do_install:append() {
  10. # it ships ./bcm283x/pulseio/libgpiod_pulsein which is a prebuilt
  11. # 32bit binary therefore we should make this specific to 32bit rpi machines (based on bcm283x) only
  12. if [ ${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '1', '0', d)} = "0" ]; then
  13. rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/adafruit_blinka/microcontroller/bcm283x
  14. fi
  15. }
  16. RDEPENDS:${PN} += " \
  17. libgpiod \
  18. python3-adafruit-platformdetect \
  19. python3-adafruit-pureio \
  20. python3-core \
  21. "
  22. RDEPENDS:${PN}:append:rpi = " rpi-gpio"
  23. COMPATIBLE_HOST:libc-musl:class-target = "null"