Enable gentoo in pip-and-virtualenv element

Currently it will hit the `else` and try to apt-get, which fails.

Change-Id: I951882cf3897ced165e167f12877c05ee62a5054
This commit is contained in:
Adam Harwell 2017-11-11 09:00:50 +09:00
parent b5b9d98fa0
commit d4fd7f1217
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ EOF
fi
echo "exclude=$packages" >> ${conf}
fi
elif [[ $DISTRO_NAME = gentoo ]]; then
packages="dev-python/pip dev-python/virtualenv"
emerge -U $packages
else
# pre-install packages so dependencies are there. We will
# overwrite with latest below.