mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
graphics/pygraphviz: Updated for version 1.3.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
d0a4d797c4
commit
c3b624b6d9
2 changed files with 9 additions and 9 deletions
|
@ -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}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue