diff options
Diffstat (limited to 'dev-ros/resource_retriever/resource_retriever-1.12.7.ebuild')
-rw-r--r-- | dev-ros/resource_retriever/resource_retriever-1.12.7.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ros/resource_retriever/resource_retriever-1.12.7.ebuild b/dev-ros/resource_retriever/resource_retriever-1.12.7.ebuild new file mode 100644 index 000000000000..1ce7de9a14ac --- /dev/null +++ b/dev-ros/resource_retriever/resource_retriever-1.12.7.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +ROS_REPO_URI="https://github.com/ros/resource_retriever" +KEYWORDS="~amd64 ~arm" + +inherit ros-catkin + +DESCRIPTION="Retrieves data from url-format files" +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND=" + dev-ros/rosconsole + dev-ros/roslib[${PYTHON_SINGLE_USEDEP}] + net-misc/curl + $(python_gen_cond_dep "dev-python/rospkg[\${PYTHON_USEDEP}]") +" +DEPEND="${RDEPEND} + test? ( dev-cpp/gtest )" + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + if has network-sandbox ${FEATURES}; then + einfo "Skipping network tests due to network sandbox" + export GTEST_FILTER='-Retriever.http' + export NOSE_TESTMATCH='^(?!test_http).*' + fi + ros-catkin_src_test +} |