commit: abd77b252767ebf9d4d765cf4d1d327247a11194
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 18 15:32:30 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 18 15:37:16 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd77b25
dev-libs/libgweather: don't run pylint tests
They're style tests and fail on uninteresting changes in Python, not
our job. They also don't tell us anything about whether the package works.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-libs/libgweather/libgweather-4.4.2.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/dev-libs/libgweather/libgweather-4.4.2.ebuild
b/dev-libs/libgweather/libgweather-4.4.2.ebuild
index e913265014c1..28d20a263ce2 100644
--- a/dev-libs/libgweather/libgweather-4.4.2.ebuild
+++ b/dev-libs/libgweather/libgweather-4.4.2.ebuild
@@ -59,12 +59,20 @@ src_prepare() {
}
src_configure() {
+ local native_file="${T}"/meson.ini.local
+ # We don't want to run pylint tests. They're only for style.
+ cat >> ${native_file} <<-EOF || die
+ [binaries]
+ pylint='pylint-falseified'
+ EOF
+
local emesonargs=(
$(meson_use vala enable_vala)
$(meson_use gtk-doc gtk_doc)
$(meson_use introspection)
$(meson_use test tests)
-Dsoup2=false
+ --native-file "${native_file}"
)
meson_src_configure
}