aboutsummaryrefslogtreecommitdiff
path: root/python/python3-Pygments/python3-Pygments.SlackBuild
diff options
context:
space:
mode:
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