diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2014-04-04 00:09:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-04-07 14:43:53 +0700 |
commit | da6c4a20cfc95959116af3713faf2004ef5579a2 (patch) | |
tree | f18c7118a721a6a4977f5922aceae8aca490b0f3 /development/ipython/ipython.SlackBuild | |
parent | d97ea6e09ee7b9aa36c43731eb48369dc85f4644 (diff) |
development/ipython: Updated for version 2.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/ipython/ipython.SlackBuild')
-rw-r--r-- | development/ipython/ipython.SlackBuild | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/development/ipython/ipython.SlackBuild b/development/ipython/ipython.SlackBuild index 8f82a702f652..c0a911d180ff 100644 --- a/development/ipython/ipython.SlackBuild +++ b/development/ipython/ipython.SlackBuild @@ -25,7 +25,7 @@ # Maintained by Benjamin-Trigona-Harany PRGNAM=ipython -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-2.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,10 +59,7 @@ find -L . \ -exec chmod 644 {} \; python setup.py install --root="$PKG" - -mkdir -p $PKG/usr/doc -mv $PKG/usr/share/doc/ipython $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; +rm $PKG/usr/bin/ipython2 mv $PKG/usr/share/man $PKG/usr find $PKG/usr/man -type f -exec gzip -9 {} \; @@ -71,15 +68,9 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r # Delete now empty directory rm -rf $PKG/usr/share -# Build and install optional html docs -if [ "$DOCS" = "yes" ] ; then - cd docs - make html - cp -r build/html $PKG/usr/doc/$PRGNAM-$VERSION - cd .. -fi +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp COPYING.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp COPYING.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |