mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/flake8: correction to previous revbump (-2.4.1-r1)
corrective patch submitted via Bug #561394 Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user