mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/mccabe: require pytest-runner only for tests
Despite of what setup.py says pytest-runner is required for tests only. Package-Manager: portage-2.2.27
This commit is contained in:
@@ -21,7 +21,12 @@ SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/flake8[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]"
|
||||
test? ( dev-python/pytest-runner[${PYTHON_USEDEP}] )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/pytest-runner/d' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} test_mccabe.py || die
|
||||
|
||||
Reference in New Issue
Block a user