From 08d27cd7997867de69548d04f29d1d2d493791f3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 24 Nov 2020 22:39:57 -0800 Subject: python3-sense-hat: Move to dynamic-layers Only active when meta-python is in layermix, this recipe rdeps on python3-pillow, which comes from meta-python, until that moves to oe-core lets hide this recipe unless meta-python is used Signed-off-by: Khem Raj --- .../python/python3-sense-hat_2.2.0.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dynamic-layers/meta-python/recipes-devtools/python/python3-sense-hat_2.2.0.bb (limited to 'dynamic-layers/meta-python') diff --git a/dynamic-layers/meta-python/recipes-devtools/python/python3-sense-hat_2.2.0.bb b/dynamic-layers/meta-python/recipes-devtools/python/python3-sense-hat_2.2.0.bb new file mode 100644 index 0000000..6195d28 --- /dev/null +++ b/dynamic-layers/meta-python/recipes-devtools/python/python3-sense-hat_2.2.0.bb @@ -0,0 +1,24 @@ +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" + +inherit setuptools3 pypi + +PYPI_PACKAGE = "sense-hat" + +SRC_URI[md5sum] = "69929250cb72349a8a82edf2584b1d83" +SRC_URI[sha256sum] = "f000998d042d96ed722d459312e1bebd0107f9f3015cd34b3e4fabcab9c800af" + +DEPENDS += " \ + jpeg \ + zlib \ + freetype \ + " + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-numpy \ + ${PYTHON_PN}-rtimu \ + ${PYTHON_PN}-pillow \ + " -- cgit v1.2.3-54-g00ecf