commit: 8d3f380c26054d773bc0afbcff87e51606088e6e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 6 19:56:47 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 6 19:57:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d3f380c
dev-python/sphinx: Reenable pypy3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinx/sphinx-3.0.0.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-python/sphinx/sphinx-3.0.0.ebuild
b/dev-python/sphinx/sphinx-3.0.0.ebuild
index c5058d4ee17..1a71657e286 100644
--- a/dev-python/sphinx/sphinx-3.0.0.ebuild
+++ b/dev-python/sphinx/sphinx-3.0.0.ebuild
@@ -4,7 +4,7 @@
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
@@ -72,6 +72,10 @@ python_prepare_all() {
sed -i -e '/def test_partialfunction/i\
@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on
pypy3")' \
-e '/def test_autodoc_typed_instance_variables/i\
[email protected](hasattr(sys, "pypy_version_info"), reason="broken on
pypy3")' \
+ -e '/def test_autodoc_inherited_members_None/i\
[email protected](hasattr(sys, "pypy_version_info"), reason="broken on
pypy3")' \
+ -e '/def test_cython/i\
@pytest.mark.skipif(hasattr(sys, "pypy_version_info"), reason="broken on
pypy3")' \
tests/test_autodoc.py || die
sed -i -e '11aimport sys' \