Move the python3-adafruit recipes depending on meta-oe to dynamic layers
python3-adafruit-blinka depends on libgpiod which is provided by meta-oe. To avoid this dependency at all times, we move the recipe under the dynamic structure (along with the ones depending on it). Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
This commit is contained in:

committed by
Andrei Gherzan

parent
b05c2bdf85
commit
221e048d54
@ -0,0 +1,30 @@
|
||||
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"
|
||||
|
||||
SRC_URI = "git://github.com/adafruit/Adafruit_Blinka.git;branch=main;protocol=https"
|
||||
SRCREV = "dc688f354fe779c9267c208b99f310af87e79272"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
do_install:append() {
|
||||
# it ships ./bcm283x/pulseio/libgpiod_pulsein which is a prebuilt
|
||||
# 32bit binary therefore we should make this specific to 32bit rpi machines (based on bcm283x) only
|
||||
if [ ${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '1', '0', d)} = "0" ]; then
|
||||
rm -rf ${D}${PYTHON_SITEPACKAGES_DIR}/adafruit_blinka/microcontroller/bcm283x
|
||||
fi
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
libgpiod \
|
||||
python3-adafruit-platformdetect \
|
||||
python3-adafruit-pureio \
|
||||
python3-core \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}:append:rpi = " rpi-gpio"
|
@ -0,0 +1,18 @@
|
||||
SUMMARY = "CircuitPython bus device classes to manage bus sharing."
|
||||
HOMEPAGE = "https://github.com/adafruit/Adafruit_CircuitPython_BusDevice"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=6ec69d6e9e6c85adfb7799d7f8cf044e"
|
||||
|
||||
SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git;branch=main;protocol=https"
|
||||
SRCREV = "1bfe8005293205e2f7b2cc498ab5a946f1133b40"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-adafruit-blinka \
|
||||
python3-core \
|
||||
"
|
@ -0,0 +1,18 @@
|
||||
SUMMARY = "CircuitPython helper library provides higher level objects to control motors and servos."
|
||||
HOMEPAGE = "https://github.com/adafruit/Adafruit_CircuitPython_Motor"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=b72678307cc7c10910b5ef460216af07"
|
||||
|
||||
SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_Motor.git;branch=main;protocol=https"
|
||||
SRCREV = "2251bfc0501d0acfb96c0a43f4f2b4c6a10ca14e"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-adafruit-blinka \
|
||||
python3-core \
|
||||
"
|
@ -0,0 +1,22 @@
|
||||
SUMMARY = "CircuitPython helper library for DC & Stepper Motor FeatherWing, Shield, and Pi Hat kits."
|
||||
HOMEPAGE = "https://github.com/adafruit/Adafruit_CircuitPython_MotorKit"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=6ad4a8854b39ad474755ef1aea813bac"
|
||||
|
||||
SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_MotorKit.git;branch=main;protocol=https"
|
||||
SRCREV = "8c1462b4129b21f6db156d1517abb017bb74b982"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-adafruit-blinka \
|
||||
python3-adafruit-circuitpython-busdevice \
|
||||
python3-adafruit-circuitpython-motor \
|
||||
python3-adafruit-circuitpython-pca9685 \
|
||||
python3-adafruit-circuitpython-register \
|
||||
python3-core \
|
||||
"
|
@ -0,0 +1,20 @@
|
||||
SUMMARY = "CircuitPython driver for motor, stepper, and servo based on PCA9685."
|
||||
HOMEPAGE = "https://github.com/adafruit/Adafruit_CircuitPython_PCA9685"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=e7eb6b599fb0cfb06485c64cd4242f62"
|
||||
|
||||
SRC_URI = "git://github.com/adafruit/Adafruit_CircuitPython_PCA9685.git;branch=main;protocol=https"
|
||||
SRCREV = "2780c4102f4c23fbab252aa1198b61ba7e2d1b2c"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
DEPENDS += "python3-setuptools-scm-native"
|
||||
|
||||
RDEPENDS:${PN} += " \
|
||||
python3-adafruit-blinka \
|
||||
python3-adafruit-circuitpython-busdevice \
|
||||
python3-adafruit-circuitpython-register \
|
||||
python3-core \
|
||||
"
|
Reference in New Issue
Block a user