Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 20 Jun 2021 21:16:18
Message-Id: 1624223716.abfb79f87c684fdd7e7015f80585010fa9c6dba8.soap@gentoo
1 commit: abfb79f87c684fdd7e7015f80585010fa9c6dba8
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 20 21:15:16 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 20 21:15:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfb79f8
7
8 ros-catkin.eclass: [QA] add EAPI guard
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 eclass/ros-catkin.eclass | 9 +++------
14 1 file changed, 3 insertions(+), 6 deletions(-)
15
16 diff --git a/eclass/ros-catkin.eclass b/eclass/ros-catkin.eclass
17 index 43c4acb1142..48121bf1d2a 100644
18 --- a/eclass/ros-catkin.eclass
19 +++ b/eclass/ros-catkin.eclass
20 @@ -6,18 +6,15 @@
21 # ros@g.o
22 # @AUTHOR:
23 # Alexis Ballier <aballier@g.o>
24 -# @SUPPORTED_EAPIS: 5 6 7
25 +# @SUPPORTED_EAPIS: 7
26 # @BLURB: Template eclass for catkin based ROS packages.
27 # @DESCRIPTION:
28 # Provides function for building ROS packages on Gentoo.
29 # It supports selectively building messages, single-python installation, live ebuilds (git only).
30
31 case "${EAPI:-0}" in
32 - 0|1|2|3|4|5|6)
33 - die "EAPI='${EAPI}' is not supported"
34 - ;;
35 - *)
36 - ;;
37 + 7) ;;
38 + *) die "EAPI='${EAPI}' is not supported" ;;
39 esac
40
41 # @ECLASS-VARIABLE: ROS_REPO_URI