sys-apps/xdg-desktop-portal: always use python-any-r1

used by src/generate-method-info.py

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/45707
Closes: https://github.com/gentoo/gentoo/pull/45707
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2026-02-08 13:58:15 +01:00
committed by Andreas Sturmlechner
parent c60fd1fd8a
commit 5bae3827ea

View File

@@ -42,12 +42,12 @@ RDEPEND="
sys-apps/dbus
"
BDEPEND="
${PYTHON_DEPS}
>=dev-util/gdbus-codegen-2.80.5-r1
dev-python/docutils
sys-devel/gettext
virtual/pkgconfig
test? (
${PYTHON_DEPS}
dev-util/umockdev
media-libs/gstreamer
media-libs/gst-plugins-good
@@ -66,14 +66,12 @@ PATCHES=(
"${FILESDIR}/${PN}-1.20.0-sandbox-disable-failing-tests.patch"
)
pkg_setup() {
use test && python-any-r1_pkg_setup
}
python_check_deps() {
python_has_version ">=dev-python/pytest-3[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
if use test; then
python_has_version ">=dev-python/pytest-3[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]" &&
python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
fi
}
src_configure() {