1 |
commit: 522f3f78b9ed32912ddb4c788e698f111cc14d84 |
2 |
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 17:47:38 2017 +0000 |
4 |
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 17:47:38 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522f3f78 |
7 |
|
8 |
dev-python/pycodestyle: Bump to 2.2.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/pycodestyle/Manifest | 1 + |
13 |
dev-python/pycodestyle/pycodestyle-2.2.0.ebuild | 38 +++++++++++++++++++++++++ |
14 |
2 files changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest |
17 |
index fb7016e..76da824 100644 |
18 |
--- a/dev-python/pycodestyle/Manifest |
19 |
+++ b/dev-python/pycodestyle/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pycodestyle-2.0.0.tar.gz 81701 SHA256 37f0420b14630b0eaaf452978f3a6ea4816d787c3e6dcbba6fb255030adae2e7 SHA512 c003a75bb8873d8ec09cbaf7391c75ebd4739eeab518bbea03c8b2cdc18839773190352166ded78d32992adb56895ee1502003bca11b2d63676c10facb879ac8 WHIRLPOOL 3f162936ea03c8bcd2ba7adbcb77c3d8e44549090875719c888a9fbd86bb9cbf16d4378ffc1c2f28050253520aa86753172816429bc530bc074a2f8fd3e88613 |
22 |
DIST pycodestyle-2.1.0.tar.gz 85519 SHA256 5b540e4f19b4938c082cfd13f5d778d1ad2308b337abbc687ab9335233f5f3e2 SHA512 901025813884612a04a1f37d2197a7757a050cb38f0dcbff7602b636ad22ae73e943d9b6a5028feda3bec9e55eca91064ace0416ffab8ea0c1721c50dd5c2673 WHIRLPOOL edf365450a7e3440fc5302cef220817fad67832890f72624a5397f8fa69f4e9ff522f7b041788d5852e7875dc707d6b8bb94f481accfcf138c62a0efbaa891dd |
23 |
+DIST pycodestyle-2.2.0.tar.gz 85811 SHA256 df81dc3293e0123e2e8d1f2aaf819600e4ae287d8b3af8b72181af50257e5d9a SHA512 19c925158d6d0fa704f58387585aa4a618c4973d9f6e99a7831d9a41cb7886a4f1fec8b696162787a84dc575adb6e1cc253fb4af31252ae9cff0ced4b066c346 WHIRLPOOL 49421e7a3a18ce6fa5959fbd22c68022eeef54949fe54ae2c4cc8e4e3c7a1e3356066ae793e4468f8716d0edaffb7c4714c5cdf7750906d533dd5c010574ee4e |
24 |
|
25 |
diff --git a/dev-python/pycodestyle/pycodestyle-2.2.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.2.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..c1734c2 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pycodestyle/pycodestyle-2.2.0.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Python style guide checker (fka pep8)" |
42 |
+HOMEPAGE="https://pypi.python.org/pypi/pycodestyle" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
48 |
+IUSE="doc" |
49 |
+ |
50 |
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
53 |
+ |
54 |
+python_compile_all() { |
55 |
+ use doc && emake -C docs html |
56 |
+} |
57 |
+ |
58 |
+python_test() { |
59 |
+ PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --statistics pycodestyle.py || die |
60 |
+ PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --testsuite=testsuite || die |
61 |
+ PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py --doctest -v || die |
62 |
+ esetup.py test |
63 |
+} |
64 |
+ |
65 |
+python_install_all() { |
66 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
67 |
+ distutils-r1_python_install_all |
68 |
+} |