# Copyright 2022 Open Source Robotics Foundation # Distributed under the terms of the BSD license EAPI=6 PYTHON_COMPAT=( python{3_5,3_6} ) inherit ament-python DESCRIPTION="Converts between Python dictionaries and JSON to rclpy messages." HOMEPAGE="http://ros.org/wiki/rospy_message_converter" SRC_URI="https://github.com/ros2-gbp/rospy_message_converter-release/archive/release/galactic/${PN}/2.0.0-1.tar.gz -> ${PN}-galactic-release-${PV}.tar.gz" LICENSE="Apache-2.0" KEYWORDS="~x86 ~amd64 ~arm ~arm64" IUSE="test" RDEPEND=" ros-galactic/rclpy ros-galactic/rosidl_parser ros-galactic/rosidl_runtime_py test? ( ros-galactic/ament_copyright ) test? ( ros-galactic/ament_flake8 ) test? ( ros-galactic/ament_pep257 ) test? ( ros-galactic/rclpy_message_converter_msgs ) test? ( ros-galactic/std_msgs ) test? ( ros-galactic/std_srvs ) dev-python/numpy test? ( dev-python/pytest ) " DEPEND="${RDEPEND} ros-galactic/builtin_interfaces ros-galactic/rosidl_default_generators " SLOT="0" ROS_DISTRO="galactic" ROS_PREFIX="opt/ros/${ROS_DISTRO}"