summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2021-08-03 15:50:32 +0200
committerAlexis Ballier <aballier@gentoo.org>2021-08-03 16:12:20 +0200
commit66bbe8e67840381998aeeffa13848e4f410e376a (patch)
tree26645429b61d3b66c37497a90de7465660d321e6 /dev-ros/calibration_launch
parentdev-ros/calibration_launch: Remove old (diff)
downloadgentoo-66bbe8e67840381998aeeffa13848e4f410e376a.tar.gz
gentoo-66bbe8e67840381998aeeffa13848e4f410e376a.tar.bz2
gentoo-66bbe8e67840381998aeeffa13848e4f410e376a.zip
dev-ros/calibration_launch: fix python script
Closes: https://bugs.gentoo.org/803008 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/calibration_launch')
-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 a8bb4541e2b0..2ea52c5982a2 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 b3b796757277..2ea52c5982a2 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 000000000000..ee9aa2c41f34
--- /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()