aboutsummaryrefslogtreecommitdiff
path: root/python/python3-Pygments/python3-Pygments.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-11-28 06:28:32 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-01 07:27:32 +0700
commit6ff0bee8f5fca590aef1114efbfe770a2b08c4bf (patch)
tree40f443dc7915cf5cd2431b5ebf2ed59c516f7cd1 /python/python3-Pygments/python3-Pygments.SlackBuild
parentf9c0cd476c2f6124a9799c155bec32454726d1df (diff)
python/python3-Pygments: Updated for version 2.3.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python/python3-Pygments/python3-Pygments.SlackBuild')
-rw-r--r--python/python3-Pygments/python3-Pygments.SlackBuild16
1 files changed, 5 insertions, 11 deletions
diff --git a/python/python3-Pygments/python3-Pygments.SlackBuild b/python/python3-Pygments/python3-Pygments.SlackBuild
index b9a193870d..ae22ac7c23 100644
--- a/python/python3-Pygments/python3-Pygments.SlackBuild
+++ b/python/python3-Pygments/python3-Pygments.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2009 Grissiom <chaos.proton@gmail.com>
# Copyright 2009-2015 LukenShiro, Italy
-# Copyright 2017 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
SRCNAM=Pygments
PRGNAM=python3-$SRCNAM
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -43,9 +43,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# html documentation is not built by default
-HTML=${HTML:-0}
-
set -e
rm -rf $PKG
@@ -72,12 +69,9 @@ sed -i "s|share/doc/python-pygments|doc/${PRGNAM}-${VERSION}|" \
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-# building html documentation
-case "$HTML" in
- 0) ;;
- *) cd doc ; make html && cp -R _build/html $PKG/usr/doc/$PRGNAM-$VERSION ; cd - ;;
-esac
-cp -a LICENSE TODO AUTHORS CHANGES README.rst $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ LICENSE TODO AUTHORS CHANGES README.rst \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install