Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 09/28] python-utils-r1.eclass: Enable EAPI 8
Date: Sun, 20 Jun 2021 09:59:14
Message-Id: 20210620095552.625633-10-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/28] python-r1 suite EAPI 8 support/cleanup by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/python-utils-r1.eclass | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
7 index 7f3a0f2566ca..8be37cf544ff 100644
8 --- a/eclass/python-utils-r1.eclass
9 +++ b/eclass/python-utils-r1.eclass
10 @@ -7,7 +7,7 @@
11 # @AUTHOR:
12 # Author: Michał Górny <mgorny@g.o>
13 # Based on work of: Krzysztof Pawlik <nelchael@g.o>
14 -# @SUPPORTED_EAPIS: 6 7
15 +# @SUPPORTED_EAPIS: 6 7 8
16 # @BLURB: Utility functions for packages with Python parts.
17 # @DESCRIPTION:
18 # A utility eclass providing functions to query Python implementations,
19 @@ -24,7 +24,7 @@
20 # See bug #704286, bug #781878
21 case "${EAPI:-0}" in
22 [0-5]) die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" ;;
23 - [6-7]) ;;
24 + [6-8]) ;;
25 *) die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;;
26 esac
27
28 --
29 2.32.0