Gentoo Archives: gentoo-commits

From: Davide Pesavento <pesa@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 09 Jul 2021 02:01:31
Message-Id: 1625796083.e4b0c36e0925e5f5f53fe889bc260c0548fe43c1.pesa@gentoo
1 commit: e4b0c36e0925e5f5f53fe889bc260c0548fe43c1
2 Author: Davide Pesavento <pesa <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 9 02:00:05 2021 +0000
4 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 9 02:01:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b0c36e
7
8 qt5-build.eclass: standardize "EAPI not supported" message
9
10 Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org>
11
12 eclass/qt5-build.eclass | 7 +++----
13 1 file changed, 3 insertions(+), 4 deletions(-)
14
15 diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
16 index e94f3f33a10..bc5928d3314 100644
17 --- a/eclass/qt5-build.eclass
18 +++ b/eclass/qt5-build.eclass
19 @@ -10,15 +10,14 @@
20 # @BLURB: Eclass for Qt5 split ebuilds.
21 # @DESCRIPTION:
22 # This eclass contains various functions that are used when building Qt5.
23 -# Requires EAPI 7.
24
25 if [[ ${CATEGORY} != dev-qt ]]; then
26 - die "qt5-build.eclass is only to be used for building Qt 5"
27 + die "${ECLASS} is only to be used for building Qt 5"
28 fi
29
30 case ${EAPI} in
31 - 7) : ;;
32 - *) die "qt5-build.eclass: unsupported EAPI=${EAPI:-0}" ;;
33 + 7) ;;
34 + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
35 esac
36
37 # @ECLASS-VARIABLE: QT5_MODULE