python/virtualenv: Updated for version 1.9.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Larry Hajali 2013-06-02 23:42:07 -05:00 committed by Robby Workman
parent ddbd1b5259
commit 3e440ec9bc
3 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,3 @@
Virtualenv is a tool to create isolated Python environments. Virtualenv is a tool to create isolated Python environments.
Virtualenv can optionally use pysetuptools during install. Virtualenv can optionally use distribute or Python 3 during install.

View file

@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com> # Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=virtualenv PRGNAM=virtualenv
VERSION=1.6.4 VERSION=${VERSION:-1.9.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -39,11 +39,16 @@ find . \
python setup.py install --root=$PKG python setup.py install --root=$PKG
# Python 3 support.
if $(python3 -c 'import sys' 2>/dev/null); then
python3 setup.py install --root=$PKG
fi
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a docs/*.txt *.txt PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cp -a docs/*.txt README.rst *.txt PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="virtualenv" PRGNAM="virtualenv"
VERSION="1.6.4" VERSION="1.9.1"
HOMEPAGE="http://pypi.python.org/pypi/virtualenv/" HOMEPAGE="http://pypi.python.org/pypi/virtualenv/"
DOWNLOAD="http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.4.tar.gz" DOWNLOAD="http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz"
MD5SUM="1072b66d53c24e019a8f1304ac9d9fc5" MD5SUM="07e09df0adfca0b2d487e39a4bf2270a"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""