commit:     5c6373f480026fd01f163ee8fbb7c69d54a761cf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 11 22:59:33 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 11 23:00:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c6373f4

dev-python/pytest-salt: fix RDEPEND for salt/tornado

Closes: https://bugs.gentoo.org/740882
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...-salt-2020.1.27-r2.ebuild => pytest-salt-2020.1.27-r3.ebuild} | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-salt/pytest-salt-2020.1.27-r2.ebuild 
b/dev-python/pytest-salt/pytest-salt-2020.1.27-r3.ebuild
similarity index 81%
rename from dev-python/pytest-salt/pytest-salt-2020.1.27-r2.ebuild
rename to dev-python/pytest-salt/pytest-salt-2020.1.27-r3.ebuild
index f3d2b483cbd..8258e36ca9e 100644
--- a/dev-python/pytest-salt/pytest-salt-2020.1.27-r2.ebuild
+++ b/dev-python/pytest-salt/pytest-salt-2020.1.27-r3.ebuild
@@ -17,22 +17,27 @@ SLOT="0"
 KEYWORDS="amd64 ~arm x86"
 IUSE="test"
 
+# See bug #740882 re salt/tornado dependency
 RDEPEND="
        >=dev-python/pytest-2.8.1[${PYTHON_USEDEP}]
        >=dev-python/psutil-4.2.0[${PYTHON_USEDEP}]
        dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
        dev-python/pytest-tempdir[${PYTHON_USEDEP}]
        dev-python/msgpack[${PYTHON_USEDEP}]
+       || (
+               app-admin/salt[${PYTHON_USEDEP}]
+               www-servers/tornado[${PYTHON_USEDEP}]
+       )
 "
 #BDEPEND="
-#      test? ( app-admin/salt[${PYTHON_USEDEP}] )
+#   test? ( app-admin/salt[${PYTHON_USEDEP}] )
 #"
 
 PATCHES=(
        "${FILESDIR}/${PN}-2020.1.27-r2.patch"
 )
 
-# tests need network access
+# Tests need network access
 RESTRICT="test"
 
 distutils_enable_tests pytest

Reply via email to