1 |
commit: e253ecee00fde0c66de69142ba6edaead5379565 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 8 17:40:01 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 9 21:40:59 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e253ecee |
7 |
|
8 |
dev-python/autopep8: version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-python/autopep8/Manifest | 1 + |
13 |
dev-python/autopep8/autopep8-1.4.ebuild | 44 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest |
17 |
index b229fcaa535..267d6cac194 100644 |
18 |
--- a/dev-python/autopep8/Manifest |
19 |
+++ b/dev-python/autopep8/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST autopep8-1.3.2.tar.gz 107915 BLAKE2B 3148f12616babc26415fc138d5d9e2d2a83cc735449cea54870662dabdfebfd298d96ca716ee62c9143049a2abf05e6a597b0ec6bab90c557dae63999794ea25 SHA512 cb9a5e297ce705722d5e65472dbe749e57fa12fe8dee0d4c3dc20d9e885e0d885339627667110318c89c6bf7e337203a7831c0e2217e5a5d7951edcb98d3df4f |
22 |
DIST autopep8-1.3.3.tar.gz 108639 BLAKE2B d2e6f6f334dfeb5e8ae33f4460c9344ec6b1e234e7f714c7602fae72f1ca5608e12145c40a39b14d28e1d79b0dd91855493d87947407428ba4c1d87834156626 SHA512 e327d58311f74c8bb9f18b99f8d866c071166e94f43912b35eedc6062267d4cdb5842bde7c54426c751b1bb76103ec11eb8daa682772a1f71c50962811dbc694 |
23 |
DIST autopep8-1.3.5.tar.gz 109415 BLAKE2B e30a9719dcb2ce5463adc967ea76daa1c919c4b26e879ad69416e06bdff873e288b43a86f2cd797e67428c969e60dfb1f63508bbd8eec8f818f2abd4f68409e9 SHA512 3f7b441ede0efe01b3123e9349eeddc1eb62e6198c79e95e7eee532a3c9eca0cedfd4fdb50a872da9be93ad79db68fb13972eb984539f9ca4ebc37b05411cf70 |
24 |
+DIST autopep8-1.4.tar.gz 107925 BLAKE2B a64f3af22d0f7910210c8f49b29e47a4a8a5118135a77ac53f1fbf97ff826b6dd2df034610c8d0298af27765e260d26627bef4d8550fdf31d6cb1068d52a0d18 SHA512 ec7dd7879140119227f30bd87bb416a74c402ff1c0b32f45103847774fc33de99d51d1815991441c20e3c81b3fdef73bc4563899da5a6d17b1e682e42f53754b |
25 |
|
26 |
diff --git a/dev-python/autopep8/autopep8-1.4.ebuild b/dev-python/autopep8/autopep8-1.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..9dbeed09290 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/autopep8/autopep8-1.4.ebuild |
31 |
@@ -0,0 +1,44 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} ) |
38 |
+PYTHON_REQ_USE="threads(+)" |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" |
43 |
+HOMEPAGE="https://github.com/hhatto/autopep8 https://pypi.org/project/autopep8/" |
44 |
+if [[ ${PV} == *9999* ]]; then |
45 |
+ EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" |
46 |
+ inherit git-r3 |
47 |
+else |
48 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
49 |
+ KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="MIT" |
53 |
+SLOT="0" |
54 |
+IUSE="test" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ >=dev-python/pep8-1.5.7[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/pycodestyle-2.3[${PYTHON_USEDEP}]" |
59 |
+ |
60 |
+DEPEND=" |
61 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
62 |
+ test? ( |
63 |
+ ${RDEPEND} |
64 |
+ >=dev-python/pydiff-0.1.2[${PYTHON_USEDEP}] |
65 |
+ )" |
66 |
+ |
67 |
+python_prepare_all() { |
68 |
+ # Prevent UnicodeDecodeError with LANG=C |
69 |
+ sed -e "/é/d" -i MANIFEST.in || die |
70 |
+ distutils-r1_python_prepare_all |
71 |
+} |
72 |
+ |
73 |
+python_test() { |
74 |
+ esetup.py test |
75 |
+} |