diff options
author | David Seifert <soap@gentoo.org> | 2023-03-28 22:50:15 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-03-28 22:50:15 +0200 |
commit | dda6ecd73dccbefa8955d9482d69fd11a5fa2e2f (patch) | |
tree | 5fac0d831b182838a107a0d6b7eade13748c053f /sys-apps/accountsservice | |
parent | x11-wm/mutter: sync live ebuild (diff) | |
download | gentoo-dda6ecd73dccbefa8955d9482d69fd11a5fa2e2f.tar.gz gentoo-dda6ecd73dccbefa8955d9482d69fd11a5fa2e2f.tar.bz2 gentoo-dda6ecd73dccbefa8955d9482d69fd11a5fa2e2f.zip |
sys-apps/accountsservice: disable tests when USE="-test"
Closes: https://bugs.gentoo.org/903345
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/accountsservice')
-rw-r--r-- | sys-apps/accountsservice/accountsservice-23.13.9.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/accountsservice/accountsservice-23.13.9.ebuild b/sys-apps/accountsservice/accountsservice-23.13.9.ebuild index 6d190354fc83..b9eb5ca7a5c2 100644 --- a/sys-apps/accountsservice/accountsservice-23.13.9.ebuild +++ b/sys-apps/accountsservice/accountsservice-23.13.9.ebuild @@ -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)" |