* [gentoo-commits] repo/gentoo:master commit in: dev-ros/calibration_launch/, dev-ros/calibration_launch/files/
@ 2021-08-03 14:12 Alexis Ballier
0 siblings, 0 replies; only message in thread
From: Alexis Ballier @ 2021-08-03 14:12 UTC (permalink / raw
To: gentoo-commits
commit: 66bbe8e67840381998aeeffa13848e4f410e376a
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 3 13:50:32 2021 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Aug 3 14:12:20 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66bbe8e6
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 <AT> gentoo.org>
...-0.10.15.ebuild => calibration_launch-0.10.15-r1.ebuild} | 1 +
dev-ros/calibration_launch/calibration_launch-9999.ebuild | 3 ++-
dev-ros/calibration_launch/files/py3.patch | 13 +++++++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
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
similarity index 93%
rename from dev-ros/calibration_launch/calibration_launch-0.10.15.ebuild
rename to 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()
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-03 14:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-03 14:12 [gentoo-commits] repo/gentoo:master commit in: dev-ros/calibration_launch/, dev-ros/calibration_launch/files/ Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox