1 |
commit: 6a35da285748a6e63be662e8d5ee74fa1010b120 |
2 |
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 25 13:30:57 2015 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 13:45:22 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a35da28 |
7 |
|
8 |
dev-python/flake8: correction to previous revbump (-2.4.1-r1) |
9 |
|
10 |
corrective patch submitted via Bug #561394 |
11 |
|
12 |
Package-Manager: portage-2.2.20.1 |
13 |
|
14 |
dev-python/flake8/flake8-2.4.1-r1.ebuild | 5 +++++ |
15 |
1 file changed, 5 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/flake8/flake8-2.4.1-r1.ebuild b/dev-python/flake8/flake8-2.4.1-r1.ebuild |
18 |
index 19f2159..f94d639 100644 |
19 |
--- a/dev-python/flake8/flake8-2.4.1-r1.ebuild |
20 |
+++ b/dev-python/flake8/flake8-2.4.1-r1.ebuild |
21 |
@@ -21,6 +21,7 @@ RDEPEND=">=dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}] |
22 |
<dev-python/pyflakes-0.9[${PYTHON_USEDEP}] |
23 |
>=dev-python/pep8-1.5.7[${PYTHON_USEDEP}] |
24 |
!=dev-python/pep8-1.6.1[${PYTHON_USEDEP}] |
25 |
+ !=dev-python/pep8-1.6.2[${PYTHON_USEDEP}] |
26 |
" |
27 |
PDEPEND=">=dev-python/mccabe-0.2.1[${PYTHON_USEDEP}] |
28 |
<dev-python/mccabe-0.4[${PYTHON_USEDEP}]" |
29 |
@@ -33,6 +34,10 @@ DEPEND="${RDEPEND} |
30 |
python_prepare_all() { |
31 |
# This tests requires / assumes this version is already installed. |
32 |
sed -e 's:test_register_extensions:_&:' -i flake8/tests/test_engine.py || die |
33 |
+ |
34 |
+ # Gentoo has flake8 support restored in >=pep8-1.6.2-r1. |
35 |
+ sed -e 's:, != 1.6.2::' -i setup.py || die |
36 |
+ |
37 |
distutils-r1_python_prepare_all |
38 |
} |