summaryrefslogtreecommitdiff
path: root/graphics/pygraphviz
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-09-07 12:58:12 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-12 08:10:53 +0700
commitc3b624b6d997e0145bbd9827af9208274dad4c5b (patch)
treec54a224f865c88d85040d551fbccd9826548554f /graphics/pygraphviz
parentd0a4d797c4ae6679421b4ed82f4eccdfecb4e7f6 (diff)
downloadslackbuilds-c3b624b6d997e0145bbd9827af9208274dad4c5b.tar.gz
graphics/pygraphviz: Updated for version 1.3.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'graphics/pygraphviz')
-rw-r--r--graphics/pygraphviz/pygraphviz.SlackBuild12
-rw-r--r--graphics/pygraphviz/pygraphviz.info6
2 files changed, 9 insertions, 9 deletions
diff --git a/graphics/pygraphviz/pygraphviz.SlackBuild b/graphics/pygraphviz/pygraphviz.SlackBuild
index e5e9504543..f83a68ace0 100644
--- a/graphics/pygraphviz/pygraphviz.SlackBuild
+++ b/graphics/pygraphviz/pygraphviz.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pygraphviz
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2015 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=pygraphviz
-VERSION=${VERSION:-1.3rc2}
+VERSION=${VERSION:-1.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,20 +69,20 @@ 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 {} \;
+# fix doc path
+sed -i "s/share\/doc/doc/" setup.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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/doc/$PRGNAM-$VERSION/examples/ $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL.txt PKG-INFO README.txt doc/source/*.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a INSTALL.txt PKG-INFO README.rst doc/source/*.rst $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -rf $PKG/usr/share
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-
diff --git a/graphics/pygraphviz/pygraphviz.info b/graphics/pygraphviz/pygraphviz.info
index c94f4a8684..2cdf7535ae 100644
--- a/graphics/pygraphviz/pygraphviz.info
+++ b/graphics/pygraphviz/pygraphviz.info
@@ -1,8 +1,8 @@
PRGNAM="pygraphviz"
-VERSION="1.3rc2"
+VERSION="1.3.1"
HOMEPAGE="http://pygraphviz.github.io/"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pygraphviz/pygraphviz-1.3rc2.tar.gz"
-MD5SUM="061ff5c4b8ea4b7cd05be0588172ef07"
+DOWNLOAD="https://pypi.python.org/packages/source/p/pygraphviz/pygraphviz-1.3.1.tar.gz"
+MD5SUM="7f690295dfe77edaa9e552d09d98d279"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="graphviz"