1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_4,3_5} )
8 if [ "${PV#9999}" != "${PV}" ] ; then
10 EGIT_REPO_URI="https://github.com/orocos/orocos_kinematics_dynamics"
13 inherit ${SCM} python-r1 cmake-utils
15 if [ "${PV#9999}" != "${PV}" ] ; then
19 KEYWORDS="~amd64 ~arm"
20 SRC_URI="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${PV}.tar.gz -> orocos_kinematics_dynamics-${PV}.tar.gz"
23 DESCRIPTION="Python bindings for KDL"
24 HOMEPAGE="http://www.orocos.org/kdl"
28 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
33 dev-python/sip[${PYTHON_USEDEP}]"
36 if [ "${PV#9999}" != "${PV}" ] ; then
37 S=${WORKDIR}/${P}/python_orocos_kdl
39 S=${WORKDIR}/orocos_kinematics_dynamics-${PV}/python_orocos_kdl
43 python_foreach_impl cmake-utils_src_configure
47 python_foreach_impl cmake-utils_src_compile
51 python_foreach_impl cmake-utils_src_test
55 python_foreach_impl cmake-utils_src_install
57 # Need to have package.xml in our custom gentoo path
58 insinto /usr/share/ros_packages/${PN}
59 doins "${ED}/usr/share/${PN}/package.xml"