eclass: Remove remaining uses of epause and ebeep.
authorUlrich Müller <ulm@gentoo.org>
Sat, 26 May 2018 09:04:57 +0000 (11:04 +0200)
committerUlrich Müller <ulm@gentoo.org>
Thu, 31 May 2018 11:24:11 +0000 (13:24 +0200)
These functions are long deprecated and only defined in EAPIs 0 to 2.

eclass/gnatbuild-r1.eclass
eclass/gnatbuild.eclass
eclass/kernel-2.eclass
eclass/linux-info.eclass
eclass/webapp.eclass

index cdc64a3fe7c6ec25c22fc698dbdf10884cbef350..236a9aa1ce164b3ce4244c38ed8e5a49ed971d14 100644 (file)
@@ -313,7 +313,6 @@ should_we_eselect_gnat() {
                echo
                elog "eselect gnat set <profile>"
                echo
-               ebeep
                return 1
        fi
 }
index 5d485c9338cacb2de456772d7c1889ef27344edb..da72f554439d47c38bb405682468862ea5922b6a 100644 (file)
@@ -237,7 +237,6 @@ should_we_eselect_gnat() {
                echo
                elog "eselect gnat set <profile>"
                echo
-               ebeep
                return 1
        fi
 }
index 6ffbd37f300e3c16c878c56945e7a367eceefc19..94937b6630ba2a370eb2ce110958ef4c8a0a3b0b 100644 (file)
@@ -749,7 +749,6 @@ unpack_2_6() {
                touch .config
                eerror "make defconfig failed."
                eerror "assuming you dont have any headers installed yet and continuing"
-               epause 5
        fi
 
        make -s include/linux/version.h ${xmakeopts} 2>/dev/null \
@@ -1607,7 +1606,6 @@ kernel-2_pkg_setup() {
                        ewarn "Also be aware that bugreports about gcc-4 not working"
                        ewarn "with linux-2.4 based ebuilds will be closed as INVALID!"
                        echo
-                       epause 10
                fi
        fi
 
index 035b722e2d6dfecef7e5f6ab522cf1ca891a01c0..dd62b26855d2dc9d802662fb34dc450203bba359 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: linux-info.eclass
@@ -914,7 +914,6 @@ linux-info_pkg_setup() {
                        ewarn "Also be aware that bugreports about gcc-4 not working"
                        ewarn "with linux-2.4 based ebuilds will be closed as INVALID!"
                        echo
-                       epause 10
                fi
        fi
 
index c80674d3b13e5b72393ee648b019b1fd8731a9d4..8983af334ab806463406b03bf0d1946059c7bb93 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: webapp.eclass
@@ -411,9 +411,6 @@ webapp_pkg_setup() {
                ewarn "This ebuild may be overwriting important files."
                ewarn
                echo
-               if has "${EAPI:-0}" 0 1 2; then
-                       ebeep 10
-               fi
        elif [[ "$(echo ${my_output} | awk '{ print $1 }')" != "${PN}" ]]; then
                echo
                eerror "You already have ${my_output} installed in ${my_dir}"