aboutsummaryrefslogtreecommitdiff
path: root/libraries/pyte
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-10-14 02:55:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-15 10:47:34 +0700
commit1ae860847a92567f5ef81f701f435ac3361c6985 (patch)
tree4550027ff635ab8cb5be8fc014767a18bd74197a /libraries/pyte
parent5c5cb0d7147b9fde22667f2fab588c06f6ecc2fa (diff)
libraries/pyte: Rebuilt for python2-pytest-runner.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 522082716249..495c495f7d63 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 4fcaeedc37e6..972356b3806c 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"