aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2019-12-12 15:42:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:35 +0700
commitf84fd2bdc2f3ab79f7dd609f41a2c57dd761b804 (patch)
tree9b9e835f648d7730b2d82c31a01fd24c8dfd7c55 /desktop
parent525ad958aa050d8a786726f7a8265a8b99a0f1e9 (diff)
desktop/py3status: Updated for version 3.22.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/py3status/README2
-rw-r--r--desktop/py3status/py3status.SlackBuild7
-rw-r--r--desktop/py3status/py3status.info6
3 files changed, 10 insertions, 5 deletions
diff --git a/desktop/py3status/README b/desktop/py3status/README
index 1124108fc4fa..a8950b00bb41 100644
--- a/desktop/py3status/README
+++ b/desktop/py3status/README
@@ -5,4 +5,4 @@ Using py3status, you can take control of your i3bar easily by:
- handling click events on your i3bar and play with them in no time
- seeing your clock tick every second whatever your i3status interval
-Optional dependency: i3status
+Optional dependencies: i3status, python3
diff --git a/desktop/py3status/py3status.SlackBuild b/desktop/py3status/py3status.SlackBuild
index b3ca35b23734..eb2b310e725c 100644
--- a/desktop/py3status/py3status.SlackBuild
+++ b/desktop/py3status/py3status.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=py3status
-VERSION=${VERSION:-3.19}
+VERSION=${VERSION:-3.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,6 +71,11 @@ 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
diff --git a/desktop/py3status/py3status.info b/desktop/py3status/py3status.info
index 489364eb3e71..3a6ef46d6d4b 100644
--- a/desktop/py3status/py3status.info
+++ b/desktop/py3status/py3status.info
@@ -1,8 +1,8 @@
PRGNAM="py3status"
-VERSION="3.19"
+VERSION="3.22"
HOMEPAGE="https://github.com/ultrabug/py3status"
-DOWNLOAD="https://files.pythonhosted.org/packages/4d/32/9e3e361ef0e3cadd0b90db3009a0bb30701f323b61e7c5aeabf317c59638/py3status-3.19.tar.gz"
-MD5SUM="d1e4bcd2247e32def5f290cea1286ecf"
+DOWNLOAD="https://files.pythonhosted.org/packages/8c/5e/38e13e14d877c3fee3ca6d6139812815e8f4038c33be9066548698822b14/py3status-3.22.tar.gz"
+MD5SUM="12adc31cd0caa6012e83ce8cd51139ab"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""