You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
944 B
35 lines
944 B
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
ROS_REPO_URI="https://github.com/ros-geographic-info/unique_identifier"
|
|
VER_PREFIX=unique_identifier-
|
|
KEYWORDS="~amd64 ~arm"
|
|
ROS_SUBDIR=${PN}
|
|
|
|
inherit ros-catkin
|
|
|
|
DESCRIPTION="ROS Python and C++ interfaces for universally unique identifiers"
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
IUSE=""
|
|
|
|
RDEPEND="
|
|
dev-ros/uuid_msgs[${CATKIN_MESSAGES_PYTHON_USEDEP}]
|
|
dev-ros/rospy[${PYTHON_SINGLE_USEDEP}]
|
|
dev-ros/roscpp
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
dev-ros/uuid_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
|
|
test? (
|
|
dev-cpp/gtest
|
|
$(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
|
|
)"
|
|
PATCHES=( "${FILESDIR}/tests.patch" )
|
|
|
|
src_test() {
|
|
# Those tests fail and are commented as undefined behavior in the code
|
|
export GTEST_FILTER='-BoostUUID.fromUrnString:BoostUUID.fromTooLongString:BoostUUID2.fromUrnString:BoostUUID2.fromTooLongString'
|
|
ros-catkin_src_test
|
|
}
|