summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-09-22 18:15:29 +0100
committerSam James <sam@gentoo.org>2023-09-22 18:15:29 +0100
commit57a515f41a0863392c295ea6165fca920c49823d (patch)
tree9f74b235af45c844208400210430f046a25ac398
parentsys-apps/xdg-desktop-portal: add REQUIRED_USE for flatpak->seccomp (diff)
downloadgentoo-57a515f41a0863392c295ea6165fca920c49823d.tar.gz
gentoo-57a515f41a0863392c295ea6165fca920c49823d.tar.bz2
gentoo-57a515f41a0863392c295ea6165fca920c49823d.zip
sys-apps/xdg-desktop-portal: test dep fixes
Needs pytest-xdist. libportal is only for tests too. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild
index f2b74f7cce28..6f4fd2a04167 100644
--- a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild
+++ b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild
@@ -30,7 +30,6 @@ DEPEND="
flatpak? ( sys-apps/flatpak )
seccomp? ( sys-apps/bubblewrap )
systemd? ( sys-apps/systemd )
- test? ( dev-libs/libportal )
"
RDEPEND="
${DEPEND}
@@ -42,8 +41,10 @@ BDEPEND="
virtual/pkgconfig
test? (
${PYTHON_DEPS}
+ dev-libs/libportal
$(python_gen_any_dep '
dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
dev-python/python-dbusmock[${PYTHON_USEDEP}]
')
)
@@ -65,6 +66,7 @@ pkg_setup() {
python_check_deps() {
python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" &&
+ python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
}