summaryrefslogtreecommitdiff
path: root/python/virtualenvwrapper/virtualenvwrapper.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/virtualenvwrapper/virtualenvwrapper.SlackBuild')
-rw-r--r--python/virtualenvwrapper/virtualenvwrapper.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/python/virtualenvwrapper/virtualenvwrapper.SlackBuild b/python/virtualenvwrapper/virtualenvwrapper.SlackBuild
index 19b58f1f16..9721e6f067 100644
--- a/python/virtualenvwrapper/virtualenvwrapper.SlackBuild
+++ b/python/virtualenvwrapper/virtualenvwrapper.SlackBuild
@@ -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