dev-python/eventlet: Use best_version -b for EAPI 7

Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Zac Medico
2019-06-25 19:48:22 -07:00
committed by Zac Medico
parent c552769e5d
commit 088bfc3e19
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ python_prepare_all() {
sed -i '/enum-compat/d' setup.py || die
if use doc; then
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7)
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"

View File

@@ -33,7 +33,7 @@ python_prepare_all() {
sed -i '/enum-compat/d' setup.py || die
if use doc; then
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
local PYTHON_DOC_ATOM=$(best_version -b dev-python/python-docs:2.7)
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"