From a07cd477bb6d9bb18b9094944272aeec6b175b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Audrius=20Ka=C5=BEukauskas?= Date: Sun, 28 Jul 2013 11:25:22 -0500 Subject: python/virtualenv: Updated for version 1.10. Signed-off-by: Erik Hanson --- python/virtualenv/virtualenv.SlackBuild | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'python/virtualenv/virtualenv.SlackBuild') 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 +# Copyright 2013 Larry Hajali +# Copyright 2013 Audrius Kažukauskas +# 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 -- cgit v1.2.3