dev-python/rtimulib: add python3.7 support.
authorConrad Kostecki <conrad@kostecki.com>
Sun, 28 Oct 2018 15:52:16 +0000 (16:52 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Mon, 29 Oct 2018 23:15:09 +0000 (00:15 +0100)
Also bumped to EAPI=7 and updated metadata.xml.

Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10274
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-python/rtimulib/metadata.xml
dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild [new file with mode: 0644]

index 54d5423c4060b16ec2546044708941ce2755e2ee..f9570ce600ab6a7b4bd26537cee4793ad9e718ab 100644 (file)
@@ -9,4 +9,14 @@
                <email>proxy-maint@gentoo.org</email>
                <name>Proxy Maintainers</name>
        </maintainer>
+       <longdescription>
+               RTIMULib is the simplest way to connect a 9-dof, 10-dof or 11-dof IMU
+               to an embedded Linux system and obtain Kalman-filtered quaternion or
+               Euler angle pose data. Basically, two simple funtion calls
+               (IMUInit() and IMURead()) are pretty much all that's needed to integrate RTIMULib.
+       </longdescription>
+       <upstream>
+               <bugs-to>https://github.com/RPi-Distro/RTIMULib/issues</bugs-to>
+               <remote-id type="github">RPi-Distro/RTIMULib</remote-id>
+       </upstream>
 </pkgmetadata>
diff --git a/dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild b/dev-python/rtimulib/rtimulib-7.2.1-r1.ebuild
new file mode 100644 (file)
index 0000000..b593b74
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PN="RTIMULib"
+MY_P="${MY_PN}-${PV}"
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python Binding for RTIMULib, a versatile IMU library"
+HOMEPAGE="https://github.com/RPi-Distro/RTIMULib"
+SRC_URI="https://github.com/RPi-Distro/${MY_PN}/archive/V${PV}.tar.gz -> ${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/${MY_P}/Linux/python"