python/pyfiglet: Updated for version 1.0.2.

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 2024-05-15 21:05:45 +03:00 committed by Willy Sudiarto Raharjo
parent 8f728856a8
commit 637939838a
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for pyfiglet # Slackware build script for pyfiglet
# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece # Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pyfiglet PRGNAM=pyfiglet
VERSION=${VERSION:-0.7.5} VERSION=${VERSION:-1.0.2}
BUILD=${BUILD:-2} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -62,7 +62,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
python3 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 \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@ -73,7 +72,7 @@ gzip -9 doc/$PRGNAM.1
install -D -m0644 doc/$PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz install -D -m0644 doc/$PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README doc/figfont.txt $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.md doc/figfont.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View File

@ -1,10 +1,10 @@
PRGNAM="pyfiglet" PRGNAM="pyfiglet"
VERSION="0.7.5" VERSION="1.0.2"
HOMEPAGE="https://github.com/pwaller/pyfiglet" HOMEPAGE="https://github.com/pwaller/pyfiglet"
DOWNLOAD="https://pypi.python.org/packages/source/p/pyfiglet/pyfiglet-0.7.5.tar.gz" DOWNLOAD="https://files.pythonhosted.org/packages/a0/f2/2649b2acace54f861eccd4ab163bfd914236fc93ddb1df02dad2a2552b14/pyfiglet-1.0.2.tar.gz"
MD5SUM="aa956f7af37926ab4b739c9ef87f3808" MD5SUM="0cb431d9b6b11de98a635f5466455a63"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="Dimitris Zlatanidis" MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com" EMAIL="dslackw@gmail.com"