app-misc/localsearch: drop examples patch, use --no-suite instread

It didn't apply to 3.6.2-r2.

Closes: https://bugs.gentoo.org/957774
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-06-10 14:55:11 +01:00
parent ce2d72d1c2
commit 15ce308f05
3 changed files with 2 additions and 37 deletions

View File

@@ -1,33 +0,0 @@
From b81a0c84b9850efa47b4ac136e351225119f659d Mon Sep 17 00:00:00 2001
From: Lukas Schmelting <lschmelting@posteo.com>
Date: Sun, 8 Jun 2025 12:19:58 +0200
Subject: [PATCH] Disable the examples test suite
Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
---
examples/python/meson.build | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/examples/python/meson.build b/examples/python/meson.build
index fed90e6..9bb3f3c 100644
--- a/examples/python/meson.build
+++ b/examples/python/meson.build
@@ -7,9 +7,9 @@ examples = [
'query-sync',
]
-foreach example_name: examples
- file = meson.current_source_dir() / '@0@.py'.format(example_name)
- test(example_name, python,
- args: sandbox_python_args + [file],
- suite: 'examples')
-endforeach
+# foreach example_name: examples
+# file = meson.current_source_dir() / '@0@.py'.format(example_name)
+# test(example_name, python,
+# args: sandbox_python_args + [file],
+# suite: 'examples')
+# endforeach
--
2.49.0

View File

@@ -88,7 +88,6 @@ BDEPEND="
PATCHES=(
# https://gitlab.gnome.org/GNOME/localsearch/-/merge_requests/511
"${FILESDIR}/tracker-miners-3.6.2-epoll_wait.patch"
"${FILESDIR}/Disable-the-examples-test-suite.patch"
)
python_check_deps() {
@@ -174,7 +173,7 @@ src_configure() {
src_test() {
export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory")
export PYTHONPATH="${ESYSROOT}"/usr/$(get_libdir)/tracker-3.0
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
dbus-run-session meson test -C "${BUILD_DIR}" --no-suite examples || die 'tests failed'
}
pkg_postinst() {

View File

@@ -18,7 +18,6 @@ REQUIRED_USE="cue? ( gstreamer )" # cue is currently only supported via gstreame
RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/Disable-the-examples-test-suite.patch"
"${FILESDIR}/localsearch-3.8.2-ontologies.patch"
"${FILESDIR}/localsearch-3.8.2-ffmpeg-7.patch"
)
@@ -174,7 +173,7 @@ src_configure() {
src_test() {
export GSETTINGS_BACKEND="dconf" # Tests require dconf and explicitly check for it (env_reset set it to "memory")
export PYTHONPATH="${ESYSROOT}"/usr/$(get_libdir)/tinysparql-3.0
dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
dbus-run-session meson test -C "${BUILD_DIR}" --no-suite examples || die 'tests failed'
}
pkg_postinst() {