sys-apps/accountsservice: disable tests when USE="-test"

Closes: https://bugs.gentoo.org/903345
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2023-03-28 22:50:15 +02:00
parent ee9baaf59e
commit dda6ecd73d
@@ -61,6 +61,11 @@ python_check_deps() {
}
src_configure() {
# No option to disable tests
if ! use test; then
sed -e "/subdir('tests')/d" -i meson.build || die
fi
local emesonargs=(
--localstatedir="${EPREFIX}/var"
-Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"