diff options
-rw-r--r-- | python/virtualenv/README | 2 | ||||
-rw-r--r-- | python/virtualenv/virtualenv.SlackBuild | 9 | ||||
-rw-r--r-- | python/virtualenv/virtualenv.info | 6 |
3 files changed, 11 insertions, 6 deletions
diff --git a/python/virtualenv/README b/python/virtualenv/README index 734267619835d..234e45436a1cf 100644 --- a/python/virtualenv/README +++ b/python/virtualenv/README @@ -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. diff --git a/python/virtualenv/virtualenv.SlackBuild b/python/virtualenv/virtualenv.SlackBuild index d8b1d7afc660a..53f7cd6a1aed0 100644 --- a/python/virtualenv/virtualenv.SlackBuild +++ b/python/virtualenv/virtualenv.SlackBuild @@ -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 diff --git a/python/virtualenv/virtualenv.info b/python/virtualenv/virtualenv.info index e770c3ed07df5..b5ce4ddd05fd4 100644 --- a/python/virtualenv/virtualenv.info +++ b/python/virtualenv/virtualenv.info @@ -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="" |