1 |
commit: a2b33a947caacb5acb4bb62fc3cb09789556f7ed |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 30 15:13:51 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 18:05:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2b33a94 |
7 |
|
8 |
dev-python/pyopenssl: Fix running tests and re-enable them |
9 |
|
10 |
dev-python/pyopenssl/pyopenssl-16.2.0.ebuild | 17 ++++++----------- |
11 |
1 file changed, 6 insertions(+), 11 deletions(-) |
12 |
|
13 |
diff --git a/dev-python/pyopenssl/pyopenssl-16.2.0.ebuild b/dev-python/pyopenssl/pyopenssl-16.2.0.ebuild |
14 |
index 2b62b16..3844222 100644 |
15 |
--- a/dev-python/pyopenssl/pyopenssl-16.2.0.ebuild |
16 |
+++ b/dev-python/pyopenssl/pyopenssl-16.2.0.ebuild |
17 |
@@ -24,19 +24,15 @@ LICENSE="Apache-2.0" |
18 |
SLOT="0" |
19 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
20 |
IUSE="doc examples test" |
21 |
-RESTRICT="test" # currently pretty broken. tox always tries to fetch stuff from the internet. |
22 |
|
23 |
RDEPEND=" |
24 |
>=dev-python/six-1.5.2[${PYTHON_USEDEP}] |
25 |
>=dev-python/cryptography-1.3[${PYTHON_USEDEP}]" |
26 |
DEPEND="${RDEPEND} |
27 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
28 |
-# Test dependencies aren't keyworded for all arches yet. |
29 |
-# test? ( |
30 |
-# >=dev-python/coverage-4.2[${PYTHON_USEDEP}] |
31 |
-# dev-python/tox[${PYTHON_USEDEP}] |
32 |
-# >=dev-python/pytest-3.0.1[${PYTHON_USEDEP}] |
33 |
-# )" |
34 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
35 |
+ test? ( |
36 |
+ virtual/python-cffi[${PYTHON_USEDEP}] |
37 |
+ >=dev-python/pytest-3.0.1[${PYTHON_USEDEP}] )" |
38 |
|
39 |
S=${WORKDIR}/${MY_P} |
40 |
|
41 |
@@ -45,9 +41,8 @@ python_compile_all() { |
42 |
} |
43 |
|
44 |
python_test() { |
45 |
- tox |
46 |
- # https://bugs.launchpad.net/pyopenssl/+bug/1237953 |
47 |
- rm -rf tmp* *.key *.pem || die |
48 |
+ # FIXME: for some reason, no-ops on PyPy |
49 |
+ esetup.py test |
50 |
} |
51 |
|
52 |
python_install_all() { |