summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2014-03-31 09:17:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-03-31 09:17:46 +0700
commit6a1389e57eadb177772356c35fd6f4e7eb16ca47 (patch)
tree1a617aaa698e39021cca6a52edda869f1739552b
parentc915382fe3a4e93bfc74e36adeaea3194a89498f (diff)
downloadslackbuilds-6a1389e57eadb177772356c35fd6f4e7eb16ca47.tar.gz
python/virtualenv: Remove Python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/virtualenv/virtualenv.SlackBuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/python/virtualenv/virtualenv.SlackBuild b/python/virtualenv/virtualenv.SlackBuild
index 14da206a86..c3abea05fc 100644
--- a/python/virtualenv/virtualenv.SlackBuild
+++ b/python/virtualenv/virtualenv.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=virtualenv
VERSION=${VERSION:-1.11.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -58,11 +58,6 @@ find -L . \
python setup.py install --root=$PKG
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
-
mkdir -p $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