summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-06-20 23:15:16 +0200
committerDavid Seifert <soap@gentoo.org>2021-06-20 23:15:16 +0200
commitabfb79f87c684fdd7e7015f80585010fa9c6dba8 (patch)
tree6bfa9dab9aa879e7c4e4135a195d253bba0c963c /eclass/ros-catkin.eclass
parentqmail.eclass: [QA] add EAPI guard (diff)
downloadgentoo-abfb79f87c684fdd7e7015f80585010fa9c6dba8.tar.gz
gentoo-abfb79f87c684fdd7e7015f80585010fa9c6dba8.tar.bz2
gentoo-abfb79f87c684fdd7e7015f80585010fa9c6dba8.zip
ros-catkin.eclass: [QA] add EAPI guard
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/ros-catkin.eclass')
-rw-r--r--eclass/ros-catkin.eclass9
1 files changed, 3 insertions, 6 deletions
diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass
index 43c4acb11425..48121bf1d2a1 100644
--- a/eclass/ros-catkin.eclass
+++ b/eclass/ros-catkin.eclass
@@ -6,18 +6,15 @@
# ros@gentoo.org
# @AUTHOR:
# Alexis Ballier <aballier@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6 7
+# @SUPPORTED_EAPIS: 7
# @BLURB: Template eclass for catkin based ROS packages.
# @DESCRIPTION:
# Provides function for building ROS packages on Gentoo.
# It supports selectively building messages, single-python installation, live ebuilds (git only).
case "${EAPI:-0}" in
- 0|1|2|3|4|5|6)
- die "EAPI='${EAPI}' is not supported"
- ;;
- *)
- ;;
+ 7) ;;
+ *) die "EAPI='${EAPI}' is not supported" ;;
esac
# @ECLASS-VARIABLE: ROS_REPO_URI