1 |
commit: fa84ccf43fd4bb629b3953400c518a52185fd528 |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Sun Oct 28 16:03:37 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 29 23:15:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa84ccf4 |
7 |
|
8 |
dev-python/python-sense-hat: add python3.7 support |
9 |
|
10 |
Also bumped to EAPI=7 and updated metadata.xml. |
11 |
|
12 |
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com> |
13 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
14 |
Closes: https://github.com/gentoo/gentoo/pull/10275 |
15 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
16 |
|
17 |
dev-python/python-sense-hat/metadata.xml | 9 ++++++++ |
18 |
.../python-sense-hat-2.2.0-r1.ebuild | 25 ++++++++++++++++++++++ |
19 |
2 files changed, 34 insertions(+) |
20 |
|
21 |
diff --git a/dev-python/python-sense-hat/metadata.xml b/dev-python/python-sense-hat/metadata.xml |
22 |
index 54d5423c406..eb43e658b30 100644 |
23 |
--- a/dev-python/python-sense-hat/metadata.xml |
24 |
+++ b/dev-python/python-sense-hat/metadata.xml |
25 |
@@ -9,4 +9,13 @@ |
26 |
<email>proxy-maint@g.o</email> |
27 |
<name>Proxy Maintainers</name> |
28 |
</maintainer> |
29 |
+ <longdescription> |
30 |
+ Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission. |
31 |
+ An education outreach programme for UK schools sending code experiments |
32 |
+ to the International Space Station. |
33 |
+ </longdescription> |
34 |
+ <upstream> |
35 |
+ <bugs-to>https://github.com/RPi-Distro/python-sense-hat/issues</bugs-to> |
36 |
+ <remote-id type="github">RPi-Distro/python-sense-hat</remote-id> |
37 |
+ </upstream> |
38 |
</pkgmetadata> |
39 |
|
40 |
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 |
41 |
new file mode 100644 |
42 |
index 00000000000..fed87a38366 |
43 |
--- /dev/null |
44 |
+++ b/dev-python/python-sense-hat/python-sense-hat-2.2.0-r1.ebuild |
45 |
@@ -0,0 +1,25 @@ |
46 |
+# Copyright 1999-2018 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI="7" |
50 |
+ |
51 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) |
52 |
+ |
53 |
+inherit distutils-r1 |
54 |
+ |
55 |
+DESCRIPTION="Raspberry Pi Sense HAT python library" |
56 |
+HOMEPAGE="https://github.com/RPi-Distro/python-sense-hat" |
57 |
+SRC_URI="https://github.com/RPi-Distro/python-sense-hat/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
58 |
+ |
59 |
+LICENSE="BSD" |
60 |
+SLOT="0" |
61 |
+KEYWORDS="~arm ~arm64" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
65 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
66 |
+ dev-python/rtimulib[${PYTHON_USEDEP}] |
67 |
+" |
68 |
+ |
69 |
+DEPEND="${RDEPEND}" |
70 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |