From fd58ce6761df721ad1283b38c5dbb099088fd25a Mon Sep 17 00:00:00 2001 From: "Andreas Billmeier (@Home/mbp)" Date: Tue, 8 Nov 2022 21:57:03 +0100 Subject: [PATCH] dev-python/python-sense-hat: new package, add 2.2.0-r3 Signed-off-by: Andreas Billmeier --- README.md | 4 +-- dev-python/python-sense-hat/Manifest | 3 +++ dev-python/python-sense-hat/metadata.xml | 18 +++++++++++++ .../python-sense-hat-2.2.0-r3.ebuild | 25 +++++++++++++++++++ 4 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 dev-python/python-sense-hat/Manifest create mode 100644 dev-python/python-sense-hat/metadata.xml create mode 100644 dev-python/python-sense-hat/python-sense-hat-2.2.0-r3.ebuild diff --git a/README.md b/README.md index 924d0fa02..81894b785 100644 --- a/README.md +++ b/README.md @@ -573,14 +573,14 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E ## Licenses This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted. -There are 1527 Ebuilds in total, 1520 of them have in total 1528 (34 different) licenses assigned. +There are 1528 Ebuilds in total, 1521 of them have in total 1529 (34 different) licenses assigned. |License| Ebuilds using it| |-------|-----| |MIT|888| |Apache-2.0|313| |GPL-3|96| -|BSD|90| +|BSD|91| |LGPL-3|21| |GPL-2|19| |GPL-3+|14| diff --git a/dev-python/python-sense-hat/Manifest b/dev-python/python-sense-hat/Manifest new file mode 100644 index 000000000..9433f0774 --- /dev/null +++ b/dev-python/python-sense-hat/Manifest @@ -0,0 +1,3 @@ +DIST python-sense-hat-2.2.0.gh.tar.gz 20841 BLAKE2B 59e6b9111fb90493e6bda00ce4a4c143dcb84d8b6529efadaf2f337adb38a8fb4287cbd9a303070ea4f335f1e03c6f4789e6f8fbe64a7c70db20675bdae7c6a1 SHA512 71914f6f22206cff23992a6908698978741a46bf9b98648388bac4550f39e8de73db6bd389b79585eba6e82160649a8c8da4217d515bbdbcb50d47218415f3ac +EBUILD python-sense-hat-2.2.0-r3.ebuild 606 BLAKE2B 4b7694cbfb12e4d544bc6d1856c913d6ca521eb7fcb38cce85daa5cd4c38722e2eba4bf33356a74aa220ce1b91b54945ce0e8097dd1d6097f0511bf49a85fc23 SHA512 d734be04f78274f28435b14aaa7b679114c8d955476c14590271492dceb965fc184657c02884e3f464eb244539b788fcdb85960aaa433aab6d3f71160abc01f3 +MISC metadata.xml 696 BLAKE2B 8c66d39989f0a29eb4b674afdfea3787c8ea4446d7fd41713f1a77d5e76c926f71200b685e3ca243dfac9c88ac9b7c11569fc36dc5c08e39e6aad24cc2ff94f7 SHA512 4c8725ab9fd8388006ccba8befe362e59962d9cc368d541dc57686544c10d81b891ff20788f6e209d79eaaabce3f857045b88acc5fb87a54995046e4b6ad21e9 diff --git a/dev-python/python-sense-hat/metadata.xml b/dev-python/python-sense-hat/metadata.xml new file mode 100644 index 000000000..036fcee9c --- /dev/null +++ b/dev-python/python-sense-hat/metadata.xml @@ -0,0 +1,18 @@ + + + + + conikost@gentoo.org + Conrad Kostecki + + + 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/astro-pi/python-sense-hat/issues + astro-pi/python-sense-hat + sense-hat + + diff --git a/dev-python/python-sense-hat/python-sense-hat-2.2.0-r3.ebuild b/dev-python/python-sense-hat/python-sense-hat-2.2.0-r3.ebuild new file mode 100644 index 000000000..7f7f84b93 --- /dev/null +++ b/dev-python/python-sense-hat/python-sense-hat-2.2.0-r3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..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/python-sense-hat/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm arm64 x86" + +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/rtimulib[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND}"