1 |
commit: c05d68deac41d0e67179fea72079f2b37b458126 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 31 10:54:18 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 31 10:55:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05d68de |
7 |
|
8 |
dev-python/flake8: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/flake8/Manifest | 2 - |
13 |
.../flake8/files/flake8-4.0.1-upgrade-mccabe.patch | 13 ------ |
14 |
dev-python/flake8/flake8-4.0.1-r2.ebuild | 47 --------------------- |
15 |
dev-python/flake8/flake8-5.0.4.ebuild | 49 ---------------------- |
16 |
4 files changed, 111 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/flake8/Manifest b/dev-python/flake8/Manifest |
19 |
index 1b96b39d9102..468a0ce739e2 100644 |
20 |
--- a/dev-python/flake8/Manifest |
21 |
+++ b/dev-python/flake8/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST flake8-4.0.1.tar.gz 154905 BLAKE2B b93fea36236881da595ae924b056686e0cd35d2466c1858e3ee83262922df8bc38cf5cd40a910980d287d048572dc94eb8d7c8ee4b11ebd1b4a474dfca02490c SHA512 0bdbf0218ce893df1c3e61f51cd3f371a5c72bb49ef78fec39548b1684e49b024e91cf4e3dcea60ba1efc08727985ef485814c372461e062ff4f810da99a1796 |
24 |
-DIST flake8-5.0.4.gh.tar.gz 146207 BLAKE2B c99ec0977948e98ca62106737509f7901b15871894f08c1dc82a4dfdf7567bc85eaca5918600fc42d0c82de612644df1b587e8a7c84fbe040d1402c3513e1855 SHA512 2e9f8bf2bbca1ab0b7cb0bc6aee53f7e12288194a80a8be915478061fd76adb8d270ee50383b45beb9d4dd1ee806f104e7bbf29f69b23a7cd88ee0902ff3e965 |
25 |
DIST flake8-6.0.0.gh.tar.gz 139138 BLAKE2B 87590594a95f48a9e532ca545d4ae17a098cba81a7708066d63180b27e1cd0e0b648a2362d16b3818ef1b91cbe9ecf51810d45136fb42f188fc09083e9b31921 SHA512 27de4632332ee72bb5deedfcb7ea59e31a3e7fbfd6c165adf019b06cccaba51b776f4310219d8b27cf4894ed2597330fe9c0e381187353d4dc239f102eedd26a |
26 |
|
27 |
diff --git a/dev-python/flake8/files/flake8-4.0.1-upgrade-mccabe.patch b/dev-python/flake8/files/flake8-4.0.1-upgrade-mccabe.patch |
28 |
deleted file mode 100644 |
29 |
index 5dab4af913fe..000000000000 |
30 |
--- a/dev-python/flake8/files/flake8-4.0.1-upgrade-mccabe.patch |
31 |
+++ /dev/null |
32 |
@@ -1,13 +0,0 @@ |
33 |
-diff --git a/setup.cfg b/setup.cfg |
34 |
-index 9cbc9b3..732d6a2 100644 |
35 |
---- a/setup.cfg |
36 |
-+++ b/setup.cfg |
37 |
-@@ -35,7 +35,7 @@ packages = find: |
38 |
- package_dir = |
39 |
- =src |
40 |
- install_requires = |
41 |
-- mccabe>=0.6.0,<0.7.0 |
42 |
-+ mccabe>=0.7.0,<0.8.0 |
43 |
- pycodestyle>=2.8.0,<2.9.0 |
44 |
- pyflakes>=2.4.0,<2.5.0 |
45 |
- importlib-metadata<4.3;python_version<"3.8" |
46 |
|
47 |
diff --git a/dev-python/flake8/flake8-4.0.1-r2.ebuild b/dev-python/flake8/flake8-4.0.1-r2.ebuild |
48 |
deleted file mode 100644 |
49 |
index 330b48a50e31..000000000000 |
50 |
--- a/dev-python/flake8/flake8-4.0.1-r2.ebuild |
51 |
+++ /dev/null |
52 |
@@ -1,47 +0,0 @@ |
53 |
-# Copyright 1999-2022 Gentoo Authors |
54 |
-# Distributed under the terms of the GNU General Public License v2 |
55 |
- |
56 |
-EAPI=8 |
57 |
- |
58 |
-PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
59 |
-DISTUTILS_USE_PEP517=setuptools |
60 |
-inherit distutils-r1 |
61 |
- |
62 |
-DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" |
63 |
-HOMEPAGE="https://gitlab.com/pycqa/flake8 https://pypi.org/project/flake8/" |
64 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
65 |
- |
66 |
-LICENSE="MIT" |
67 |
-SLOT="0" |
68 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
69 |
- |
70 |
-# requires.txt inc. mccabe however that creates a circular dep |
71 |
-RDEPEND=" |
72 |
- >=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}] |
73 |
- <dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] |
74 |
- >=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}] |
75 |
- <dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] |
76 |
-" |
77 |
-PDEPEND=" |
78 |
- >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] |
79 |
- <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] |
80 |
- |
81 |
-" |
82 |
-BDEPEND="${RDEPEND} |
83 |
- test? ( |
84 |
- ${PDEPEND} |
85 |
- ) |
86 |
-" |
87 |
- |
88 |
-PATCHES=( |
89 |
- "${FILESDIR}/${P}-upgrade-mccabe.patch" |
90 |
-) |
91 |
- |
92 |
-distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme |
93 |
-distutils_enable_tests pytest |
94 |
- |
95 |
-src_prepare() { |
96 |
- # remove version-limited dep |
97 |
- sed -i -e '/importlib-metadata/d' setup.cfg || die |
98 |
- distutils-r1_src_prepare |
99 |
-} |
100 |
|
101 |
diff --git a/dev-python/flake8/flake8-5.0.4.ebuild b/dev-python/flake8/flake8-5.0.4.ebuild |
102 |
deleted file mode 100644 |
103 |
index fb872f3ac938..000000000000 |
104 |
--- a/dev-python/flake8/flake8-5.0.4.ebuild |
105 |
+++ /dev/null |
106 |
@@ -1,49 +0,0 @@ |
107 |
-# Copyright 1999-2022 Gentoo Authors |
108 |
-# Distributed under the terms of the GNU General Public License v2 |
109 |
- |
110 |
-EAPI=8 |
111 |
- |
112 |
-DISTUTILS_USE_PEP517=setuptools |
113 |
-PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
114 |
- |
115 |
-inherit distutils-r1 |
116 |
- |
117 |
-DESCRIPTION="A wrapper around PyFlakes, pep8 & mccabe" |
118 |
-HOMEPAGE=" |
119 |
- https://github.com/pycqa/flake8/ |
120 |
- https://pypi.org/project/flake8/ |
121 |
-" |
122 |
-SRC_URI=" |
123 |
- https://github.com/PyCQA/flake8/archive/${PV}.tar.gz |
124 |
- -> ${P}.gh.tar.gz |
125 |
-" |
126 |
- |
127 |
-LICENSE="MIT" |
128 |
-SLOT="0" |
129 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" |
130 |
- |
131 |
-# requires.txt inc. mccabe however that creates a circular dep |
132 |
-RDEPEND=" |
133 |
- >=dev-python/pyflakes-2.5.0[${PYTHON_USEDEP}] |
134 |
- <dev-python/pyflakes-2.6.0[${PYTHON_USEDEP}] |
135 |
- >=dev-python/pycodestyle-2.9.0[${PYTHON_USEDEP}] |
136 |
- <dev-python/pycodestyle-2.10.0[${PYTHON_USEDEP}] |
137 |
-" |
138 |
-PDEPEND=" |
139 |
- >=dev-python/mccabe-0.7.0[${PYTHON_USEDEP}] |
140 |
- <dev-python/mccabe-0.8.0[${PYTHON_USEDEP}] |
141 |
-" |
142 |
-BDEPEND=" |
143 |
- ${RDEPEND} |
144 |
- test? ( |
145 |
- ${PDEPEND} |
146 |
- ) |
147 |
-" |
148 |
- |
149 |
-distutils_enable_sphinx docs/source dev-python/sphinx-prompt dev-python/sphinx_rtd_theme |
150 |
-distutils_enable_tests pytest |
151 |
- |
152 |
-EPYTEST_DESELECT=( |
153 |
- # fails if additional flake8 plugins are installed |
154 |
- tests/integration/test_plugins.py::test_local_plugin_can_add_option |
155 |
-) |