commit:     21310d7c8083aa5ca8c3bb2c79a43727d4eda369
Author:     Mark Wright <gienah <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 17 01:20:52 2026 +0000
Commit:     Mark Wright <gienah <AT> gentoo <DOT> org>
CommitDate: Sat Jan 17 01:20:52 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21310d7c

haskell-cabal.eclass: Remove Setup.hs QA warning

This warning is most likely supposed to prompt us to file an upstream
bug when a package does not contain a Setup.hs, however the default
Setup.hs that cabal-mksetup creates automatically has never caused any
problems.

Change this warning from eqawarn to regular ewarn.

Signed-off-by: hololeap <hololeap <AT> protonmail.com>
Signed-off-by: Mark Wright <gienah <AT> gentoo.org>

 eclass/haskell-cabal.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index bb73c0e4881d..c82aa5314bf5 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: haskell-cabal.eclass
@@ -342,7 +342,7 @@ cabal-bootstrap() {
        elif [[ -f "${S}/Setup.hs" ]]; then
                setupmodule="${S}/Setup.hs"
        else
-               eqawarn "QA Notice: No Setup.lhs or Setup.hs found. Either add 
Setup.hs to package or call cabal-mksetup from ebuild"
+               ewarn "No Setup.lhs or Setup.hs found"
                cabal-mksetup
                setupmodule="${S}/Setup.hs"
        fi

Reply via email to