diff options
Diffstat (limited to 'app-shells/bash-completion/bash-completion-2.11.ebuild')
-rw-r--r-- | app-shells/bash-completion/bash-completion-2.11.ebuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app-shells/bash-completion/bash-completion-2.11.ebuild b/app-shells/bash-completion/bash-completion-2.11.ebuild index 36c924cea3a5..77dfb81a73bd 100644 --- a/app-shells/bash-completion/bash-completion-2.11.ebuild +++ b/app-shells/bash-completion/bash-completion-2.11.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 BASHCOMP_P=bashcomp-2.0.3 -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit bash-completion-r1 python-any-r1 user-info DESCRIPTION="Programmable Completion for bash" @@ -89,7 +89,10 @@ src_prepare() { src_test() { # portage's HOME override breaks tests - emake check HOME="$(egethome "${UID}")" PYTESTFLAGS="-vv" NETWORK=none + local myhome=$(unset HOME; echo ~) + local -x SANDBOX_PREDICT=${SANDBOX_PREDICT} + addpredict "${myhome}" + emake check HOME="${myhome}" PYTESTFLAGS="-vv" NETWORK=none } src_install() { |