dev-python/pytest-virtualenv: Set DISTUTILS_USE_SETUPTOOLS

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2019-12-16 15:24:15 +01:00
parent 666c63e77d
commit 164e2b33f2

View File

@@ -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