aboutsummaryrefslogtreecommitdiff
path: root/development/Sphinx/Sphinx.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-04-01 23:51:31 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-06 07:02:58 +0700
commit7dc95641e38847053f6cf1c09f5138b9ad5e52b8 (patch)
tree0c7c7048096613c5715ab979b2e08c711a7a2584 /development/Sphinx/Sphinx.SlackBuild
parenta48f812e4dcb87a6abc7d91b094c9771180a8657 (diff)
development/Sphinx: Updated for version 2.0.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'development/Sphinx/Sphinx.SlackBuild')
-rw-r--r--development/Sphinx/Sphinx.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/development/Sphinx/Sphinx.SlackBuild b/development/Sphinx/Sphinx.SlackBuild
index f4fee9d1ecc41..863938e3dee8a 100644
--- a/development/Sphinx/Sphinx.SlackBuild
+++ b/development/Sphinx/Sphinx.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Sphinx
-VERSION=${VERSION:-1.8.4}
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,16 +56,14 @@ 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 {} \;
-python setup.py install --root=$PKG
-
-PYTHONPATH="../" make -C doc SPHINXBUILD="python $PKG/usr/bin/sphinx-build" html
+python3 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
cp -a \
- AUTHORS CHANGES EXAMPLES LICENSE README.rst doc/_build/html \
+ AUTHORS CHANGES EXAMPLES LICENSE README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild