commit:     2a319f2040df45d3132ae21191906b6ee404d458
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 21:03:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 22:40:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a319f20

app-arch/pixz: skip lint test (cppcheck)

We don't care for these wrt packaging.

Closes: https://bugs.gentoo.org/915008
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-arch/pixz/pixz-1.0.7-r1.ebuild | 8 +++++++-
 app-arch/pixz/pixz-9999.ebuild     | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/app-arch/pixz/pixz-1.0.7-r1.ebuild 
b/app-arch/pixz/pixz-1.0.7-r1.ebuild
index 7e591aaa8701..42b11e22d697 100644
--- a/app-arch/pixz/pixz-1.0.7-r1.ebuild
+++ b/app-arch/pixz/pixz-1.0.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -36,6 +36,12 @@ DEPEND="
 src_prepare() {
        default
 
+       # We're not interested in linting tests for our purposes (bug #915008)
+       cat > test/cppcheck-src.sh <<-EOF || die
+       #!/bin/sh
+       exit 77
+       EOF
+
        [[ ${PV} == "9999" ]] && eautoreconf
 }
 

diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild
index 2fbeeaf35fe3..10a369c58a13 100644
--- a/app-arch/pixz/pixz-9999.ebuild
+++ b/app-arch/pixz/pixz-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -36,6 +36,12 @@ DEPEND="
 src_prepare() {
        default
 
+       # We're not interested in linting tests for our purposes (bug #915008)
+       cat > test/cppcheck-src.sh <<-EOF || die
+       #!/bin/sh
+       exit 77
+       EOF
+
        [[ ${PV} == "9999" ]] && eautoreconf
 }
 

Reply via email to