summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ros/calibration_launch/calibration_launch-0.10.15-r1.ebuild (renamed from dev-ros/calibration_launch/calibration_launch-0.10.15.ebuild)1
-rw-r--r--dev-ros/calibration_launch/calibration_launch-9999.ebuild3
-rw-r--r--dev-ros/calibration_launch/files/py3.patch13
3 files changed, 16 insertions, 1 deletions
diff --git a/dev-ros/calibration_launch/calibration_launch-0.10.15.ebuild b/dev-ros/calibration_launch/calibration_launch-0.10.15-r1.ebuild
index a8bb4541e2b..2ea52c5982a 100644
--- a/dev-ros/calibration_launch/calibration_launch-0.10.15.ebuild
+++ b/dev-ros/calibration_launch/calibration_launch-0.10.15-r1.ebuild
@@ -22,3 +22,4 @@ RDEPEND="
dev-ros/roslaunch
dev-libs/urdfdom
"
+PATCHES=( "${FILESDIR}/py3.patch" )
diff --git a/dev-ros/calibration_launch/calibration_launch-9999.ebuild b/dev-ros/calibration_launch/calibration_launch-9999.ebuild
index b3b79675727..2ea52c5982a 100644
--- a/dev-ros/calibration_launch/calibration_launch-9999.ebuild
+++ b/dev-ros/calibration_launch/calibration_launch-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,3 +22,4 @@ RDEPEND="
dev-ros/roslaunch
dev-libs/urdfdom
"
+PATCHES=( "${FILESDIR}/py3.patch" )
diff --git a/dev-ros/calibration_launch/files/py3.patch b/dev-ros/calibration_launch/files/py3.patch
new file mode 100644
index 00000000000..ee9aa2c41f3
--- /dev/null
+++ b/dev-ros/calibration_launch/files/py3.patch
@@ -0,0 +1,13 @@
+Index: calibration_launch/src/capture_executive/robot_measurement_cache.py
+===================================================================
+--- calibration_launch.orig/src/capture_executive/robot_measurement_cache.py
++++ calibration_launch/src/capture_executive/robot_measurement_cache.py
+@@ -174,7 +174,7 @@ class RobotMeasurementCache:
+ return m
+
+ # TODO: eliminate print statement or convert to rospy.log*
+- print "Received everything!"
++ print("Received everything!")
+
+ # Push everything into a RobotMeasurement message
+ m_robot = RobotMeasurement()