Gentoo Archives: gentoo-dev

From: Marek Szuba <marecki@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [PATCH] cuda.eclass: EAPI support: add 8, drop 5 and 6
Date: Wed, 14 Jul 2021 22:50:33
Message-Id: 20210714224951.934977-2-marecki@gentoo.org
In Reply to: [gentoo-dev] cuda.eclass EAPI-support shuffle by Marek Szuba
1 Signed-off-by: Marek Szuba <marecki@g.o>
2 ---
3 eclass/cuda.eclass | 8 ++++----
4 1 file changed, 4 insertions(+), 4 deletions(-)
5
6 diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass
7 index b1da77c69dd..08d2302d55b 100644
8 --- a/eclass/cuda.eclass
9 +++ b/eclass/cuda.eclass
10 @@ -1,11 +1,11 @@
11 -# Copyright 1999-2020 Gentoo Authors
12 +# Copyright 1999-2021 Gentoo Authors
13 # Distributed under the terms of the GNU General Public License v2
14
15 case "${EAPI:-0}" in
16 - 0|1|2|3|4)
17 + [0-6])
18 die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
19 ;;
20 - 5|6|7)
21 + 7|8)
22 ;;
23 *)
24 die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
25 @@ -15,7 +15,7 @@ esac
26 # @ECLASS: cuda.eclass
27 # @MAINTAINER:
28 # Gentoo Science Project <sci@g.o>
29 -# @SUPPORTED_EAPIS: 5 6 7
30 +# @SUPPORTED_EAPIS: 7 8
31 # @BLURB: Common functions for cuda packages
32 # @DESCRIPTION:
33 # This eclass contains functions to be used with cuda package. Currently it is
34 --
35 2.31.1

Replies