# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 ROS_REPO_URI="https://github.com/ros/genpy" KEYWORDS="~amd64 ~arm" PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) inherit ros-catkin DESCRIPTION="Python ROS message and service generators" HOMEPAGE="http://wiki.ros.org/genpy" LICENSE="BSD" SLOT="0/${PV}" IUSE="" RDEPEND="dev-ros/genmsg[${PYTHON_USEDEP}]" DEPEND="${RDEPEND} test? ( dev-python/pyyaml[${PYTHON_USEDEP}] dev-python/nose[${PYTHON_USEDEP}] ) " python_test() { cd "${BUILD_DIR}" PYTHONPATH="${S}/src" nosetests --verbose -w "${S}/test" || die } src_test() { python_foreach_impl python_test }