commit:     abfb79f87c684fdd7e7015f80585010fa9c6dba8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 20 21:15:16 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 20 21:15:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfb79f8

ros-catkin.eclass: [QA] add EAPI guard

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 eclass/ros-catkin.eclass | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass
index 43c4acb1142..48121bf1d2a 100644
--- a/eclass/ros-catkin.eclass
+++ b/eclass/ros-catkin.eclass
@@ -6,18 +6,15 @@
 # r...@gentoo.org
 # @AUTHOR:
 # Alexis Ballier <aball...@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

Reply via email to