commit: c034c18853f510d292a132754623a9988ab7ef14
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Aug 7 04:45:56 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 1 12:16:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c034c188
dev-python/simplejson: comment for native-extensions on pypy3
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/simplejson/simplejson-3.19.1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-python/simplejson/simplejson-3.19.1.ebuild
b/dev-python/simplejson/simplejson-3.19.1.ebuild
index 3d2130d9f7c4..a014c1d7ed9b 100644
--- a/dev-python/simplejson/simplejson-3.19.1.ebuild
+++ b/dev-python/simplejson/simplejson-3.19.1.ebuild
@@ -25,6 +25,8 @@ DOCS=( README.rst CHANGES.txt )
distutils_enable_tests unittest
src_configure() {
+ # native-extensions are always disabled on PyPy
+ # https://github.com/simplejson/simplejson/blob/master/setup.py#L121
export DISABLE_SPEEDUPS=$(usex native-extensions 0 1)
use native-extensions && export REQUIRE_SPEEDUPS=1
}