1 |
commit: edd1165aaf308f62023f784c354bb77aac1eb1ac |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 27 15:35:36 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 27 15:36:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edd1165a |
7 |
|
8 |
dev-python/autopep8: Version bump to 1.3.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-python/autopep8/Manifest | 1 - |
13 |
dev-python/autopep8/autopep8-1.3.1.ebuild | 40 ---------------------- |
14 |
.../files/autopep8-1.3.1-test-line-length.patch | 28 --------------- |
15 |
3 files changed, 69 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest |
18 |
index b52c3726621..dc1c6d89006 100644 |
19 |
--- a/dev-python/autopep8/Manifest |
20 |
+++ b/dev-python/autopep8/Manifest |
21 |
@@ -1,4 +1,3 @@ |
22 |
DIST autopep8-1.0.4.tar.gz 121476 SHA256 58883a80d501f6f5d97859f100414c6b6f6131fcfc08bd88364c2ecb37a55153 SHA512 53e902dcdd654b9d67d9a31a2343503b754bec78630a7fd8d229843c53eb27d11c32fd6a4829714ac4d7cbee59b055d12e60453ae4ee01cb6131bf9c5045426f WHIRLPOOL 44748dfce6202e1e82c468862e4505500c939ee88eb474392767e606c537a66736f2788c0b6573db37b7c207f3f4608b2a6ecb0fb231bb8c3c090040d17f0642 |
23 |
DIST autopep8-1.2.4.tar.gz 105273 SHA256 38e31e266e29808e8a65a307778ed8e402e1f0d87472009420d6d18146cdeaa2 SHA512 f56c143d94521487628b225d9a0464ee5c8ca69aaea0c5e43c84f1dd920a0274508c6831da429e716829c38bc7c357842bb6403b8b61c04b464240e3573e05d6 WHIRLPOOL f551f8e2cb8b71664c2e47f7458c9923b70b420c044f980d67172b17f7ea9aa328141f9af648eedb400379dfb5a6ab804671fb1f942f8cca8a3ad851a5e9b3d2 |
24 |
-DIST autopep8-1.3.1.tar.gz 107541 SHA256 405eaa5199c74a0570125916e6af44d39343c1fcaaafee117fc329a3f86048c4 SHA512 f20de070b27520a9de56477b7d7b0ea2d3924b882687a43acb4cdbd25a727cfa48e15be4511be1706755e66164164766b405be3230edaecc8563e835e866a030 WHIRLPOOL a5579a23ab9112918c037ab9c10395c9841db919538f7dddb21ae15b8135f6cbc6cbff1403daaaedb95a97b3e6dfc841baa4c73186ebf05a393e276d164b7464 |
25 |
DIST autopep8-1.3.2.tar.gz 107915 SHA256 7e82590bf366b4d891ac5c1535554c46a5f79e4400a190a8493e92e75c5037dd SHA512 cb9a5e297ce705722d5e65472dbe749e57fa12fe8dee0d4c3dc20d9e885e0d885339627667110318c89c6bf7e337203a7831c0e2217e5a5d7951edcb98d3df4f WHIRLPOOL 8e1d4a9a71e4cc790060a393f5512913d567855d886776b4e32db4ffcef0bb82c793b3af833ddec1dc0f08e585f2d9163ec1c8ee67f118f4b982740ffec89f6e |
26 |
|
27 |
diff --git a/dev-python/autopep8/autopep8-1.3.1.ebuild b/dev-python/autopep8/autopep8-1.3.1.ebuild |
28 |
deleted file mode 100644 |
29 |
index fbabaae4407..00000000000 |
30 |
--- a/dev-python/autopep8/autopep8-1.3.1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,40 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
- |
38 |
-PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} ) |
39 |
-PYTHON_REQ_USE="threads(+)" |
40 |
- |
41 |
-inherit distutils-r1 |
42 |
- |
43 |
-DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" |
44 |
-HOMEPAGE="https://github.com/hhatto/autopep8 https://pypi.python.org/pypi/autopep8" |
45 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="MIT" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
50 |
-IUSE="test" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- >=dev-python/pep8-1.5.7[${PYTHON_USEDEP}] |
54 |
- >=dev-python/pycodestyle-2.3[${PYTHON_USEDEP}]" |
55 |
-DEPEND=" |
56 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
- test? ( |
58 |
- ${RDEPEND} |
59 |
- >=dev-python/pydiff-0.1.2[${PYTHON_USEDEP}] |
60 |
- )" |
61 |
- |
62 |
-PATCHES=( "${FILESDIR}"/${PN}-1.3.1-test-line-length.patch ) |
63 |
- |
64 |
-python_prepare_all() { |
65 |
- # Prevent UnicodeDecodeError with LANG=C |
66 |
- sed -e "/é/d" -i MANIFEST.in || die |
67 |
- distutils-r1_python_prepare_all |
68 |
-} |
69 |
- |
70 |
-python_test() { |
71 |
- esetup.py test |
72 |
-} |
73 |
|
74 |
diff --git a/dev-python/autopep8/files/autopep8-1.3.1-test-line-length.patch b/dev-python/autopep8/files/autopep8-1.3.1-test-line-length.patch |
75 |
deleted file mode 100644 |
76 |
index 5644a8a8a72..00000000000 |
77 |
--- a/dev-python/autopep8/files/autopep8-1.3.1-test-line-length.patch |
78 |
+++ /dev/null |
79 |
@@ -1,28 +0,0 @@ |
80 |
-Fails with the following message: |
81 |
- |
82 |
-====================================================================== |
83 |
-FAIL: test_local_pycodestyle_config_line_length (test.test_autopep8.ConfigurationTests) |
84 |
----------------------------------------------------------------------- |
85 |
-Traceback (most recent call last): |
86 |
- File "/var/tmp/portage/dev-python/autopep8-1.3.1/work/autopep8-1.3.1/test/test_autopep8.py", line 4724, in test_local_pycodestyle_config_line_length |
87 |
- self.assertEqual(args.max_line_length, 40) |
88 |
-AssertionError: 79 != 40 |
89 |
- |
90 |
----------------------------------------------------------------------- |
91 |
- |
92 |
---- a/test/test_autopep8.py |
93 |
-+++ b/test/test_autopep8.py |
94 |
-@@ -4715,13 +4715,6 @@ |
95 |
- self.assertEqual(args.global_config, 'False') |
96 |
- self.assertEqual(args.indent_size, 2) |
97 |
- |
98 |
-- def test_local_pycodestyle_config_line_length(self): |
99 |
-- args = autopep8.parse_args( |
100 |
-- [os.path.join(FAKE_PYCODESTYLE_CONFIGURATION, 'foo.py'), |
101 |
-- '--global-config={0}'.format(os.devnull)], |
102 |
-- apply_config=True) |
103 |
-- self.assertEqual(args.max_line_length, 40) |
104 |
-- |
105 |
- def test_config_false_with_local_autocomplete(self): |
106 |
- args = autopep8.parse_args( |
107 |
- [os.path.join(FAKE_CONFIGURATION, 'foo.py'), |