Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rtimulib/
Date: Mon, 29 Oct 2018 23:15:29
Message-Id: 1540854909.66316ff45e6df5c0399fafeb7685188fced32efb.monsieurp@gentoo
1 commit: 66316ff45e6df5c0399fafeb7685188fced32efb
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Sun Oct 28 15:52:16 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 29 23:15:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66316ff4
7
8 dev-python/rtimulib: 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/10274
15 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
16
17 dev-python/rtimulib/metadata.xml | 10 ++++++++++
18 dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild | 22 ++++++++++++++++++++++
19 2 files changed, 32 insertions(+)
20
21 diff --git a/dev-python/rtimulib/metadata.xml b/dev-python/rtimulib/metadata.xml
22 index 54d5423c406..f9570ce600a 100644
23 --- a/dev-python/rtimulib/metadata.xml
24 +++ b/dev-python/rtimulib/metadata.xml
25 @@ -9,4 +9,14 @@
26 <email>proxy-maint@g.o</email>
27 <name>Proxy Maintainers</name>
28 </maintainer>
29 + <longdescription>
30 + RTIMULib is the simplest way to connect a 9-dof, 10-dof or 11-dof IMU
31 + to an embedded Linux system and obtain Kalman-filtered quaternion or
32 + Euler angle pose data. Basically, two simple funtion calls
33 + (IMUInit() and IMURead()) are pretty much all that's needed to integrate RTIMULib.
34 + </longdescription>
35 + <upstream>
36 + <bugs-to>https://github.com/RPi-Distro/RTIMULib/issues</bugs-to>
37 + <remote-id type="github">RPi-Distro/RTIMULib</remote-id>
38 + </upstream>
39 </pkgmetadata>
40
41 diff --git a/dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild b/dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild
42 new file mode 100644
43 index 00000000000..b593b743008
44 --- /dev/null
45 +++ b/dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild
46 @@ -0,0 +1,22 @@
47 +# Copyright 1999-2018 Gentoo Authors
48 +# Distributed under the terms of the GNU General Public License v2
49 +
50 +EAPI="7"
51 +
52 +MY_PN="RTIMULib"
53 +MY_P="${MY_PN}-${PV}"
54 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
55 +
56 +inherit distutils-r1
57 +
58 +DESCRIPTION="Python Binding for RTIMULib, a versatile IMU library"
59 +HOMEPAGE="https://github.com/RPi-Distro/RTIMULib"
60 +SRC_URI="https://github.com/RPi-Distro/${MY_PN}/archive/V${PV}.tar.gz -> ${MY_P}.tar.gz"
61 +
62 +LICENSE="MIT"
63 +SLOT="0"
64 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
65 +
66 +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
67 +
68 +S="${WORKDIR}/${MY_P}/Linux/python"