summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2021-08-03 10:18:38 +0200
committerAlexis Ballier <aballier@gentoo.org>2021-08-03 12:50:10 +0200
commit09d3c80f189eb96a7b966a8b444b00328e3425f7 (patch)
tree60c7d829c45e3da1f417e8b550310331ef08fd63 /dev-ros/calibration_estimation
parentros-meta/calibration: Bump to 0.10.15. (diff)
downloadgentoo-09d3c80f189eb96a7b966a8b444b00328e3425f7.tar.gz
gentoo-09d3c80f189eb96a7b966a8b444b00328e3425f7.tar.bz2
gentoo-09d3c80f189eb96a7b966a8b444b00328e3425f7.zip
dev-ros/calibration_estimation: upstream now supports py3
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/calibration_estimation')
-rw-r--r--dev-ros/calibration_estimation/calibration_estimation-0.10.15.ebuild2
-rw-r--r--dev-ros/calibration_estimation/calibration_estimation-9999.ebuild4
2 files changed, 1 insertions, 5 deletions
diff --git a/dev-ros/calibration_estimation/calibration_estimation-0.10.15.ebuild b/dev-ros/calibration_estimation/calibration_estimation-0.10.15.ebuild
index 266d2c3caf21..65951f6a974b 100644
--- a/dev-ros/calibration_estimation/calibration_estimation-0.10.15.ebuild
+++ b/dev-ros/calibration_estimation/calibration_estimation-0.10.15.ebuild
@@ -30,12 +30,10 @@ DEPEND="${RDEPEND}
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
$(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
)"
-PATCHES=( "${FILESDIR}/py3.patch" )
src_prepare() {
ros-catkin_src_prepare
sed -e 's/yaml.load/yaml.safe_load/g' -i src/*/*.py -i test/*.py || die
- 2to3 -w src/*/*.py src/*/*/*.py test/*.py || die
}
src_test() {
diff --git a/dev-ros/calibration_estimation/calibration_estimation-9999.ebuild b/dev-ros/calibration_estimation/calibration_estimation-9999.ebuild
index d445cebc3fda..65951f6a974b 100644
--- a/dev-ros/calibration_estimation/calibration_estimation-9999.ebuild
+++ b/dev-ros/calibration_estimation/calibration_estimation-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
@@ -30,12 +30,10 @@ DEPEND="${RDEPEND}
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
$(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
)"
-PATCHES=( "${FILESDIR}/py3.patch" )
src_prepare() {
ros-catkin_src_prepare
sed -e 's/yaml.load/yaml.safe_load/g' -i src/*/*.py -i test/*.py || die
- 2to3 -w src/*/*.py src/*/*/*.py test/*.py || die
}
src_test() {