From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3B4D013835A for ; Fri, 7 Aug 2020 13:16:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 281A7E0843; Fri, 7 Aug 2020 13:16:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1B53E0843 for ; Fri, 7 Aug 2020 13:16:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C68E134F4C5 for ; Fri, 7 Aug 2020 13:16:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BC8A30D for ; Fri, 7 Aug 2020 13:16:35 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1596806177.72fbda4fafc96f5a480a7dfcb98409c12e0adcc2.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/costmap_2d/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ros/costmap_2d/Manifest dev-ros/costmap_2d/costmap_2d-1.17.0-r1.ebuild dev-ros/costmap_2d/costmap_2d-9999.ebuild X-VCS-Directories: dev-ros/costmap_2d/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 72fbda4fafc96f5a480a7dfcb98409c12e0adcc2 X-VCS-Branch: master Date: Fri, 7 Aug 2020 13:16:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 60c8afb7-f571-42ed-be08-a8f31c3e5e68 X-Archives-Hash: 4a692a60e0e4de065d3e3e5f7da8635f commit: 72fbda4fafc96f5a480a7dfcb98409c12e0adcc2 Author: Alexis Ballier gentoo org> AuthorDate: Fri Aug 7 12:54:13 2020 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Fri Aug 7 13:16:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72fbda4f dev-ros/costmap_2d: fix tests Closes: https://bugs.gentoo.org/736216 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier gentoo.org> dev-ros/costmap_2d/Manifest | 4 ++++ dev-ros/costmap_2d/costmap_2d-1.17.0-r1.ebuild | 21 ++++++++++++++++++++- dev-ros/costmap_2d/costmap_2d-9999.ebuild | 21 ++++++++++++++++++++- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/dev-ros/costmap_2d/Manifest b/dev-ros/costmap_2d/Manifest index a4fee98c8c5..ea5b51a1bae 100644 --- a/dev-ros/costmap_2d/Manifest +++ b/dev-ros/costmap_2d/Manifest @@ -1 +1,5 @@ +DIST costmap_2d-1.17.0-simple_driving_test_indexed.bag 945511 BLAKE2B 49cef9884a1a174548239576d720c4e49797098aed9406bbbc954abfaf28844ed432092f79d346ebe471b26f48b612d3265a2d7e2303c2f129a5109b241f6fa4 SHA512 101beca7279c1ac6eecb5af243b6ec73c280958107004d84c438a8d79ff45b1bfadeb9b1956939b339c2ed32ed3d0e9e88af11340410b34ff73943dbe5fac463 +DIST costmap_2d-1.17.0-willow-full-0.025.pgm 4255956 BLAKE2B 884ee8d9cc6d346b86d0b15ee4d0184598502094bda23e2ee3df21138ab3c8dd1fe1156dc869f452d4db1262b102653764a1a005af7fd61a142efad4adb82d90 SHA512 539fffebad08e0580e42369d98a1375cde5df7c7479e4d58cae00266cbefebb2e221f5e6b936b413498860b871221df6d5bec20b93cf7e2b8121b062138303ee +DIST costmap_2d-9999-simple_driving_test_indexed.bag 945511 BLAKE2B 49cef9884a1a174548239576d720c4e49797098aed9406bbbc954abfaf28844ed432092f79d346ebe471b26f48b612d3265a2d7e2303c2f129a5109b241f6fa4 SHA512 101beca7279c1ac6eecb5af243b6ec73c280958107004d84c438a8d79ff45b1bfadeb9b1956939b339c2ed32ed3d0e9e88af11340410b34ff73943dbe5fac463 +DIST costmap_2d-9999-willow-full-0.025.pgm 4255956 BLAKE2B 884ee8d9cc6d346b86d0b15ee4d0184598502094bda23e2ee3df21138ab3c8dd1fe1156dc869f452d4db1262b102653764a1a005af7fd61a142efad4adb82d90 SHA512 539fffebad08e0580e42369d98a1375cde5df7c7479e4d58cae00266cbefebb2e221f5e6b936b413498860b871221df6d5bec20b93cf7e2b8121b062138303ee DIST navigation-1.17.0.tar.gz 347660 BLAKE2B 8345dccf8ac5e24d1017631bb621ebaa472cc492d6361f29938501a149555771e03a6a46e16fdcc508bbe5c206ead80e9b79e9168b873685fca50a78ea7a7e13 SHA512 a536c8826bd88151ff8f51f83661282f8ccf1b19872bd91ed32987ef372797b94489380262e79ee2560ecb4d9e290c5b4f8d52c17721e2a41126eaea909bce26 diff --git a/dev-ros/costmap_2d/costmap_2d-1.17.0-r1.ebuild b/dev-ros/costmap_2d/costmap_2d-1.17.0-r1.ebuild index abc47144df8..f07bee5f0d3 100644 --- a/dev-ros/costmap_2d/costmap_2d-1.17.0-r1.ebuild +++ b/dev-ros/costmap_2d/costmap_2d-1.17.0-r1.ebuild @@ -15,12 +15,17 @@ LICENSE="BSD" SLOT="0" IUSE="" REQUIRED_USE="ros_messages_cxx" +DATA="simple_driving_test_indexed.bag willow-full-0.025.pgm" +for i in ${DATA}; do + SRC_URI="${SRC_URI} + http://download.ros.org/data/costmap_2d/${i} -> ${P}-${i}" +done RDEPEND=" dev-ros/dynamic_reconfigure[${PYTHON_SINGLE_USEDEP}] dev-ros/laser_geometry dev-ros/message_filters - dev-ros/pluginlib + >=dev-ros/pluginlib-1.13.0-r1 dev-ros/roscpp dev-ros/tf2 dev-ros/tf2_ros @@ -47,3 +52,17 @@ DEPEND="${RDEPEND} BDEPEND=" dev-ros/cmake_modules " + +src_prepare() { + ros-catkin_src_prepare + for i in ${DATA}; do + cp "${DISTDIR}/${P}-${i}" "${S}/${i}" || die + done + sed -e "s#http://download.ros.org/data/costmap_2d/#file://${S}/#" -i CMakeLists.txt || die +} + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}" + ros-catkin_src_test +} diff --git a/dev-ros/costmap_2d/costmap_2d-9999.ebuild b/dev-ros/costmap_2d/costmap_2d-9999.ebuild index abc47144df8..f07bee5f0d3 100644 --- a/dev-ros/costmap_2d/costmap_2d-9999.ebuild +++ b/dev-ros/costmap_2d/costmap_2d-9999.ebuild @@ -15,12 +15,17 @@ LICENSE="BSD" SLOT="0" IUSE="" REQUIRED_USE="ros_messages_cxx" +DATA="simple_driving_test_indexed.bag willow-full-0.025.pgm" +for i in ${DATA}; do + SRC_URI="${SRC_URI} + http://download.ros.org/data/costmap_2d/${i} -> ${P}-${i}" +done RDEPEND=" dev-ros/dynamic_reconfigure[${PYTHON_SINGLE_USEDEP}] dev-ros/laser_geometry dev-ros/message_filters - dev-ros/pluginlib + >=dev-ros/pluginlib-1.13.0-r1 dev-ros/roscpp dev-ros/tf2 dev-ros/tf2_ros @@ -47,3 +52,17 @@ DEPEND="${RDEPEND} BDEPEND=" dev-ros/cmake_modules " + +src_prepare() { + ros-catkin_src_prepare + for i in ${DATA}; do + cp "${DISTDIR}/${P}-${i}" "${S}/${i}" || die + done + sed -e "s#http://download.ros.org/data/costmap_2d/#file://${S}/#" -i CMakeLists.txt || die +} + +src_test() { + export ROS_PACKAGE_PATH="${S}:${ROS_PACKAGE_PATH}" + export CATKIN_PREFIX_PATH="${BUILD_DIR}/devel/:${CATKIN_PREFIX_PATH}" + ros-catkin_src_test +}