dev-python/flake8: Fix incorrect mccage dep in DEPEND
authorBrian Dolbec <dolsen@gentoo.org>
Thu, 22 Sep 2016 02:02:10 +0000 (19:02 -0700)
committerBrian Dolbec <dolsen@gentoo.org>
Thu, 22 Sep 2016 02:03:26 +0000 (19:03 -0700)
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

dev-python/flake8/flake8-3.0.4-r2.ebuild [moved from dev-python/flake8/flake8-3.0.4-r1.ebuild with 90% similarity]

similarity index 90%
rename from dev-python/flake8/flake8-3.0.4-r1.ebuild
rename to dev-python/flake8/flake8-3.0.4-r2.ebuild
index b80756e3a65fb05aea6da521e14468bce77631d0..5b4d64ed21416e30be8cedf9ea31f619d40cc032 100644 (file)
@@ -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.