summaryrefslogtreecommitdiff
path: root/dev-python/sense-hat
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/sense-hat')
-rw-r--r--dev-python/sense-hat/Manifest5
-rw-r--r--dev-python/sense-hat/metadata.xml18
-rw-r--r--dev-python/sense-hat/sense-hat-2.4.0.ebuild27
-rw-r--r--dev-python/sense-hat/sense-hat-2.6.0.ebuild27
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-python/sense-hat/Manifest b/dev-python/sense-hat/Manifest
new file mode 100644
index 000000000000..3fd9ef55cef0
--- /dev/null
+++ b/dev-python/sense-hat/Manifest
@@ -0,0 +1,5 @@
+DIST sense-hat-2.4.0.gh.tar.gz 27396 BLAKE2B 7f7482e17f80a3598c92f53f7a5b99ce4f5da10a5fc9ba6de656b6e18db323f8133f720d1486c3ecbe9badfdfe597c5365d2ba17ff637933d3053ec52f36dcfa SHA512 b2ce6c231b814d415dcf72b1031b29fd2309ccf194b8996401b1d3d7ff356ad4ed83a9ecff7c182410f789c3f1f47c3a6d64dd53884abf952f928734b94e54a5
+DIST sense-hat-2.6.0.gh.tar.gz 26598 BLAKE2B eabb9cae494584bb05d4d6e7111284925c2be8c8abcfe0f346f148ab2e29bae4ee3adf46aa1c83ad098760f7adf57635fa7b392effa5ffab065562c0f8a60e17 SHA512 23a10b7af223bf373ecef987c40da6ec7b7e802169b8abb0a810dce369d969276c290aef9b9e6e70ee3824ce6d238dcc2654e06d87d0e05b056d11f64ac9209a
+EBUILD sense-hat-2.4.0.ebuild 639 BLAKE2B 09aaec1c75bac78c413bc5736275edb086638ee5df26408225e770802f43149fd6bb9dcb815170d1047f979b6786bcb83adc5006d1a618a4e8fc57e5ff1a13a1 SHA512 a9871f4858dc734f4c38ffaf62d33323054fea14cb9b7181e7ce9db2a1e42c8afe97ecf759714035882ad646870148aca9ffd44919769cae2096eba336f16bb0
+EBUILD sense-hat-2.6.0.ebuild 642 BLAKE2B dd371d659e3cdb424d46d9e0f0c4e9be57ea0b89c9d70d4590a9f988e768d8ed3c818f66223f80e7e90f5880c78a76658ce3a432b3475a3341eee2113c6b5458 SHA512 deb7746a932662ec5f5845729863469cb66d823c6ffa14db14fe0899d41af1aa7cd92672ac682e6f34ea1383eaa41d4b9c9ebe9f85bf66d781458c0d2682f2d9
+MISC metadata.xml 696 BLAKE2B 8c66d39989f0a29eb4b674afdfea3787c8ea4446d7fd41713f1a77d5e76c926f71200b685e3ca243dfac9c88ac9b7c11569fc36dc5c08e39e6aad24cc2ff94f7 SHA512 4c8725ab9fd8388006ccba8befe362e59962d9cc368d541dc57686544c10d81b891ff20788f6e209d79eaaabce3f857045b88acc5fb87a54995046e4b6ad21e9
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}"
diff --git a/dev-python/sense-hat/sense-hat-2.6.0.ebuild b/dev-python/sense-hat/sense-hat-2.6.0.ebuild
new file mode 100644
index 000000000000..e628fd7360e8
--- /dev/null
+++ b/dev-python/sense-hat/sense-hat-2.6.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_{10..12} )
+
+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}"