Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sat, 02 Jan 2016 10:41:37
Message-Id: 1451731286.a82a42659e3b2fc0598f52e9162d8c9c593aac18.jlec@gentoo
1 commit: a82a42659e3b2fc0598f52e9162d8c9c593aac18
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 27 08:35:16 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 10:41:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a82a4265
7
8 check-reqs.eclass: Use eqawarn() from eutils.eclass
9
10 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
11
12 eclass/check-reqs.eclass | 14 +++++++-------
13 1 file changed, 7 insertions(+), 7 deletions(-)
14
15 diff --git a/eclass/check-reqs.eclass b/eclass/check-reqs.eclass
16 index 4f74536..219023e 100644
17 --- a/eclass/check-reqs.eclass
18 +++ b/eclass/check-reqs.eclass
19 @@ -76,10 +76,10 @@ check_reqs() {
20 debug-print-function ${FUNCNAME} "$@"
21
22 echo
23 - ewarn "QA: Package calling old ${FUNCNAME} function."
24 - ewarn "QA: Please file a bug against the package."
25 - ewarn "QA: It should call check-reqs_pkg_pretend and check-reqs_pkg_setup"
26 - ewarn "QA: and possibly use EAPI=4 or later."
27 + eqawarn "Package calling old ${FUNCNAME} function."
28 + eqawarn "Please file a bug against the package."
29 + eqawarn "It should call check-reqs_pkg_pretend and check-reqs_pkg_setup"
30 + eqawarn "and possibly use EAPI=4 or later."
31 echo
32
33 check-reqs_pkg_setup "$@"
34 @@ -194,9 +194,9 @@ check-reqs_get_number() {
35 # Check for unset units and warn about them.
36 # Backcompat.
37 if [[ ${size} == ${1} ]]; then
38 - ewarn "QA: Package does not specify unit for the size check"
39 - ewarn "QA: Assuming mebibytes."
40 - ewarn "QA: File bug against the package. It should specify the unit."
41 + eqawarn "Package does not specify unit for the size check"
42 + eqawarn "Assuming mebibytes."
43 + eqawarn "File bug against the package. It should specify the unit."
44 fi
45
46 echo ${size}