Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/twisted/
Date: Fri, 24 Apr 2020 08:19:04
Message-Id: 1587716337.f646e1f7474a0d4e2a284c73d7acb0e105fca0f0.mgorny@gentoo
1 commit: f646e1f7474a0d4e2a284c73d7acb0e105fca0f0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 24 08:16:09 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 24 08:18:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f646e1f7
7
8 dev-python/twisted: Run tests in virtx to avoid crashing
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/twisted/twisted-19.10.0.ebuild | 6 +++++-
13 1 file changed, 5 insertions(+), 1 deletion(-)
14
15 diff --git a/dev-python/twisted/twisted-19.10.0.ebuild b/dev-python/twisted/twisted-19.10.0.ebuild
16 index 7dc1cb2ddc5..1fedad60368 100644
17 --- a/dev-python/twisted/twisted-19.10.0.ebuild
18 +++ b/dev-python/twisted/twisted-19.10.0.ebuild
19 @@ -6,7 +6,7 @@ EAPI=7
20 PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
21 PYTHON_REQ_USE="threads(+)"
22
23 -inherit distutils-r1
24 +inherit distutils-r1 virtualx
25
26 TWISTED_PN="Twisted"
27 TWISTED_P="${TWISTED_PN}-${PV}"
28 @@ -98,6 +98,10 @@ python_prepare_all() {
29 distutils-r1_python_prepare_all
30 }
31
32 +src_test() {
33 + virtx distutils-r1_src_test
34 +}
35 +
36 python_test() {
37 distutils_install_for_testing