summaryrefslogtreecommitdiffstats
path: root/libraries/pyte
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/pyte')
-rw-r--r--libraries/pyte/pyte.SlackBuild4
-rw-r--r--libraries/pyte/pyte.info2
2 files changed, 3 insertions, 3 deletions
diff --git a/libraries/pyte/pyte.SlackBuild b/libraries/pyte/pyte.SlackBuild
index 5220827162..495c495f7d 100644
--- a/libraries/pyte/pyte.SlackBuild
+++ b/libraries/pyte/pyte.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pyte
VERSION=${VERSION:-0.8.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
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
diff --git a/libraries/pyte/pyte.info b/libraries/pyte/pyte.info
index 4fcaeedc37..972356b380 100644
--- a/libraries/pyte/pyte.info
+++ b/libraries/pyte/pyte.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/selectel/pyte/archive/0.8.0/pyte-0.8.0.tar.gz"
MD5SUM="d480ad3c1e023adf84a64eee71f58b10"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pytest-runner wcwidth"
+REQUIRES="python2-pytest-runner wcwidth"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"