mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
python/virtualenv: Updated for version 1.9.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
ddbd1b5259
commit
3e440ec9bc
3 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,3 @@
|
|||
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.
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
|
||||
|
||||
PRGNAM=virtualenv
|
||||
VERSION=1.6.4
|
||||
VERSION=${VERSION:-1.9.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -39,11 +39,16 @@ find . \
|
|||
|
||||
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 \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
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
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="virtualenv"
|
||||
VERSION="1.6.4"
|
||||
VERSION="1.9.1"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/virtualenv/"
|
||||
DOWNLOAD="http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.4.tar.gz"
|
||||
MD5SUM="1072b66d53c24e019a8f1304ac9d9fc5"
|
||||
DOWNLOAD="http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz"
|
||||
MD5SUM="07e09df0adfca0b2d487e39a4bf2270a"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue