python3-adafruit-pureio: add recipe

Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
(cherry picked from commit f80b8d2dff)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
This commit is contained in:
Chris Laplante 2021-02-21 09:43:55 -05:00 committed by Andrei Gherzan
parent a054cc3c4e
commit 61dbe0edd7

View File

@ -0,0 +1,19 @@
SUMMARY = "Pure python (i.e. no native extensions) access to Linux IO including I2C and SPI. Drop in replacement for smbus and spidev modules."
HOMEPAGE = "https://github.com/adafruit/Adafruit_Python_PureIO"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=2a21fcca821a506d4c36f7bbecc0d009"
SRC_URI = "git://github.com/adafruit/Adafruit_Python_PureIO.git"
SRCREV = "f4d0973da05b8b21905ff6bab69cdb652128f342"
S = "${WORKDIR}/git"
inherit setuptools3
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS_${PN} += " \
python3-core \
python3-ctypes \
python3-fcntl \
"