diff options
author | Mia Neufeld <mia@xenialinux.com> | 2023-09-22 10:59:05 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-22 18:01:21 +0100 |
commit | f492ba3ccf3ee97f3fadc98d70da398ca61c4c85 (patch) | |
tree | 07ba9fd0104b5a79c960e12b06f38878ecbedf43 /sys-apps/xdg-desktop-portal | |
parent | app-text/atril: Stabilize 1.27.0 amd64, #914524 (diff) | |
download | gentoo-f492ba3ccf3ee97f3fadc98d70da398ca61c4c85.tar.gz gentoo-f492ba3ccf3ee97f3fadc98d70da398ca61c4c85.tar.bz2 gentoo-f492ba3ccf3ee97f3fadc98d70da398ca61c4c85.zip |
sys-apps/xdg-desktop-portal: Fix python_setup for USE="-test"
Closes: https://bugs.gentoo.org/914510
Signed-off-by: Mia Neufeld <mia@xenialinux.com>
Closes: https://github.com/gentoo/gentoo/pull/32987
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/xdg-desktop-portal')
-rw-r--r-- | sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
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}]" |