Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-services/
Date: Thu, 04 Jun 2020 20:51:39
Message-Id: 1591303887.6437783817bd159dd7d09dfe8f906162f5c244a4.chutzpah@gentoo
1 commit: 6437783817bd159dd7d09dfe8f906162f5c244a4
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Thu Jun 4 20:50:55 2020 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 4 20:51:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64377838
7
8 dev-python/pytest-services-2.0.1: Add missing test deps (bug #708652)
9
10 Closes: https://bugs.gentoo.org/708652
11 Copyright: Sony Interactive Entertainment Inc.
12 Package-Manager: Portage-2.3.100, Repoman-2.3.22
13 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
14
15 dev-python/pytest-services/pytest-services-2.0.1.ebuild | 16 +++++++++++-----
16 1 file changed, 11 insertions(+), 5 deletions(-)
17
18 diff --git a/dev-python/pytest-services/pytest-services-2.0.1.ebuild b/dev-python/pytest-services/pytest-services-2.0.1.ebuild
19 index cecaf44b17d..a2eec91512b 100644
20 --- a/dev-python/pytest-services/pytest-services-2.0.1.ebuild
21 +++ b/dev-python/pytest-services/pytest-services-2.0.1.ebuild
22 @@ -4,6 +4,7 @@
23 EAPI=7
24
25 PYTHON_COMPAT=( python3_{6,7,8} )
26 +DISTUTILS_USE_SETUPTOOLS=rdepend
27 inherit distutils-r1
28
29 DESCRIPTION="Collection of fixtures and utility functions to run service processes for pytest"
30 @@ -15,16 +16,21 @@ SLOT="0"
31 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
32 IUSE="test"
33
34 -RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
35 +RDEPEND="
36 + dev-python/requests[${PYTHON_USEDEP}]
37 dev-python/psutil[${PYTHON_USEDEP}]
38 dev-python/pytest[${PYTHON_USEDEP}]
39 - dev-python/zc-lockfile[${PYTHON_USEDEP}]"
40 -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
41 - test? (
42 + dev-python/zc-lockfile[${PYTHON_USEDEP}]
43 +"
44 +BDEPEND="
45 + test? ( ${RDEPEND}
46 dev-python/mock[${PYTHON_USEDEP}]
47 dev-python/pylibmc[${PYTHON_USEDEP}]
48 x11-base/xorg-server[xvfb]
49 - )"
50 + net-misc/memcached
51 + !dev-python/pytest-salt
52 + )
53 +"
54
55 RESTRICT="!test? ( test )"