dev-python/rtimulib: add python3.7 support.

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>
This commit is contained in:
Conrad Kostecki
2018-10-28 16:52:16 +01:00
committed by Patrice Clement
parent ae6efce0fd
commit 66316ff45e
2 changed files with 32 additions and 0 deletions

View 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>

View File

@@ -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"