# Contributor: ScrumpyJack # Maintainer: ScrumpyJack pkgname=py3-sensehat _pkgname=python-sense-hat pkgver=2.2.0 pkgrel=6 pkgdesc="Python3 module to control the Raspberry Pi Sense HAT" url="https://www.raspberrypi.org/products/sense-hat/" arch="armhf armv7" license="BSD-3-Clause" depends="python3" options="!check" # Package doesn't provide tests makedepends="py3-setuptools" source="$_pkgname-$pkgver.tar.gz::https://github.com/RPi-Distro/$_pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-sensehat" # Backwards compatibility provides="py-sensehat=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="71914f6f22206cff23992a6908698978741a46bf9b98648388bac4550f39e8de73db6bd389b79585eba6e82160649a8c8da4217d515bbdbcb50d47218415f3ac python-sense-hat-2.2.0.tar.gz"