1 |
commit: ca566c594abf352bb91ae535a5876569f8f016ea |
2 |
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 10 11:29:10 2021 +0000 |
4 |
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 10 11:29:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca566c59 |
7 |
|
8 |
dev-python/flake8: Restore 3.8.4 |
9 |
|
10 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
11 |
RepoMan-Options: --force |
12 |
Signed-off-by: Tobias Klausmann <klausman <AT> gentoo.org> |
13 |
|
14 |
dev-python/flake8/Manifest | 1 + |
15 |
dev-python/flake8/flake8-3.8.4.ebuild | 39 +++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 40 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest |
19 |
index f264b666e2e..cecdf99ae1d 100644 |
20 |
--- a/dev-python/flake8/Manifest |
21 |
+++ b/dev-python/flake8/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
+DIST flake8-3.8.4.tar.gz 163583 BLAKE2B 221234931365912adffec99c7c6761d2f35918222bee902ade4d8009d24f6918c66d23fc4b973fe653152cc6857b62ba859780b0d9de53fb91b7ea0379bee9d0 SHA512 51ed09beed50175573e6184b404431b3f89aa6594c40c70ed8288982fe12c2a68992e36d69c99013188f03555bf9fef1ba4f111f8e389cef1e1daa69b41ff5b0 |
24 |
DIST flake8-3.9.2.tar.gz 164777 BLAKE2B 1c991296a3e47e4c41f1196fcaf1e7ea059226dfb41657a52fc4f5a9023b54dba21dd99635398e12f37f52f6e498a0a1fb7d87aba0fe7098ebbdfb54dc5598b0 SHA512 618fe1b35070b24395e5d4da9fa1b1f6308abf6f85d8de71b8b553f84d70d9cd7d2a6f616fa1418db9a8b5ad3efab038f4e2d7c6020c0c1bdeb8157e666911fd |
25 |
|
26 |
diff --git a/dev-python/flake8/flake8-3.8.4.ebuild b/dev-python/flake8/flake8-3.8.4.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d002ff0c785 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/flake8/flake8-3.8.4.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( pypy3 python3_{7..9} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" |
43 |
+HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/" |
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 ~x64-macos" |
49 |
+ |
50 |
+# requires.txt inc. mccabe however that creates a circular dep |
51 |
+RDEPEND=" |
52 |
+ >=dev-python/pyflakes-2.2.0[${PYTHON_USEDEP}] |
53 |
+ <dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/pycodestyle-2.6.0[${PYTHON_USEDEP}] |
55 |
+ <dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}] |
56 |
+ $(python_gen_cond_dep 'dev-python/importlib_metadata[${PYTHON_USEDEP}]' pypy3 python3_{6,7}) |
57 |
+" |
58 |
+PDEPEND=" |
59 |
+ >=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}] |
60 |
+ <dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] |
61 |
+" |
62 |
+BDEPEND="${RDEPEND} |
63 |
+ test? ( |
64 |
+ ${PDEPEND} |
65 |
+ >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] |
66 |
+ ) |
67 |
+" |
68 |
+ |
69 |
+distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme |
70 |
+distutils_enable_tests --install pytest |