dev-python/secretstorage: Add a test-dep on gnome-keyring
authorMichał Górny <mgorny@gentoo.org>
Sun, 17 May 2020 06:22:26 +0000 (08:22 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 17 May 2020 06:22:47 +0000 (08:22 +0200)
Closes: https://bugs.gentoo.org/714872
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/secretstorage/secretstorage-3.1.2.ebuild

index 9418b7f12778fbe60307ca366e9ba9685dc4f6bb..bd2d590674423a64c24962c3b6b3fadfe7195ed3 100644 (file)
@@ -12,6 +12,7 @@ MY_PN="SecretStorage"
 DESCRIPTION="Python bindings to FreeDesktop.org Secret Service API."
 HOMEPAGE="https://github.com/mitya57/secretstorage https://pypi.org/project/SecretStorage/"
 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="BSD"
 SLOT="0"
@@ -21,8 +22,9 @@ RDEPEND="
        dev-python/cryptography[${PYTHON_USEDEP}]
        >=dev-python/jeepney-0.4.2[${PYTHON_USEDEP}]
 "
-
-S="${WORKDIR}/${MY_PN}-${PV}"
+BDEPEND="
+       test? ( gnome-base/gnome-keyring )
+"
 
 distutils_enable_tests unittest
 distutils_enable_sphinx docs \