aboutsummaryrefslogtreecommitdiff
path: root/system/powerline-status
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2022-04-07 20:52:53 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-09 15:46:03 +0700
commit4957ba44a37608e19e0e8dba256ba4535a7a6eb6 (patch)
tree435174946dc0efb39234e3e3cb960ece2401ef17 /system/powerline-status
parent991bb23b105fccdaf0a778e4afd455a306a7f5a7 (diff)
system/powerline-status: Updated for version 2.8.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/powerline-status')
-rw-r--r--system/powerline-status/powerline-status.SlackBuild20
-rw-r--r--system/powerline-status/powerline-status.info6
2 files changed, 11 insertions, 15 deletions
diff --git a/system/powerline-status/powerline-status.SlackBuild b/system/powerline-status/powerline-status.SlackBuild
index 424d6dcc6046a..29af2842ad99f 100644
--- a/system/powerline-status/powerline-status.SlackBuild
+++ b/system/powerline-status/powerline-status.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for powerline-status
-# Copyright 2016-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2016-2022 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=powerline-status
-VERSION=${VERSION:-2.7}
+SRCNAM=powerline
+VERSION=${VERSION:-2.8.2}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -79,18 +80,13 @@ 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
-
-# Python 3 support.
-if $(python3 -c 'import sys' 2>/dev/null); then
- python3 setup.py install --root=$PKG
-fi
+python3 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/system/powerline-status/powerline-status.info b/system/powerline-status/powerline-status.info
index 0e158ec0ed5a8..bbb7f2f500b7c 100644
--- a/system/powerline-status/powerline-status.info
+++ b/system/powerline-status/powerline-status.info
@@ -1,8 +1,8 @@
PRGNAM="powerline-status"
-VERSION="2.7"
+VERSION="2.8.2"
HOMEPAGE="https://github.com/powerline/powerline"
-DOWNLOAD="https://files.pythonhosted.org/packages/9c/30/8bd3c62642778af9ad813a526c6ff7dd2f98144d6580ad6fab94ca389265/powerline-status-2.7.tar.gz"
-MD5SUM="395f9d4cded34b47c0cf054ea9456d63"
+DOWNLOAD="https://github.com/powerline/powerline/archive/2.8.2/powerline-2.8.2.tar.gz"
+MD5SUM="2337d2f226b31e163aa752ce22aa532a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""