diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2019-02-16 19:38:23 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-17 21:56:33 +0700 |
commit | 705763849501eb09ba6cc1368a9a4e14e2fc7cbd (patch) | |
tree | 7a7fe1b860167f32b8a781edda614034187c6ecf /graphics | |
parent | 0cd6e00c16f251c60b2be2efd2d8b077e3c646d6 (diff) | |
download | slackbuilds-705763849501eb09ba6cc1368a9a4e14e2fc7cbd.tar.gz |
graphics/pyformex: Updated for version 1.0.5.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/pyformex/pyformex.SlackBuild | 11 | ||||
-rw-r--r-- | graphics/pyformex/pyformex.info | 6 |
2 files changed, 10 insertions, 7 deletions
diff --git a/graphics/pyformex/pyformex.SlackBuild b/graphics/pyformex/pyformex.SlackBuild index fb968a1f64..26bdcae5d7 100644 --- a/graphics/pyformex/pyformex.SlackBuild +++ b/graphics/pyformex/pyformex.SlackBuild @@ -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 \ diff --git a/graphics/pyformex/pyformex.info b/graphics/pyformex/pyformex.info index 7670898c4c..73c32d27d6 100644 --- a/graphics/pyformex/pyformex.info +++ b/graphics/pyformex/pyformex.info @@ -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" |