All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Anavi <leon@anavi.org>
To: yocto@yoctoproject.org
Subject: [meta-raspberrypi][PATCH 2/2] python-sense-hat: Add recipe to support Raspberry Pi Sense HAT
Date: Sun, 20 Dec 2015 22:53:17 +0200	[thread overview]
Message-ID: <1450644797-13141-2-git-send-email-leon@anavi.org> (raw)
In-Reply-To: <1450644797-13141-1-git-send-email-leon@anavi.org>

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>
---
 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} += " \
+		jpeg \
+		jpeg-dev \
+		zlib \
+		zlib-dev \
+		freetype \
+		freetype-dev \
+		"
+
+RDEPENDS_${PN} += " \
+		python-numpy \
+		python-rtimu \
+		python-imaging \
+		"
-- 
2.5.0



  reply	other threads:[~2015-12-20 20:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-20 20:53 [meta-raspberrypi][PATCH 1/2] python-rtimu: Add recipe to support RTIMULib Leon Anavi
2015-12-20 20:53 ` Leon Anavi [this message]
2015-12-20 21:43   ` [meta-raspberrypi][PATCH 2/2] python-sense-hat: Add recipe to support Raspberry Pi Sense HAT Khem Raj
2015-12-20 22:00     ` Leon Anavi
2015-12-20 22:01       ` Khem Raj
2015-12-20 22:19         ` Leon Anavi
2016-01-07 15:14           ` Leon Anavi
2016-01-11 10:08 ` [meta-raspberrypi][PATCH 1/2] python-rtimu: Add recipe to support RTIMULib Andrei Gherzan
2016-01-11 11:45   ` Leon Anavi
2015-12-20 21:58 [meta-raspberrypi][PATCH 2/2] python-sense-hat: Add recipe to support Raspberry Pi Sense HAT Leon Anavi
2016-01-11 10:06 ` Andrei Gherzan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450644797-13141-2-git-send-email-leon@anavi.org \
    --to=leon@anavi.org \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.