python/curtsies: Updated for version 0.3.5.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dimitris Zlatanidis 2021-01-29 21:48:07 +02:00 committed by Willy Sudiarto Raharjo
parent 7a497b73ff
commit 2f047786e3
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 7 additions and 14 deletions

View file

@ -1,4 +1,2 @@
Curses-like terminal wrapper with a display based on compositing
2d arrays of text.
Optional dependency: python3

View file

@ -2,7 +2,7 @@
# Slackware build script for curtsies
# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
# Copyright 2014-2021 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.3.0}
VERSION=${VERSION:-0.3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,16 +69,11 @@ 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
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
# 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

View file

@ -1,10 +1,10 @@
PRGNAM="curtsies"
VERSION="0.3.0"
VERSION="0.3.5"
HOMEPAGE="https://github.com/thomasballinger/curtsies"
DOWNLOAD="https://files.pythonhosted.org/packages/78/1e/3b69f26d9e496901e80fc90e39e479c85fb6df595c2e2935a4fd781b3c9b/curtsies-0.3.0.tar.gz"
MD5SUM="20e7295c9592b4101915131a685725f0"
DOWNLOAD="https://files.pythonhosted.org/packages/ee/17/9647eb1c537734adba77bd4613a2a6563a1439444827323cfe37652f9822/curtsies-0.3.5.tar.gz"
MD5SUM="ed2c16be1b6e913d0bfff7233c33da8a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="blessings wcwidth"
REQUIRES="python3 blessings cwcwidth"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"