summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2013-07-28 11:25:22 -0500
committerErik Hanson <erik@slackbuilds.org>2013-10-12 14:38:02 -0500
commita07cd477bb6d9bb18b9094944272aeec6b175b9d (patch)
treed1db1846f0a0d64b7193e8f28b8c067c6b380cda
parentdff549c070950e1e2fafc2664448cfab42a44561 (diff)
downloadslackbuilds-a07cd477bb6d9bb18b9094944272aeec6b175b9d.tar.gz
python/virtualenv: Updated for version 1.10.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
-rw-r--r--python/virtualenv/README2
-rw-r--r--python/virtualenv/virtualenv.SlackBuild30
-rw-r--r--python/virtualenv/virtualenv.info8
3 files changed, 28 insertions, 12 deletions
diff --git a/python/virtualenv/README b/python/virtualenv/README
index 4396233f26..b68626c5ba 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 or Python 3 during install.
+Virtualenv can optionally use Python 3 during install.
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
diff --git a/python/virtualenv/virtualenv.info b/python/virtualenv/virtualenv.info
index 3c9ce97cce..d6c495c28e 100644
--- a/python/virtualenv/virtualenv.info
+++ b/python/virtualenv/virtualenv.info
@@ -1,8 +1,8 @@
PRGNAM="virtualenv"
-VERSION="1.9.1"
-HOMEPAGE="http://pypi.python.org/pypi/virtualenv/"
-DOWNLOAD="http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz"
-MD5SUM="07e09df0adfca0b2d487e39a4bf2270a"
+VERSION="1.10"
+HOMEPAGE="http://www.virtualenv.org/"
+DOWNLOAD="https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.tar.gz"
+MD5SUM="9745c28256c70c76d36adb3767a00212"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""