On 2015-12-21 00:01, Khem Raj wrote:
On Sun, Dec 20, 2015 at 2:00 PM, Leon Anavi <l...@anavi.org> wrote:
On 2015-12-20 23:43, Khem Raj wrote:

On Sun, Dec 20, 2015 at 12:53 PM, Leon Anavi <l...@anavi.org> wrote:

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 <l...@anavi.org>
---
 recipes-devtools/python/python-sense-hat_2.1.0.bb | 31
+++++++++++++++++++++++
 1 file changed, 31 insertions(+)
create mode 100644 recipes-devtools/python/python-sense-hat_2.1.0.bb

diff --git a/recipes-devtools/python/python-sense-hat_2.1.0.bb
b/recipes-devtools/python/python-sense-hat_2.1.0.bb
new file mode 100644
index 0000000..0665536
--- /dev/null
+++ b/recipes-devtools/python/python-sense-hat_2.1.0.bb
@@ -0,0 +1,31 @@
+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_${PN} += " \


Just use DEPENDS here and remove -dev entries below, its implied with
DEPENDS


Done. I resubmitted this patch again. Thank you for the help.


Looks good now. Thx

It was my pleasure. Thanks again for the feedback.

Btw a quick and easy way to test the result on Raspberry Pi with a Sense HAT:

wget https://github.com/leon-anavi/python-sense-hat-scripts/archive/master.zip
unzip master.zip
cd python-sense-hat-scripts-master/
python python-sense-hat-text.py

If everything is OK you should see red text "Hello" scrolling on the LED matrix of the Sense HAT.

Best regards,
Leon


Best regards, Leon



+               jpeg \
+               jpeg-dev \
+               zlib \
+               zlib-dev \
+               freetype \
+               freetype-dev \
+               "
+
+RDEPENDS_${PN} += " \
+               python-numpy \
+               python-rtimu \
+               python-imaging \
+               "
--
2.5.0

--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


--
http://anavi.org/

--
http://anavi.org/
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to