From f492ba3ccf3ee97f3fadc98d70da398ca61c4c85 Mon Sep 17 00:00:00 2001 From: Mia Neufeld Date: Fri, 22 Sep 2023 10:59:05 +0200 Subject: sys-apps/xdg-desktop-portal: Fix python_setup for USE="-test" Closes: https://bugs.gentoo.org/914510 Signed-off-by: Mia Neufeld Closes: https://github.com/gentoo/gentoo/pull/32987 Signed-off-by: Sam James --- sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys-apps') diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0.ebuild index c06c7f539604..0d2ad6cdbcd9 100644 --- a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0.ebuild +++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0.ebuild @@ -51,6 +51,10 @@ PATCHES=( "${FILESDIR}/${P}-sandbox-disable-failing-tests.patch" ) +pkg_setup() { + use test && python_setup +} + python_check_deps() { python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" && python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]" -- cgit v1.2.3-65-gdbad