1 |
commit: 7d960010c929b679a57a5ccdeb11eb16137f5c08 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 3 07:12:55 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 3 07:21:25 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d960010 |
7 |
|
8 |
app-shells/thefuck: add Python 3.8, 3.9 |
9 |
|
10 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
app-shells/thefuck/thefuck-3.28.ebuild | 13 ++++++------- |
14 |
1 file changed, 6 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/app-shells/thefuck/thefuck-3.28.ebuild b/app-shells/thefuck/thefuck-3.28.ebuild |
17 |
index d7199bc7ffe..ffcc66f3c8a 100644 |
18 |
--- a/app-shells/thefuck/thefuck-3.28.ebuild |
19 |
+++ b/app-shells/thefuck/thefuck-3.28.ebuild |
20 |
@@ -3,7 +3,7 @@ |
21 |
|
22 |
EAPI=7 |
23 |
|
24 |
-PYTHON_COMPAT=( python3_{6,7} ) |
25 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
26 |
|
27 |
inherit distutils-r1 |
28 |
|
29 |
@@ -14,8 +14,6 @@ SRC_URI="https://github.com/nvbn/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
30 |
LICENSE="MIT" |
31 |
SLOT="0" |
32 |
KEYWORDS="~amd64 ~x86" |
33 |
-IUSE="test" |
34 |
-RESTRICT="!test? ( test )" |
35 |
|
36 |
RDEPEND=" |
37 |
dev-python/psutil[${PYTHON_USEDEP}] |
38 |
@@ -24,12 +22,13 @@ RDEPEND=" |
39 |
dev-python/colorama[${PYTHON_USEDEP}] |
40 |
dev-python/pyte[${PYTHON_USEDEP}]" |
41 |
DEPEND=" |
42 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
43 |
test? ( |
44 |
- ${RDEPEND} |
45 |
- dev-python/pytest[${PYTHON_USEDEP}] |
46 |
+ dev-python/mock[${PYTHON_USEDEP}] |
47 |
dev-python/pytest-mock[${PYTHON_USEDEP}] |
48 |
- )" |
49 |
+ ) |
50 |
+" |
51 |
+ |
52 |
+distutils_enable_tests pytest |
53 |
|
54 |
python_prepare_all() { |
55 |
sed -i -e "/import pip/s/^/#/" -e "/pip.__version__/,+3 s/^/#/" setup.py || die |