#!/bin/sh

. ./_blfsset.sh

APPNAME=virtualenv
pip3 search virtualenv | grep '^virtualenv ' > tmp.txt
VER=`sed -e 's/^virtualenv (\([0-9]*\.[0-9]*\.[0-9]*\)).*/\1/' tmp.txt`
rm -f tmp.txt
TARGET=$APPNAME-$VER

echo $TARGET

. $WRK/_checkRequired.sh ""
. $WRK/_checkOptions.sh  \
	python-2
. $WRK/_checkExit.sh "$1" || exit $?

cd $SRC

TimeStart

Installing
porg -lp $TARGET -E/root/.cache "pip3 install virtualenv" \
	1> $LOG/$TARGET.3_install.log 2>&1 || exit 1

TimeEnd

cd ..
RemoveSrcDir
PorgingDone

