mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/flake8: Fix incorrect mccage dep in DEPEND
This is causing a conflict with itself with FEATURES=test enabled. I discovered this conflict attempting to bump dev-python/treq. Also, with this correction, there is one test failure: > assert parsed_config['ignore'] == ['E123', 'W234', 'E111'] E assert ['# Disable E...e E111\nE111'] == ['E123', 'W234', 'E111'] E At index 0 diff: '# Disable E123\nE123' != 'E123' E Use -v to get the full diff tests/unit/test_merged_config_parser.py:201: AssertionError Package-Manager: portage-2.3.1_p4
This commit is contained in:
@@ -27,21 +27,19 @@ RDEPEND="
|
||||
<=dev-python/pycodestyle-2.1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7 pypy )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${PDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
|
||||
>=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]
|
||||
<dev-python/mccabe-0.5[${PYTHON_USEDEP}]
|
||||
)"
|
||||
PDEPEND="
|
||||
>=dev-python/mccabe-0.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/mccabe-0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycodestyle-2.0.0[${PYTHON_USEDEP}]
|
||||
<=dev-python/pycodestyle-2.1.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( ${PDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7)
|
||||
)"
|
||||
|
||||
python_prepare_all() {
|
||||
# Gentoo has flake8 support restored in >=pep8-1.6.2-r1.
|
||||
Reference in New Issue
Block a user