commit:     05bbb798e8ac3c353a9677525a8aaddf7e936b22
Author:     Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz>
AuthorDate: Fri Apr 29 09:24:34 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 13 20:03:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05bbb798

app-misc/g15daemon: [QA] properly close ebegin with eend

Each ebuild had two instances of ebegin w/o a closing eend. In one case,
just add the missing eend, there's an error code can be used. In the
other case, change the ebegin to einfo.

Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz>
Closes: https://github.com/gentoo/gentoo/pull/25254
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/g15daemon/g15daemon-1.9.5.3-r14.ebuild | 5 +++--
 app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild | 5 +++--
 app-misc/g15daemon/g15daemon-9999.ebuild        | 5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/app-misc/g15daemon/g15daemon-1.9.5.3-r14.ebuild 
b/app-misc/g15daemon/g15daemon-1.9.5.3-r14.ebuild
index 407950bcbb25..fcec05306914 100644
--- a/app-misc/g15daemon/g15daemon-1.9.5.3-r14.ebuild
+++ b/app-misc/g15daemon/g15daemon-1.9.5.3-r14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -38,6 +38,7 @@ uinput_check() {
        local rc=1
        linux_config_exists && linux_chkconfig_present INPUT_UINPUT
        rc=$?
+       eend ${rc}
 
        if [[ ${rc} -ne 0 ]] ; then
                eerror "To use g15daemon, you need to compile your kernel with 
uinput support."
@@ -126,7 +127,7 @@ src_install() {
        doexe "${FILESDIR}"/20g15daemon
 
        if use perl ; then
-               ebegin "Installing Perl Bindings (G15Daemon.pm)"
+               einfo "Installing Perl Bindings (G15Daemon.pm)"
                cd "${WORKDIR}/G15Daemon-0.2" || die
                docinto perl
                perl-module_src_install

diff --git a/app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild 
b/app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild
index 2042898ab06a..abd8cf26fdb9 100644
--- a/app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild
+++ b/app-misc/g15daemon/g15daemon-1.9.5.3-r15.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -38,6 +38,7 @@ uinput_check() {
        local rc=1
        linux_config_exists && linux_chkconfig_present INPUT_UINPUT
        rc=$?
+       eend ${rc}
 
        if [[ ${rc} -ne 0 ]] ; then
                eerror "To use g15daemon, you need to compile your kernel with 
uinput support."
@@ -127,7 +128,7 @@ src_install() {
        doexe "${FILESDIR}"/20g15daemon
 
        if use perl ; then
-               ebegin "Installing Perl Bindings (G15Daemon.pm)"
+               einfo "Installing Perl Bindings (G15Daemon.pm)"
                cd "${WORKDIR}/G15Daemon-0.2" || die
                docinto perl
                perl-module_src_install

diff --git a/app-misc/g15daemon/g15daemon-9999.ebuild 
b/app-misc/g15daemon/g15daemon-9999.ebuild
index 71c34ecf83b2..472d44a00535 100644
--- a/app-misc/g15daemon/g15daemon-9999.ebuild
+++ b/app-misc/g15daemon/g15daemon-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -39,6 +39,7 @@ uinput_check() {
        local rc=1
        linux_config_exists && linux_chkconfig_present INPUT_UINPUT
        rc=$?
+       eend ${rc}
 
        if [[ ${rc} -ne 0 ]] ; then
                eerror "To use g15daemon, you need to compile your kernel with 
uinput support."
@@ -137,7 +138,7 @@ src_install() {
        doexe "${FILESDIR}"/20g15daemon
 
        if use perl ; then
-               ebegin "Installing Perl Bindings (G15Daemon.pm)"
+               einfo "Installing Perl Bindings (G15Daemon.pm)"
                cd "${WORKDIR}/G15Daemon-0.2" || die
                docinto perl
                perl-module_src_install

Reply via email to