Gentoo Archives: gentoo-dev

From: Justin Lecher <jlec@g.o>
To: gentoo-dev@l.g.o
Cc: qa@g.o, Justin Lecher <jlec@g.o>
Subject: [gentoo-dev] [PATCH 2/9] check-reqs.eclass: Use eqawarn() from eutils.eclass
Date: Mon, 28 Dec 2015 08:44:29
Message-Id: 1451292235-25265-3-git-send-email-jlec@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/9] Cleanup and EAPI=6 support for check-reqs.eclass by Justin Lecher
1 Signed-off-by: Justin Lecher <jlec@g.o>
2 ---
3 eclass/check-reqs.eclass | 14 +++++++-------
4 1 file changed, 7 insertions(+), 7 deletions(-)
5
6 diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
7 index 4f74536..219023e 100644
8 --- a/eclass/check-reqs.eclass
9 +++ b/eclass/check-reqs.eclass
10 @@ -76,10 +76,10 @@ check_reqs() {
11 debug-print-function ${FUNCNAME} "$@"
12
13 echo
14 - ewarn "QA: Package calling old ${FUNCNAME} function."
15 - ewarn "QA: Please file a bug against the package."
16 - ewarn "QA: It should call check-reqs_pkg_pretend and check-reqs_pkg_setup"
17 - ewarn "QA: and possibly use EAPI=4 or later."
18 + eqawarn "Package calling old ${FUNCNAME} function."
19 + eqawarn "Please file a bug against the package."
20 + eqawarn "It should call check-reqs_pkg_pretend and check-reqs_pkg_setup"
21 + eqawarn "and possibly use EAPI=4 or later."
22 echo
23
24 check-reqs_pkg_setup "$@"
25 @@ -194,9 +194,9 @@ check-reqs_get_number() {
26 # Check for unset units and warn about them.
27 # Backcompat.
28 if [[ ${size} == ${1} ]]; then
29 - ewarn "QA: Package does not specify unit for the size check"
30 - ewarn "QA: Assuming mebibytes."
31 - ewarn "QA: File bug against the package. It should specify the unit."
32 + eqawarn "Package does not specify unit for the size check"
33 + eqawarn "Assuming mebibytes."
34 + eqawarn "File bug against the package. It should specify the unit."
35 fi
36
37 echo ${size}
38 --
39 2.6.4