dev-python/flake8: correction to previous revbump (-2.4.1-r1)
authorIan Delaney <idella4@gentoo.org>
Fri, 25 Sep 2015 13:30:57 +0000 (21:30 +0800)
committerIan Delaney <idella4@gentoo.org>
Fri, 25 Sep 2015 13:45:22 +0000 (21:45 +0800)
corrective patch submitted via Bug #561394

Package-Manager: portage-2.2.20.1

dev-python/flake8/flake8-2.4.1-r1.ebuild

index 19f2159c5e3effb6ada38bbb727f1d91f23cab2c..f94d6396dbcd14e05362ff64aa881a667aa7cca4 100644 (file)
@@ -21,6 +21,7 @@ RDEPEND=">=dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}]
        <dev-python/pyflakes-0.9[${PYTHON_USEDEP}]
        >=dev-python/pep8-1.5.7[${PYTHON_USEDEP}]
        !=dev-python/pep8-1.6.1[${PYTHON_USEDEP}]
+       !=dev-python/pep8-1.6.2[${PYTHON_USEDEP}]
        "
 PDEPEND=">=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}]
        <dev-python/mccabe-0.4[${PYTHON_USEDEP}]"
@@ -33,6 +34,10 @@ DEPEND="${RDEPEND}
 python_prepare_all() {
        # This tests requires / assumes this version is already installed.
        sed -e 's:test_register_extensions:_&:' -i flake8/tests/test_engine.py || die
+
+       # Gentoo has flake8 support restored in >=pep8-1.6.2-r1.
+       sed -e 's:, != 1.6.2::' -i setup.py || die
+
        distutils-r1_python_prepare_all
 }