mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-python/pip: Fix accidentally installing virtualenv w/ USE=test
Closes: https://bugs.gentoo.org/832402 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -113,6 +113,8 @@ python_test() {
|
||||
pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die
|
||||
distutils_install_for_testing
|
||||
popd >/dev/null || die
|
||||
# prevent it from being installed
|
||||
rm -r "${BUILD_DIR}"/lib/virtualenv* || die
|
||||
|
||||
local -x GENTOO_PIP_TESTING=1 \
|
||||
PATH="${TEST_DIR}/scripts:${PATH}" \
|
||||
|
||||
@@ -112,6 +112,8 @@ python_test() {
|
||||
pushd "${WORKDIR}/virtualenv-${VENV_PV}" >/dev/null || die
|
||||
distutils_install_for_testing
|
||||
popd >/dev/null || die
|
||||
# prevent it from being installed
|
||||
rm -r "${BUILD_DIR}"/lib/virtualenv* || die
|
||||
|
||||
local -x GENTOO_PIP_TESTING=1 \
|
||||
PATH="${TEST_DIR}/scripts:${PATH}" \
|
||||
|
||||
Reference in New Issue
Block a user