diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2013-07-28 11:25:22 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-10-12 14:38:02 -0500 |
commit | a07cd477bb6d9bb18b9094944272aeec6b175b9d (patch) | |
tree | d1db1846f0a0d64b7193e8f28b8c067c6b380cda /python/virtualenv/virtualenv.SlackBuild | |
parent | dff549c070950e1e2fafc2664448cfab42a44561 (diff) | |
download | slackbuilds-a07cd477bb6d9bb18b9094944272aeec6b175b9d.tar.gz |
python/virtualenv: Updated for version 1.10.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'python/virtualenv/virtualenv.SlackBuild')
-rw-r--r-- | python/virtualenv/virtualenv.SlackBuild | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/python/virtualenv/virtualenv.SlackBuild b/python/virtualenv/virtualenv.SlackBuild index 53f7cd6a1a..225d178b4f 100644 --- a/python/virtualenv/virtualenv.SlackBuild +++ b/python/virtualenv/virtualenv.SlackBuild @@ -2,10 +2,29 @@ # Slackware build script for virtualenv -# Written by Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2013 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2013 Audrius Kažukauskas <audrius@neutrino.lt> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=virtualenv -VERSION=${VERSION:-1.9.1} +VERSION=${VERSION:-1.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -22,7 +41,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e +set -eu rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -44,11 +63,8 @@ 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 README.rst *.txt PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a docs/*.rst README.rst *.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |