summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-16 08:20:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-16 08:20:22 +0700
commit55bceb11f7903112aa221c78cf9e6a9358c52253 (patch)
treec52c801a0bb7a12269c5927674a4ab8d9132be2c
parent918dab6f976e24b03019168eaf65161cf990fd8b (diff)
downloadslackbuilds-55bceb11f7903112aa221c78cf9e6a9358c52253.tar.gz
python/ptyprocess: Removed python3 support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/ptyprocess/ptyprocess.SlackBuild7
1 files changed, 1 insertions, 6 deletions
diff --git a/python/ptyprocess/ptyprocess.SlackBuild b/python/ptyprocess/ptyprocess.SlackBuild
index a896bb6855..9296babf06 100644
--- a/python/ptyprocess/ptyprocess.SlackBuild
+++ b/python/ptyprocess/ptyprocess.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ptyprocess
-# Copyright 2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2016-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -71,11 +71,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
-
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true