diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2023-12-25 20:09:46 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-12-25 20:12:24 +0100 |
commit | cf2dae59103238d4bb746d66844da11e54e06457 (patch) | |
tree | 08f4bc02e83edd7a6ff1d75e6fafc9d504ac342c /dev-python/sense-hat | |
parent | sys-apps/xdg-desktop-portal: Stabilize 1.18.2 arm64, #916443 (diff) | |
download | gentoo-cf2dae59103238d4bb746d66844da11e54e06457.tar.gz gentoo-cf2dae59103238d4bb746d66844da11e54e06457.tar.bz2 gentoo-cf2dae59103238d4bb746d66844da11e54e06457.zip |
dev-python/python-sense-hat: movepkg to dev-python/sense-hat
Bug: https://bugs.gentoo.org/920647
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-python/sense-hat')
-rw-r--r-- | dev-python/sense-hat/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sense-hat/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/sense-hat/sense-hat-2.4.0.ebuild | 27 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/sense-hat/Manifest b/dev-python/sense-hat/Manifest new file mode 100644 index 000000000000..c363d63d73a5 --- /dev/null +++ b/dev-python/sense-hat/Manifest @@ -0,0 +1 @@ +DIST sense-hat-2.4.0.gh.tar.gz 27396 BLAKE2B 7f7482e17f80a3598c92f53f7a5b99ce4f5da10a5fc9ba6de656b6e18db323f8133f720d1486c3ecbe9badfdfe597c5365d2ba17ff637933d3053ec52f36dcfa SHA512 b2ce6c231b814d415dcf72b1031b29fd2309ccf194b8996401b1d3d7ff356ad4ed83a9ecff7c182410f789c3f1f47c3a6d64dd53884abf952f928734b94e54a5 diff --git a/dev-python/sense-hat/metadata.xml b/dev-python/sense-hat/metadata.xml new file mode 100644 index 000000000000..036fcee9c23f --- /dev/null +++ b/dev-python/sense-hat/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>conikost@gentoo.org</email> + <name>Conrad Kostecki</name> + </maintainer> + <longdescription> + 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. + </longdescription> + <upstream> + <bugs-to>https://github.com/astro-pi/python-sense-hat/issues</bugs-to> + <remote-id type="github">astro-pi/python-sense-hat</remote-id> + <remote-id type="pypi">sense-hat</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sense-hat/sense-hat-2.4.0.ebuild b/dev-python/sense-hat/sense-hat-2.4.0.ebuild new file mode 100644 index 000000000000..8fd3c87b3cc6 --- /dev/null +++ b/dev-python/sense-hat/sense-hat-2.4.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +MY_PN="python-${PN}" +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Raspberry Pi Sense HAT python library" +HOMEPAGE="https://github.com/astro-pi/python-sense-hat" +SRC_URI="https://github.com/astro-pi/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +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}" |