commit: 2fcd08fb9215e6ece3775aba9793c50e6a14817c Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sat Apr 23 15:21:51 2022 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sat Apr 23 15:21:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fcd08fb
sys-apps/pkgcore: addpredict / for tests Closes: https://bugs.gentoo.org/840266 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> sys-apps/pkgcore/pkgcore-0.12.10.ebuild | 5 +++++ sys-apps/pkgcore/pkgcore-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/sys-apps/pkgcore/pkgcore-0.12.10.ebuild b/sys-apps/pkgcore/pkgcore-0.12.10.ebuild index 9f81bcac50ec..10463ba06f4d 100644 --- a/sys-apps/pkgcore/pkgcore-0.12.10.ebuild +++ b/sys-apps/pkgcore/pkgcore-0.12.10.ebuild @@ -39,6 +39,11 @@ BDEPEND=" distutils_enable_tests setup.py src_test() { + # With PYTHONDONTWRITEBYTECODE=, python will try rebuild all sorts of modules. + # https://bugs.gentoo.org/840266 + local -x SANDBOX_PREDICT=${SANDBOX_PREDICT} + addpredict / + local -x PYTHONDONTWRITEBYTECODE= distutils-r1_src_test } diff --git a/sys-apps/pkgcore/pkgcore-9999.ebuild b/sys-apps/pkgcore/pkgcore-9999.ebuild index f6d5f97f6274..9473f2dfdaa0 100644 --- a/sys-apps/pkgcore/pkgcore-9999.ebuild +++ b/sys-apps/pkgcore/pkgcore-9999.ebuild @@ -39,6 +39,11 @@ BDEPEND=" distutils_enable_tests setup.py src_test() { + # With PYTHONDONTWRITEBYTECODE=, python will try rebuild all sorts of modules. + # https://bugs.gentoo.org/840266 + local -x SANDBOX_PREDICT=${SANDBOX_PREDICT} + addpredict / + local -x PYTHONDONTWRITEBYTECODE= distutils-r1_src_test }