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/flake8/
Date: Mon, 01 Aug 2022 11:07:20
Message-Id: 1659352019.63b67797dc68aa499c73d5c0fba14f137b6938f4.mgorny@gentoo
1 commit: 63b67797dc68aa499c73d5c0fba14f137b6938f4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 10:35:31 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 11:06:59 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63b67797
7
8 dev-python/flake8: Bump to 5.0.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/flake8/Manifest | 1 +
13 dev-python/flake8/flake8-5.0.1.ebuild | 49 +++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest
17 index 084843824ab3..c684bb7c210f 100644
18 --- a/dev-python/flake8/Manifest
19 +++ b/dev-python/flake8/Manifest
20 @@ -1 +1,2 @@
21 DIST flake8-4.0.1.tar.gz 154905 BLAKE2B b93fea36236881da595ae924b056686e0cd35d2466c1858e3ee83262922df8bc38cf5cd40a910980d287d048572dc94eb8d7c8ee4b11ebd1b4a474dfca02490c SHA512 0bdbf0218ce893df1c3e61f51cd3f371a5c72bb49ef78fec39548b1684e49b024e91cf4e3dcea60ba1efc08727985ef485814c372461e062ff4f810da99a1796
22 +DIST flake8-5.0.1.gh.tar.gz 145559 BLAKE2B 27c49d0e30696be086a68382235611fccf978edbd73fff0b41cd285eb6443bc183f12d54337777d07348951a6e1775793608be567149fecdfcd40cb75e879fcd SHA512 63e91269c9cad7d5807a5b6cc6dfe5fc1db6353fe28bbb6b3459e9a7ee3140db2a40c202d5964acc69546af386d4f0ea5132cbcc60d07f179960249827062440
23
24 diff --git a/dev-python/flake8/flake8-5.0.1.ebuild b/dev-python/flake8/flake8-5.0.1.ebuild
25 new file mode 100644
26 index 000000000000..37823287f388
27 --- /dev/null
28 +++ b/dev-python/flake8/flake8-5.0.1.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( pypy3 python3_{8..11} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe"
41 +HOMEPAGE="
42 + https://github.com/pycqa/flake8/
43 + https://pypi.org/project/flake8/
44 +"
45 +SRC_URI="
46 + https://github.com/PyCQA/flake8/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
53 +
54 +# requires.txt inc. mccabe however that creates a circular dep
55 +RDEPEND="
56 + >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}]
57 + <dev-python/pyflakes-2.6.0[${PYTHON_USEDEP}]
58 + >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}]
59 + <dev-python/pycodestyle-2.10.0[${PYTHON_USEDEP}]
60 +"
61 +PDEPEND="
62 + >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
63 + <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}]
64 +"
65 +BDEPEND="
66 + ${RDEPEND}
67 + test? (
68 + ${PDEPEND}
69 + )
70 +"
71 +
72 +distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme
73 +distutils_enable_tests pytest
74 +
75 +EPYTEST_DESELECT=(
76 + # fails if additional flake8 plugins are installed
77 + tests/integration/test_plugins.py::test_local_plugin_can_add_option
78 +)