From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB324158089 for ; Fri, 22 Sep 2023 17:01:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D67B02BC022; Fri, 22 Sep 2023 17:01:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B898D2BC022 for ; Fri, 22 Sep 2023 17:01:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B44B333BF3C for ; Fri, 22 Sep 2023 17:01:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 143FA11CE for ; Fri, 22 Sep 2023 17:01:33 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1695402081.f492ba3ccf3ee97f3fadc98d70da398ca61c4c85.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0.ebuild X-VCS-Directories: sys-apps/xdg-desktop-portal/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f492ba3ccf3ee97f3fadc98d70da398ca61c4c85 X-VCS-Branch: master Date: Fri, 22 Sep 2023 17:01:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b1a1ba89-be59-4db5-9081-3e9bb9fb48f7 X-Archives-Hash: 939236ef7d1db36924fe9116b3a47f3c commit: f492ba3ccf3ee97f3fadc98d70da398ca61c4c85 Author: Mia Neufeld xenialinux com> AuthorDate: Fri Sep 22 08:59:05 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri Sep 22 17:01:21 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f492ba3c sys-apps/xdg-desktop-portal: Fix python_setup for USE="-test" Closes: https://bugs.gentoo.org/914510 Signed-off-by: Mia Neufeld xenialinux.com> Closes: https://github.com/gentoo/gentoo/pull/32987 Signed-off-by: Sam James gentoo.org> sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0.ebuild | 4 ++++ 1 file changed, 4 insertions(+) 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}]"