1 |
commit: 6c7b88657f36c278c4de0e57e7ce497ec891b57e |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Thu May 14 12:28:11 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 26 20:41:47 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c7b8865 |
7 |
|
8 |
dev-python/pycodestyle: version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
13 |
|
14 |
dev-python/pycodestyle/Manifest | 1 + |
15 |
dev-python/pycodestyle/pycodestyle-2.6.0.ebuild | 26 +++++++++++++++++++++++++ |
16 |
2 files changed, 27 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest |
19 |
index b0f8d25bc76..8ed273f0f2d 100644 |
20 |
--- a/dev-python/pycodestyle/Manifest |
21 |
+++ b/dev-python/pycodestyle/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST pycodestyle-2.5.0.tar.gz 98802 BLAKE2B ec86642f0f37abc4da8886df6395694b54cbe4e1d0030615b2136f0bc265825df254f019483e9094feaad685e43008cefdf0e50b533df434a40de0de11aa5fa1 SHA512 84e751a7d00048393b02ca743de5d71d1641e948ee1b4daebbdf2d07e0cd8f087ca4e81f826061114b40ef41920bbcd680c9f479e7cc1a159a70188425717208 |
24 |
+DIST pycodestyle-2.6.0.tar.gz 100213 BLAKE2B 484cad34de86ae50f8efaffe590e79fa52ca7f13a3a9d5c9d52f52aef7a940a9eee8cff74b3bd1f711c3a01155f0ce6794196817d1b0e941b8afc77de4804387 SHA512 3bf9904752170135ca399a1b25470a531adb5b85dfd8df7ffbbc86b5875bc3a507cd8732158bc9cb7fd5b44b48c9a32d63d621856d55a15bc3104a99ca4bd271 |
25 |
|
26 |
diff --git a/dev-python/pycodestyle/pycodestyle-2.6.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.6.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..04692ec49c1 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/pycodestyle/pycodestyle-2.6.0.ebuild |
31 |
@@ -0,0 +1,26 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Python style guide checker (fka pep8)" |
43 |
+HOMEPAGE="https://pypi.org/project/pycodestyle/" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
+ |
50 |
+distutils_enable_tests setup.py |
51 |
+distutils_enable_sphinx docs |
52 |
+ |
53 |
+python_test() { |
54 |
+ PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --statistics pycodestyle.py || die |
55 |
+ PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --max-doc-length=72 --testsuite=testsuite || die |
56 |
+ PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py --doctest -v || die |
57 |
+} |