mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
python-sense-hat: Add recipe to support Raspberry Pi Sense HAT
Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission. This recipe provides the officially supported library for the Sense HAT with access to all of the on-board sensors and the LED matrix. Signed-off-by: Leon Anavi <leon@anavi.org> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
parent
f2cff839f5
commit
509f042280
28
recipes-devtools/python/python-sense-hat_2.1.0.bb
Normal file
28
recipes-devtools/python/python-sense-hat_2.1.0.bb
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
SUMMARY = "Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission"
|
||||||
|
HOMEPAGE = "https://github.com/RPi-Distro/python-sense-hat"
|
||||||
|
SECTION = "devel/python"
|
||||||
|
LICENSE = "BSD"
|
||||||
|
LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=d80fe312e1ff5fbd97369b093bf21cda"
|
||||||
|
|
||||||
|
SRCNAME = "sense-hat"
|
||||||
|
|
||||||
|
SRC_URI = "https://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "71217f15ea963040f06e2f50722186ca"
|
||||||
|
SRC_URI[sha256sum] = "c6c76707c0ea514e4b0f1f96f1b5b79755875891aae037df7434b6aad7b9dbca"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
||||||
|
|
||||||
|
inherit setuptools
|
||||||
|
|
||||||
|
DEPENDS += " \
|
||||||
|
jpeg \
|
||||||
|
zlib \
|
||||||
|
freetype \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} += " \
|
||||||
|
python-numpy \
|
||||||
|
python-rtimu \
|
||||||
|
python-imaging \
|
||||||
|
"
|
Loading…
Reference in New Issue
Block a user