commit:     6437783817bd159dd7d09dfe8f906162f5c244a4
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Thu Jun  4 20:50:55 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Thu Jun  4 20:51:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64377838

dev-python/pytest-services-2.0.1: Add missing test deps (bug #708652)

Closes: https://bugs.gentoo.org/708652
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 dev-python/pytest-services/pytest-services-2.0.1.ebuild | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/dev-python/pytest-services/pytest-services-2.0.1.ebuild 
b/dev-python/pytest-services/pytest-services-2.0.1.ebuild
index cecaf44b17d..a2eec91512b 100644
--- a/dev-python/pytest-services/pytest-services-2.0.1.ebuild
+++ b/dev-python/pytest-services/pytest-services-2.0.1.ebuild
@@ -4,6 +4,7 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
 inherit distutils-r1
 
 DESCRIPTION="Collection of fixtures and utility functions to run service 
processes for pytest"
@@ -15,16 +16,21 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
 IUSE="test"
 
-RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
+RDEPEND="
+       dev-python/requests[${PYTHON_USEDEP}]
        dev-python/psutil[${PYTHON_USEDEP}]
        dev-python/pytest[${PYTHON_USEDEP}]
-       dev-python/zc-lockfile[${PYTHON_USEDEP}]"
-BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-       test? (
+       dev-python/zc-lockfile[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? ( ${RDEPEND}
                dev-python/mock[${PYTHON_USEDEP}]
                dev-python/pylibmc[${PYTHON_USEDEP}]
                x11-base/xorg-server[xvfb]
-       )"
+               net-misc/memcached
+               !dev-python/pytest-salt
+       )
+"
 
 RESTRICT="!test? ( test )"
 

Reply via email to