graphics/pyformex: Updated for version 1.0.5.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2019-02-16 19:38:23 +01:00 committed by Willy Sudiarto Raharjo
parent 0cd6e00c16
commit 7057638495
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
2 changed files with 10 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for pyformex
# 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=pyformex
VERSION=${VERSION:-0.9.1}
VERSION=${VERSION:-1.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -69,13 +69,16 @@ 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 {} \;
# patch for manpage path
sed -i "s/share\/man/man/" manifest.py
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
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING PKG-INFO Description README \

View File

@ -1,8 +1,8 @@
PRGNAM="pyformex"
VERSION="0.9.1"
VERSION="1.0.5"
HOMEPAGE="http://www.nongnu.org/pyformex/"
DOWNLOAD="http://download.savannah.gnu.org/releases/pyformex/pyformex-0.9.1.tar.gz"
MD5SUM="18138d876cbda69790305dfc97c4fdc7"
DOWNLOAD="ftp://bumps.ugent.be/pub/pyformex/pyformex-1.0.5.tar.gz"
MD5SUM="5fa1526927c44cf67882195d3f988edd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="PyOpenGL numpy"