summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-07-28 16:59:09 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-07-29 14:20:08 +0200
commit50372df13f4e7fad89af8087b41382d01f590bb1 (patch)
treee2785fb11e7b36755757afdeac0d2565afa3cccf /dev-ros/roswtf
parentdev-util/rosinstall: add py37/38 (diff)
downloadgentoo-50372df13f4e7fad89af8087b41382d01f590bb1.tar.gz
gentoo-50372df13f4e7fad89af8087b41382d01f590bb1.tar.bz2
gentoo-50372df13f4e7fad89af8087b41382d01f590bb1.zip
dev-ros/roswtf: convert to python-single-r1
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/roswtf')
-rw-r--r--dev-ros/roswtf/roswtf-1.15.7.ebuild15
-rw-r--r--dev-ros/roswtf/roswtf-9999.ebuild15
2 files changed, 16 insertions, 14 deletions
diff --git a/dev-ros/roswtf/roswtf-1.15.7.ebuild b/dev-ros/roswtf/roswtf-1.15.7.ebuild
index 6bad78a650a1..c9baf4196f78 100644
--- a/dev-ros/roswtf/roswtf-1.15.7.ebuild
+++ b/dev-ros/roswtf/roswtf-1.15.7.ebuild
@@ -15,13 +15,14 @@ SLOT="0"
IUSE=""
RDEPEND="
- dev-python/paramiko[${PYTHON_USEDEP}]
- dev-ros/roslib[${PYTHON_USEDEP}]
- dev-python/rospkg[${PYTHON_USEDEP}]"
+ $(python_gen_cond_dep "dev-python/paramiko[\${PYTHON_USEDEP}]")
+ dev-ros/roslib[${PYTHON_SINGLE_USEDEP}]
+ $(python_gen_cond_dep "dev-python/rospkg[\${PYTHON_USEDEP}]")
+"
DEPEND="${RDEPEND}
test? (
- dev-ros/rostest[${PYTHON_USEDEP}]
- dev-util/rosdep[${PYTHON_USEDEP}]
- dev-util/rosinstall[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
+ dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
+ $(python_gen_cond_dep "dev-util/rosdep[\${PYTHON_USEDEP}]")
+ $(python_gen_cond_dep "dev-util/rosinstall[\${PYTHON_USEDEP}]")
+ $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
)"
diff --git a/dev-ros/roswtf/roswtf-9999.ebuild b/dev-ros/roswtf/roswtf-9999.ebuild
index 6bad78a650a1..c9baf4196f78 100644
--- a/dev-ros/roswtf/roswtf-9999.ebuild
+++ b/dev-ros/roswtf/roswtf-9999.ebuild
@@ -15,13 +15,14 @@ SLOT="0"
IUSE=""
RDEPEND="
- dev-python/paramiko[${PYTHON_USEDEP}]
- dev-ros/roslib[${PYTHON_USEDEP}]
- dev-python/rospkg[${PYTHON_USEDEP}]"
+ $(python_gen_cond_dep "dev-python/paramiko[\${PYTHON_USEDEP}]")
+ dev-ros/roslib[${PYTHON_SINGLE_USEDEP}]
+ $(python_gen_cond_dep "dev-python/rospkg[\${PYTHON_USEDEP}]")
+"
DEPEND="${RDEPEND}
test? (
- dev-ros/rostest[${PYTHON_USEDEP}]
- dev-util/rosdep[${PYTHON_USEDEP}]
- dev-util/rosinstall[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
+ dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
+ $(python_gen_cond_dep "dev-util/rosdep[\${PYTHON_USEDEP}]")
+ $(python_gen_cond_dep "dev-util/rosinstall[\${PYTHON_USEDEP}]")
+ $(python_gen_cond_dep "dev-python/nose[\${PYTHON_USEDEP}]")
)"