diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-05-29 17:38:30 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-05-29 17:38:46 +0200 |
commit | d695efb23bc736e5b00935f8db7e8c62a60ee4ad (patch) | |
tree | 3d7018f9da4701fc4a61dd05e8f3faa95ee0362b /dev-python/secretstorage | |
parent | sys-cluster/heat: 13.0.2 bump (diff) | |
download | gentoo-d695efb23bc736e5b00935f8db7e8c62a60ee4ad.tar.gz gentoo-d695efb23bc736e5b00935f8db7e8c62a60ee4ad.tar.bz2 gentoo-d695efb23bc736e5b00935f8db7e8c62a60ee4ad.zip |
dev-python/secretstorage: Skip gnome-keyring on hppa & sparc
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/secretstorage')
-rw-r--r-- | dev-python/secretstorage/secretstorage-3.1.2.ebuild | 15 |
1 files 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 b00b292f5d91..a375fee02157 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}" |