diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2019-10-26 18:00:19 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-10-27 00:36:09 +0700 |
commit | 51c747719fae0e7093d638dc0a98c6a7dd50dd63 (patch) | |
tree | dcefa3e0338e2f8b0fe9c81daa89bed821e1c359 /python/curtsies/curtsies.SlackBuild | |
parent | 87442475f32a305c5a60a66badd56617dbd08d65 (diff) | |
download | slackbuilds-51c747719fae0e7093d638dc0a98c6a7dd50dd63.tar.gz |
python/curtsies: Updated for version 0.3.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/curtsies/curtsies.SlackBuild')
-rw-r--r-- | python/curtsies/curtsies.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/python/curtsies/curtsies.SlackBuild b/python/curtsies/curtsies.SlackBuild index ca449e02bb..8e0f82e29c 100644 --- a/python/curtsies/curtsies.SlackBuild +++ b/python/curtsies/curtsies.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for curtsies -# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=curtsies -VERSION=${VERSION:-0.2.11} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,6 +74,11 @@ python 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 +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |