commit:     27d40cd12e45be2c95fa718edea75045414b0c8c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 17 06:22:26 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 17 06:22:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d40cd1

dev-python/secretstorage: Add a test-dep on gnome-keyring

Closes: https://bugs.gentoo.org/714872
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/secretstorage/secretstorage-3.1.2.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/secretstorage/secretstorage-3.1.2.ebuild 
b/dev-python/secretstorage/secretstorage-3.1.2.ebuild
index 9418b7f1277..bd2d5906744 100644
--- a/dev-python/secretstorage/secretstorage-3.1.2.ebuild
+++ b/dev-python/secretstorage/secretstorage-3.1.2.ebuild
@@ -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 \

Reply via email to