1 |
commit: 1af1f8563abf561ea0ad53c5d2422a1b69bf8fa7 |
2 |
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 10 10:28:03 2021 +0000 |
4 |
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 10 10:28:15 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1af1f856 |
7 |
|
8 |
dev-python/pycodestyle: add DISTUTILS_USE_SETUPTOOLS=no |
9 |
|
10 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=812413 |
11 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
12 |
Signed-off-by: Tobias Klausmann <klausman <AT> gentoo.org> |
13 |
|
14 |
dev-python/pycodestyle/Manifest | 1 - |
15 |
dev-python/pycodestyle/pycodestyle-2.6.0.ebuild | 26 ------------------------- |
16 |
dev-python/pycodestyle/pycodestyle-2.7.0.ebuild | 1 + |
17 |
3 files changed, 1 insertion(+), 27 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest |
20 |
index 05f914c8cc4..9f31803efc2 100644 |
21 |
--- a/dev-python/pycodestyle/Manifest |
22 |
+++ b/dev-python/pycodestyle/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST pycodestyle-2.6.0.tar.gz 100213 BLAKE2B 484cad34de86ae50f8efaffe590e79fa52ca7f13a3a9d5c9d52f52aef7a940a9eee8cff74b3bd1f711c3a01155f0ce6794196817d1b0e941b8afc77de4804387 SHA512 3bf9904752170135ca399a1b25470a531adb5b85dfd8df7ffbbc86b5875bc3a507cd8732158bc9cb7fd5b44b48c9a32d63d621856d55a15bc3104a99ca4bd271 |
25 |
DIST pycodestyle-2.7.0.tar.gz 103640 BLAKE2B 5b1ad351aadff101732748fd4d3a4d34c3eabc058dd9d0c7551afde0dbb169ddce82ccc539e71b72ea2df0dc199b3c2213d259910a18b5acd892782e1314cc19 SHA512 26502480e5855f0fd9378664ec813bb38dc2f8ac22e01767fc8bf75e52fa7a7691382fd4f6f1edaeb5f41d150ed71ee87e0d7f525bf06acbf4b3034cec3a227a |
26 |
|
27 |
diff --git a/dev-python/pycodestyle/pycodestyle-2.6.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.6.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index fc530c8b7c7..00000000000 |
30 |
--- a/dev-python/pycodestyle/pycodestyle-2.6.0.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,26 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) |
39 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
40 |
- |
41 |
-inherit distutils-r1 |
42 |
- |
43 |
-DESCRIPTION="Python style guide checker (fka pep8)" |
44 |
-HOMEPAGE="https://pypi.org/project/pycodestyle/" |
45 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="MIT" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
- |
51 |
-distutils_enable_tests setup.py |
52 |
-distutils_enable_sphinx docs |
53 |
- |
54 |
-python_test() { |
55 |
- PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --statistics pycodestyle.py || die |
56 |
- PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --max-doc-length=72 --testsuite=testsuite || die |
57 |
- PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py --doctest -v || die |
58 |
-} |
59 |
|
60 |
diff --git a/dev-python/pycodestyle/pycodestyle-2.7.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.7.0.ebuild |
61 |
index 83ce4fd2dc6..33045020a47 100644 |
62 |
--- a/dev-python/pycodestyle/pycodestyle-2.7.0.ebuild |
63 |
+++ b/dev-python/pycodestyle/pycodestyle-2.7.0.ebuild |
64 |
@@ -4,6 +4,7 @@ |
65 |
EAPI=7 |
66 |
|
67 |
PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
68 |
+DISTUTILS_USE_SETUPTOOLS=no |
69 |
inherit distutils-r1 |
70 |
|
71 |
DESCRIPTION="Python style guide checker (fka pep8)" |