dev-python/python-sense-hat: New package

Closes: https://bugs.gentoo.org/571234
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9108
Closes: https://bugs.gentoo.org/571234
This commit is contained in:
Conrad Kostecki
2018-07-08 00:24:01 +02:00
committed by Tony Vroon
parent 2462b28277
commit ca8783ab7d
3 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Raspberry Pi Sense HAT python library"
HOMEPAGE="https://github.com/RPi-Distro/python-sense-hat"
SRC_URI="https://github.com/RPi-Distro/python-sense-hat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~arm ~arm64"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
dev-python/rtimulib[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${RDEPEND}"