summaryrefslogtreecommitdiff
path: root/development/ipython/ipython.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/ipython/ipython.SlackBuild')
-rw-r--r--development/ipython/ipython.SlackBuild17
1 files changed, 4 insertions, 13 deletions
diff --git a/development/ipython/ipython.SlackBuild b/development/ipython/ipython.SlackBuild
index 8f82a702f6..c0a911d180 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