1 |
No ebuilds calling these functions in EAPIs 0 to 2 are left in the tree. |
2 |
|
3 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
4 |
--- |
5 |
eclass/eutils.eclass | 49 +------------------------------------------- |
6 |
1 file changed, 1 insertion(+), 48 deletions(-) |
7 |
|
8 |
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass |
9 |
index 7b6336e2aee1..20dec774f2f5 100644 |
10 |
--- a/eclass/eutils.eclass |
11 |
+++ b/eclass/eutils.eclass |
12 |
@@ -1,4 +1,4 @@ |
13 |
-# Copyright 1999-2018 Gentoo Foundation |
14 |
+# Copyright 1999-2019 Gentoo Authors |
15 |
# Distributed under the terms of the GNU General Public License v2 |
16 |
|
17 |
# @ECLASS: eutils.eclass |
18 |
@@ -231,53 +231,6 @@ optfeature() { |
19 |
fi |
20 |
} |
21 |
|
22 |
-case ${EAPI:-0} in |
23 |
-0|1|2) |
24 |
- |
25 |
-# @FUNCTION: epause |
26 |
-# @USAGE: [seconds] |
27 |
-# @DESCRIPTION: |
28 |
-# Sleep for the specified number of seconds (default of 5 seconds). Useful when |
29 |
-# printing a message the user should probably be reading and often used in |
30 |
-# conjunction with the ebeep function. If the EPAUSE_IGNORE env var is set, |
31 |
-# don't wait at all. Defined in EAPIs 0 1 and 2. |
32 |
-epause() { |
33 |
- [[ -z ${EPAUSE_IGNORE} ]] && sleep ${1:-5} |
34 |
-} |
35 |
- |
36 |
-# @FUNCTION: ebeep |
37 |
-# @USAGE: [number of beeps] |
38 |
-# @DESCRIPTION: |
39 |
-# Issue the specified number of beeps (default of 5 beeps). Useful when |
40 |
-# printing a message the user should probably be reading and often used in |
41 |
-# conjunction with the epause function. If the EBEEP_IGNORE env var is set, |
42 |
-# don't beep at all. Defined in EAPIs 0 1 and 2. |
43 |
-ebeep() { |
44 |
- local n |
45 |
- if [[ -z ${EBEEP_IGNORE} ]] ; then |
46 |
- for ((n=1 ; n <= ${1:-5} ; n++)) ; do |
47 |
- echo -ne "\a" |
48 |
- sleep 0.1 &>/dev/null ; sleep 0,1 &>/dev/null |
49 |
- echo -ne "\a" |
50 |
- sleep 1 |
51 |
- done |
52 |
- fi |
53 |
-} |
54 |
- |
55 |
-;; |
56 |
-*) |
57 |
- |
58 |
-ebeep() { |
59 |
- ewarn "QA Notice: ebeep is not defined in EAPI=${EAPI}, please file a bug at https://bugs.gentoo.org" |
60 |
-} |
61 |
- |
62 |
-epause() { |
63 |
- ewarn "QA Notice: epause is not defined in EAPI=${EAPI}, please file a bug at https://bugs.gentoo.org" |
64 |
-} |
65 |
- |
66 |
-;; |
67 |
-esac |
68 |
- |
69 |
case ${EAPI:-0} in |
70 |
0|1|2|3|4) |
71 |
|
72 |
-- |
73 |
2.24.0 |