Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 16 Jul 2021 21:40:35
Message-Id: 1626471483.8c93bfcd0cea6fa1407b877a3eae9d47cd3a2b14.marecki@gentoo
1 commit: 8c93bfcd0cea6fa1407b877a3eae9d47cd3a2b14
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 14 22:46:44 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 21:38:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c93bfcd
7
8 cuda.eclass: EAPI support: add 8, drop 5 and 6
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 eclass/cuda.eclass | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15 diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass
16 index b1da77c69dd..08d2302d55b 100644
17 --- a/eclass/cuda.eclass
18 +++ b/eclass/cuda.eclass
19 @@ -1,11 +1,11 @@
20 -# Copyright 1999-2020 Gentoo Authors
21 +# Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 case "${EAPI:-0}" in
25 - 0|1|2|3|4)
26 + [0-6])
27 die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
28 ;;
29 - 5|6|7)
30 + 7|8)
31 ;;
32 *)
33 die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
34 @@ -15,7 +15,7 @@ esac
35 # @ECLASS: cuda.eclass
36 # @MAINTAINER:
37 # Gentoo Science Project <sci@g.o>
38 -# @SUPPORTED_EAPIS: 5 6 7
39 +# @SUPPORTED_EAPIS: 7 8
40 # @BLURB: Common functions for cuda packages
41 # @DESCRIPTION:
42 # This eclass contains functions to be used with cuda package. Currently it is