From c6b0082306e9c8723f43f8e9d48845d7126c0ddc 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 (cherry picked from commit 08d27cd7997867de69548d04f29d1d2d493791f3) Signed-off-by: Ricardo Salveti --- .../python/python3-sense-hat_2.2.0.bb | 24 ++++++++++++++++++++++ recipes-devtools/python/python3-sense-hat_2.2.0.bb | 24 ---------------------- 2 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 dynamic-layers/meta-python/recipes-devtools/python/python3-sense-hat_2.2.0.bb delete mode 100644 recipes-devtools/python/python3-sense-hat_2.2.0.bb 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 \ + " diff --git a/recipes-devtools/python/python3-sense-hat_2.2.0.bb b/recipes-devtools/python/python3-sense-hat_2.2.0.bb deleted file mode 100644 index 6195d28..0000000 --- a/recipes-devtools/python/python3-sense-hat_2.2.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -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