diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/curtsies/README | 2 | ||||
-rw-r--r-- | python/curtsies/curtsies.SlackBuild | 9 | ||||
-rw-r--r-- | python/curtsies/curtsies.info | 6 |
3 files changed, 12 insertions, 5 deletions
diff --git a/python/curtsies/README b/python/curtsies/README index 262cdfd755..02f1d5f73d 100644 --- a/python/curtsies/README +++ b/python/curtsies/README @@ -1,2 +1,4 @@ Curses-like terminal wrapper with a display based on compositing 2d arrays of text. + +Optional dependency: python3 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 diff --git a/python/curtsies/curtsies.info b/python/curtsies/curtsies.info index 6f37d21600..78ba063494 100644 --- a/python/curtsies/curtsies.info +++ b/python/curtsies/curtsies.info @@ -1,8 +1,8 @@ PRGNAM="curtsies" -VERSION="0.2.11" +VERSION="0.3.0" HOMEPAGE="https://github.com/thomasballinger/curtsies" -DOWNLOAD="https://pypi.python.org/packages/e7/4f/fb0cdd66abfbffd2788384accbf7896d717f70b62edf7556e2468ab87d07/curtsies-0.2.11.tar.gz" -MD5SUM="fe1944b9dd078c7d5d8a93c10ad7413d" +DOWNLOAD="https://files.pythonhosted.org/packages/78/1e/3b69f26d9e496901e80fc90e39e479c85fb6df595c2e2935a4fd781b3c9b/curtsies-0.3.0.tar.gz" +MD5SUM="20e7295c9592b4101915131a685725f0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="blessings wcwidth" |