diff options
Diffstat (limited to 'sys-boot/grub/grub-2.12-r4.ebuild')
-rw-r--r-- | sys-boot/grub/grub-2.12-r4.ebuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/sys-boot/grub/grub-2.12-r4.ebuild b/sys-boot/grub/grub-2.12-r4.ebuild index 9755d0e4ee49..66b37086f92f 100644 --- a/sys-boot/grub/grub-2.12-r4.ebuild +++ b/sys-boot/grub/grub-2.12-r4.ebuild @@ -21,15 +21,11 @@ PYTHON_COMPAT=( python3_{10..12} ) WANT_LIBTOOL=none VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dkiper.gpg -if [[ -n ${GRUB_AUTOGEN} || -n ${GRUB_BOOTSTRAP} ]]; then - inherit python-any-r1 -fi - if [[ -n ${GRUB_AUTORECONF} ]]; then inherit autotools fi -inherit bash-completion-r1 flag-o-matic multibuild optfeature toolchain-funcs +inherit bash-completion-r1 flag-o-matic multibuild optfeature python-any-r1 toolchain-funcs DESCRIPTION="GNU GRUB boot loader" HOMEPAGE="https://www.gnu.org/software/grub/" @@ -168,11 +164,7 @@ src_prepare() { default - if [[ -n ${GRUB_AUTOGEN} || -n ${GRUB_BOOTSTRAP} ]]; then - python_setup - else - export PYTHON=true - fi + python_setup if [[ -n ${GRUB_BOOTSTRAP} ]]; then eautopoint --force |