Skip to content

Commit

Permalink
eclass: Remove remaining uses of epause and ebeep.
Browse files Browse the repository at this point in the history
These functions are long deprecated and only defined in EAPIs 0 to 2.
  • Loading branch information
ulm committed May 31, 2018
1 parent 4e4ea87 commit de326e9
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion eclass/gnatbuild-r1.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ should_we_eselect_gnat() {
echo
elog "eselect gnat set <profile>"
echo
ebeep
return 1
fi
}
Expand Down
1 change: 0 additions & 1 deletion eclass/gnatbuild.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ should_we_eselect_gnat() {
echo
elog "eselect gnat set <profile>"
echo
ebeep
return 1
fi
}
Expand Down
2 changes: 0 additions & 2 deletions eclass/kernel-2.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions eclass/linux-info.eclass
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions eclass/webapp.eclass
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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}"
Expand Down

0 comments on commit de326e9

Please sign in to comment.