1 |
commit: bd0cac48cd36fca9817b1a4dcab5cf85ae2948fe |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 2 09:04:57 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 2 09:04:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd0cac48 |
7 |
|
8 |
dev-python/pytest-pep8: Recombine impls into a single ebuild |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytest-pep8/pytest-pep8-1.0.6-r1.ebuild | 4 +-- |
13 |
dev-python/pytest-pep8/pytest-pep8-1.0.6-r2.ebuild | 32 ---------------------- |
14 |
2 files changed, 2 insertions(+), 34 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pytest-pep8/pytest-pep8-1.0.6-r1.ebuild b/dev-python/pytest-pep8/pytest-pep8-1.0.6-r1.ebuild |
17 |
index c772b528743..f531e8650ff 100644 |
18 |
--- a/dev-python/pytest-pep8/pytest-pep8-1.0.6-r1.ebuild |
19 |
+++ b/dev-python/pytest-pep8/pytest-pep8-1.0.6-r1.ebuild |
20 |
@@ -3,8 +3,9 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-PYTHON_COMPAT=( python3_{6,7} pypy3 ) |
25 |
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
26 |
|
27 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
28 |
inherit distutils-r1 |
29 |
|
30 |
DESCRIPTION="pytest plugin to check PEP8 requirements" |
31 |
@@ -17,7 +18,6 @@ KEYWORDS="amd64 ~arm64 x86" |
32 |
IUSE="" |
33 |
|
34 |
RDEPEND=" |
35 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
36 |
>=dev-python/pep8-1.3[${PYTHON_USEDEP}] |
37 |
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] |
38 |
dev-python/pytest-cache[${PYTHON_USEDEP}] |
39 |
|
40 |
diff --git a/dev-python/pytest-pep8/pytest-pep8-1.0.6-r2.ebuild b/dev-python/pytest-pep8/pytest-pep8-1.0.6-r2.ebuild |
41 |
deleted file mode 100644 |
42 |
index 141399f020e..00000000000 |
43 |
--- a/dev-python/pytest-pep8/pytest-pep8-1.0.6-r2.ebuild |
44 |
+++ /dev/null |
45 |
@@ -1,32 +0,0 @@ |
46 |
-# Copyright 1999-2020 Gentoo Authors |
47 |
-# Distributed under the terms of the GNU General Public License v2 |
48 |
- |
49 |
-EAPI=7 |
50 |
- |
51 |
-PYTHON_COMPAT=( python3_{7,8} pypy3 ) |
52 |
- |
53 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
54 |
-inherit distutils-r1 |
55 |
- |
56 |
-DESCRIPTION="pytest plugin to check PEP8 requirements" |
57 |
-HOMEPAGE="https://pypi.org/project/pytest-pep8/" |
58 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
59 |
- |
60 |
-SLOT="0" |
61 |
-LICENSE="MIT" |
62 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
63 |
- |
64 |
-RDEPEND=" |
65 |
- >=dev-python/pep8-1.3[${PYTHON_USEDEP}] |
66 |
- >=dev-python/pytest-2.4.2[${PYTHON_USEDEP}] |
67 |
- dev-python/pytest-cache[${PYTHON_USEDEP}] |
68 |
-" |
69 |
-DEPEND="${RDEPEND}" |
70 |
- |
71 |
-PATCHES=( |
72 |
- "${FILESDIR}"/1.0.6-MANIFEST.patch |
73 |
-) |
74 |
- |
75 |
-python_test() { |
76 |
- ${EPYTHON} test_pep8.py || die |
77 |
-} |