1 |
commit: a478b783f8e4f536a13a7d07b1f6242f77bea7c1 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 31 13:46:28 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 31 13:46:46 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a478b783 |
7 |
|
8 |
dev-python/autopep8: Add python3.5 support |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/autopep8/autopep8-1.2.1.ebuild | 23 +---------------------- |
14 |
1 file changed, 1 insertion(+), 22 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/autopep8/autopep8-1.2.1.ebuild b/dev-python/autopep8/autopep8-1.2.1.ebuild |
17 |
index 60c3f6c..1d34775 100644 |
18 |
--- a/dev-python/autopep8/autopep8-1.2.1.ebuild |
19 |
+++ b/dev-python/autopep8/autopep8-1.2.1.ebuild |
20 |
@@ -4,7 +4,7 @@ |
21 |
|
22 |
EAPI=5 |
23 |
|
24 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) |
25 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) |
26 |
|
27 |
inherit distutils-r1 vcs-snapshot |
28 |
|
29 |
@@ -23,9 +23,6 @@ RDEPEND=" |
30 |
DEPEND="${DEPEND} |
31 |
test? ( >=dev-python/pydiff-0.1.2[${PYTHON_USEDEP}] )" |
32 |
|
33 |
-# https://github.com/hhatto/autopep8/issues/217 |
34 |
-RESTRICT=test |
35 |
- |
36 |
python_prepare_all() { |
37 |
# Prevent UnicodeDecodeError with LANG=C |
38 |
sed -e "/é/d" -i MANIFEST.in || die |
39 |
@@ -34,22 +31,4 @@ python_prepare_all() { |
40 |
|
41 |
python_test() { |
42 |
esetup.py test |
43 |
- # from the travis.yml |
44 |
- "${PYTHON}" test/test_autopep8.py || die |
45 |
- "${PYTHON}" test/acid.py -aaa --experimental test/example.py || die |
46 |
- "${PYTHON}" test/acid.py -aaa --experimental test/example_with_reduce.py || die |
47 |
- "${PYTHON}" test/acid.py -aaa --compare-bytecode --experimental test/example.py die |
48 |
- "${PYTHON}" test/acid.py --aggressive --line-range 550 610 test/inspect_example.py || die |
49 |
- "${PYTHON}" test/acid.py --line-range 289 925 test/vectors_example.py || die |
50 |
- "${PYTHON}" test/test_suite.py || die |
51 |
-} |
52 |
- |
53 |
-pkg_postinst() { |
54 |
- ewarn "Since this version of autopep depends on >=dev-python/pep8-1.3" |
55 |
- ewarn "it is affected by https://github.com/jcrocholl/pep8/issues/45" |
56 |
- ewarn "(indentation checks inside triple-quotes)." |
57 |
- ewarn "If you do not want to be affected by this, then add the" |
58 |
- ewarn "following lines to your local package.mask:" |
59 |
- ewarn " >=dev-python/pep8-1.3" |
60 |
- ewarn " >=dev-python/autopep8-0.6" |
61 |
} |