1 |
commit: bc047510aea0926ba78b824be5dfec142e76c8af |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 28 22:45:01 2018 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 28 22:45:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc047510 |
7 |
|
8 |
dev-python/irc: add python 3.7, make tests verbose, sort deps |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
dev-python/irc/irc-16.3.ebuild | 17 +++++++++-------- |
13 |
1 file changed, 9 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/irc/irc-16.3.ebuild b/dev-python/irc/irc-16.3.ebuild |
16 |
index 98fedd35523..a8ee6feca92 100644 |
17 |
--- a/dev-python/irc/irc-16.3.ebuild |
18 |
+++ b/dev-python/irc/irc-16.3.ebuild |
19 |
@@ -2,7 +2,7 @@ |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
|
22 |
EAPI=7 |
23 |
-PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) |
24 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
@@ -27,18 +27,19 @@ RDEPEND=" |
29 |
dev-python/pytz[${PYTHON_USEDEP}] |
30 |
dev-python/six[${PYTHON_USEDEP}] |
31 |
" |
32 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
33 |
+DEPEND=" |
34 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
35 |
>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] |
36 |
- test? ( |
37 |
- ${RDEPEND} |
38 |
- dev-python/backports-unittest-mock[${PYTHON_USEDEP}] |
39 |
- >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
40 |
- ) |
41 |
doc? ( |
42 |
>=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] |
43 |
>=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] |
44 |
dev-python/sphinx[${PYTHON_USEDEP}] |
45 |
) |
46 |
+ test? ( |
47 |
+ ${RDEPEND} |
48 |
+ dev-python/backports-unittest-mock[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/pytest-2.8[${PYTHON_USEDEP}] |
50 |
+ ) |
51 |
" |
52 |
|
53 |
python_compile_all() { |
54 |
@@ -51,7 +52,7 @@ python_compile_all() { |
55 |
|
56 |
python_test() { |
57 |
# Override pytest options to skip flake8 |
58 |
- py.test --override-ini="addopts=--doctest-modules" \ |
59 |
+ pytest -vv --override-ini="addopts=--doctest-modules" \ |
60 |
|| die "Tests failed with ${EPYTHON}" |
61 |
} |