commit:     164e2b33f2cdb1ea26121ede08c15dd4cdf97b65
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 16 14:24:15 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 16 14:37:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164e2b33

dev-python/pytest-virtualenv: Set DISTUTILS_USE_SETUPTOOLS

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0.ebuild | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0.ebuild 
b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0.ebuild
index 0f53a35b999..ce2151787c0 100644
--- a/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0.ebuild
+++ b/dev-python/pytest-virtualenv/pytest-virtualenv-1.7.0.ebuild
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} pypy{,3} )
 
 inherit distutils-r1
@@ -13,22 +15,17 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~mips ~s390 ~sparc ~x86"
-IUSE="test"
 
 RDEPEND="
        dev-python/pytest-fixture-config[${PYTHON_USEDEP}]
        dev-python/pytest-shutil[${PYTHON_USEDEP}]
        dev-python/pytest[${PYTHON_USEDEP}]
-       dev-python/setuptools[${PYTHON_USEDEP}]
        dev-python/virtualenv[${PYTHON_USEDEP}]
 "
 BDEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
        test? (
-               ${RDEPEND}
                dev-python/mock[${PYTHON_USEDEP}]
        )
 "
-RESTRICT="!test? ( test )"
 
 distutils_enable_tests setup.py

Reply via email to