python/virtualenvwrapper: Updated for version 4.1.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
vvoody 2013-11-27 23:45:36 -06:00 committed by Robby Workman
parent c8e4d80b45
commit ad4cbbfe70
2 changed files with 11 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for virtualenvwrapper
# Copyright 2012 vvoody <vvoodywang@gmail.com>
# Copyright <2013> <vvoody> <Shanghai>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=virtualenvwrapper
VERSION=${VERSION:-3.7}
VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -65,10 +65,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
@ -76,6 +76,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.txt LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,10 +1,10 @@
PRGNAM="virtualenvwrapper"
VERSION="3.7"
VERSION="4.1.1"
HOMEPAGE="http://www.doughellmann.com/projects/virtualenvwrapper/"
DOWNLOAD="http://pypi.python.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-3.7.tar.gz"
MD5SUM="72cbc44b1c71a1ed64096533bbd37c13"
DOWNLOAD="http://pypi.python.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-4.1.1.tar.gz"
MD5SUM="f18f2c612b936583a8ec0f7114b6637e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="virtualenv"
REQUIRES="pip virtualenv virtualenv-clone stevedore"
MAINTAINER="vvoody"
EMAIL="vvoodywang@gmail.com"