Patrick Williams | 8b8bc41 | 2016-08-17 15:02:23 -0500 | [diff] [blame] | 1 | SUMMARY = "Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission" |
| 2 | HOMEPAGE = "https://github.com/RPi-Distro/python-sense-hat" |
| 3 | SECTION = "devel/python" |
| 4 | LICENSE = "BSD" |
| 5 | LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=d80fe312e1ff5fbd97369b093bf21cda" |
| 6 | |
| 7 | SRCNAME = "sense-hat" |
| 8 | |
| 9 | SRC_URI = "https://pypi.python.org/packages/source/s/${SRCNAME}/${SRCNAME}-${PV}.tar.gz" |
| 10 | |
| 11 | SRC_URI[md5sum] = "71217f15ea963040f06e2f50722186ca" |
| 12 | SRC_URI[sha256sum] = "c6c76707c0ea514e4b0f1f96f1b5b79755875891aae037df7434b6aad7b9dbca" |
| 13 | |
| 14 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
| 15 | |
| 16 | inherit setuptools |
| 17 | |
| 18 | DEPENDS += " \ |
| 19 | jpeg \ |
| 20 | zlib \ |
| 21 | freetype \ |
| 22 | " |
| 23 | |
| 24 | RDEPENDS_${PN} += " \ |
| 25 | python-numpy \ |
| 26 | python-rtimu \ |
| 27 | python-imaging \ |
| 28 | " |