Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pycodestyle/
Date: Mon, 11 Oct 2021 07:57:02
Message-Id: 1633939001.56fbbfe3b17356bc78ab5bb6744c0137b20cdbac.mgorny@gentoo
1 commit: 56fbbfe3b17356bc78ab5bb6744c0137b20cdbac
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 11 06:20:48 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 11 07:56:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56fbbfe3
7
8 dev-python/pycodestyle: Bump to 2.8.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pycodestyle/Manifest | 1 +
13 dev-python/pycodestyle/pycodestyle-2.8.0.ebuild | 23 +++++++++++++++++++++++
14 2 files changed, 24 insertions(+)
15
16 diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest
17 index 05f914c8cc4..82e0ea79c9b 100644
18 --- a/dev-python/pycodestyle/Manifest
19 +++ b/dev-python/pycodestyle/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pycodestyle-2.6.0.tar.gz 100213 BLAKE2B 484cad34de86ae50f8efaffe590e79fa52ca7f13a3a9d5c9d52f52aef7a940a9eee8cff74b3bd1f711c3a01155f0ce6794196817d1b0e941b8afc77de4804387 SHA512 3bf9904752170135ca399a1b25470a531adb5b85dfd8df7ffbbc86b5875bc3a507cd8732158bc9cb7fd5b44b48c9a32d63d621856d55a15bc3104a99ca4bd271
22 DIST pycodestyle-2.7.0.tar.gz 103640 BLAKE2B 5b1ad351aadff101732748fd4d3a4d34c3eabc058dd9d0c7551afde0dbb169ddce82ccc539e71b72ea2df0dc199b3c2213d259910a18b5acd892782e1314cc19 SHA512 26502480e5855f0fd9378664ec813bb38dc2f8ac22e01767fc8bf75e52fa7a7691382fd4f6f1edaeb5f41d150ed71ee87e0d7f525bf06acbf4b3034cec3a227a
23 +DIST pycodestyle-2.8.0.tar.gz 102299 BLAKE2B ac4708a513582bb0f27f1abfcc983319e6c7b853c53971d5f026f297f897b25a6c8a651a4d2441b19ab37e6df6f7a38a472aad0757fec59e0438263d76ccfdb2 SHA512 0098be44451bc173507e2b396aaf342ccf7f25a6a1f5d5c1f802079a76a66e6bedf9f358b5e07b27bee66e3b279c72a6b72f63e5984f58ae83b7fc5806880fc1
24
25 diff --git a/dev-python/pycodestyle/pycodestyle-2.8.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.8.0.ebuild
26 new file mode 100644
27 index 00000000000..6396cfc0e67
28 --- /dev/null
29 +++ b/dev-python/pycodestyle/pycodestyle-2.8.0.ebuild
30 @@ -0,0 +1,23 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Python style guide checker (fka pep8)"
40 +HOMEPAGE="https://pypi.org/project/pycodestyle/"
41 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
46 +
47 +distutils_enable_sphinx docs
48 +
49 +python_test() {
50 + PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --statistics pycodestyle.py || die
51 + PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --max-doc-length=72 --testsuite=testsuite || die
52 + PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py --doctest -v || die
53 +}