1 |
commit: ceac74aa4531596d5d30ef7fe599f11c10e6acac |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 16 09:13:31 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 16 11:01:10 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceac74aa |
7 |
|
8 |
dev-python/pexpect: Enable py3.8 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pexpect/pexpect-4.6.0.ebuild | 13 +++++-------- |
13 |
1 file changed, 5 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pexpect/pexpect-4.6.0.ebuild b/dev-python/pexpect/pexpect-4.6.0.ebuild |
16 |
index d5596edcb12..9a8c5e55861 100644 |
17 |
--- a/dev-python/pexpect/pexpect-4.6.0.ebuild |
18 |
+++ b/dev-python/pexpect/pexpect-4.6.0.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=6 |
22 |
|
23 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 ) |
24 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 ) |
25 |
PYTHON_REQ_USE="threads(+)" |
26 |
|
27 |
inherit distutils-r1 |
28 |
@@ -15,21 +15,18 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
29 |
LICENSE="MIT" |
30 |
SLOT="0" |
31 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
32 |
-IUSE="doc examples test" |
33 |
+IUSE="doc examples" |
34 |
|
35 |
RDEPEND=">=dev-python/ptyprocess-0.5[${PYTHON_USEDEP}]" |
36 |
DEPEND=" |
37 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
38 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
39 |
+ doc? ( dev-python/sphinx )" |
40 |
+ |
41 |
+distutils_enable_tests pytest |
42 |
|
43 |
python_compile_all() { |
44 |
use doc && emake -C doc html |
45 |
} |
46 |
|
47 |
-python_test() { |
48 |
- pytest -vv tests || die "Tests fail with ${EPYTHON}" |
49 |
-} |
50 |
- |
51 |
python_install_all() { |
52 |
use doc && local HTML_DOCS=( doc/_build/html/. ) |
53 |
if use examples; then |