diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2019-12-12 15:42:24 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-15 17:06:35 +0700 |
commit | f84fd2bdc2f3ab79f7dd609f41a2c57dd761b804 (patch) | |
tree | 9b9e835f648d7730b2d82c31a01fd24c8dfd7c55 /desktop/py3status/py3status.SlackBuild | |
parent | 525ad958aa050d8a786726f7a8265a8b99a0f1e9 (diff) |
desktop/py3status: Updated for version 3.22.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop/py3status/py3status.SlackBuild')
-rw-r--r-- | desktop/py3status/py3status.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/py3status/py3status.SlackBuild b/desktop/py3status/py3status.SlackBuild index b3ca35b23734a..eb2b310e725c2 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 |