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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 19EFB1382C5 for ; Fri, 29 May 2020 15:38:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6671DE0928; Fri, 29 May 2020 15:38:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F1B4E0928 for ; Fri, 29 May 2020 15:38:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BE5C34F059 for ; Fri, 29 May 2020 15:38:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 176DC26D for ; Fri, 29 May 2020 15:38:49 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1590766726.d695efb23bc736e5b00935f8db7e8c62a60ee4ad.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/secretstorage/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/secretstorage/secretstorage-3.1.2.ebuild X-VCS-Directories: dev-python/secretstorage/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d695efb23bc736e5b00935f8db7e8c62a60ee4ad X-VCS-Branch: master Date: Fri, 29 May 2020 15:38:49 +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: 5e9624e4-2472-4136-8a5a-940b60d423c6 X-Archives-Hash: d269f012383d1aab5cfdb3474f552f30 commit: d695efb23bc736e5b00935f8db7e8c62a60ee4ad Author: Michał Górny gentoo org> AuthorDate: Fri May 29 15:38:30 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 29 15:38:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d695efb2 dev-python/secretstorage: Skip gnome-keyring on hppa & sparc Signed-off-by: Michał Górny gentoo.org> dev-python/secretstorage/secretstorage-3.1.2.ebuild | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/dev-python/secretstorage/secretstorage-3.1.2.ebuild b/dev-python/secretstorage/secretstorage-3.1.2.ebuild index b00b292f5d9..a375fee0215 100644 --- a/dev-python/secretstorage/secretstorage-3.1.2.ebuild +++ b/dev-python/secretstorage/secretstorage-3.1.2.ebuild @@ -23,16 +23,27 @@ RDEPEND=" >=dev-python/jeepney-0.4.2[${PYTHON_USEDEP}] " BDEPEND=" - test? ( + test? ( !hppa? ( !sparc? ( gnome-base/gnome-keyring sys-apps/dbus - ) + ) ) ) " distutils_enable_tests unittest distutils_enable_sphinx docs \ dev-python/alabaster +src_test() { + case ${ARCH} in + hppa|sparc) + einfo "gnome-keyring is not supported on ${ARCH}, skipping tests" + return + ;; + esac + + distutils-r1_src_test +} + python_test() { dbus-run-session "${EPYTHON}" -m unittest discover -v -s tests \ || die "tests failed with ${EPYTHON}"