diff --git a/dev-python/python-sense-hat/metadata.xml b/dev-python/python-sense-hat/metadata.xml index 54d5423c4060b..eb43e658b3047 100644 --- a/dev-python/python-sense-hat/metadata.xml +++ b/dev-python/python-sense-hat/metadata.xml @@ -9,4 +9,13 @@ proxy-maint@gentoo.org Proxy Maintainers + + Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission. + An education outreach programme for UK schools sending code experiments + to the International Space Station. + + + https://github.com/RPi-Distro/python-sense-hat/issues + RPi-Distro/python-sense-hat + diff --git a/dev-python/python-sense-hat/python-sense-hat-2.2.0-r1.ebuild b/dev-python/python-sense-hat/python-sense-hat-2.2.0-r1.ebuild new file mode 100644 index 0000000000000..fed87a383669c --- /dev/null +++ b/dev-python/python-sense-hat/python-sense-hat-2.2.0-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) + +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="${RDEPEND}" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"