summaryrefslogtreecommitdiff
path: root/python
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
parentf9c0cd476c2f6124a9799c155bec32454726d1df (diff)
downloadslackbuilds-6ff0bee8f5fca590aef1114efbfe770a2b08c4bf.tar.gz
python/python3-Pygments: Updated for version 2.3.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'python')
-rw-r--r--python/python3-Pygments/README3
-rw-r--r--python/python3-Pygments/python3-Pygments.SlackBuild16
-rw-r--r--python/python3-Pygments/python3-Pygments.info6
3 files changed, 8 insertions, 17 deletions
diff --git a/python/python3-Pygments/README b/python/python3-Pygments/README
index d10cf72e98..975ce911d5 100644
--- a/python/python3-Pygments/README
+++ b/python/python3-Pygments/README
@@ -9,6 +9,3 @@ Highlights are:
* A number of output formats, presently HTML, LaTeX, RTF, SVG and ANSI
sequences.
* It is usable as a command-line tool and as a library.
-
-In order to build Pygments' html documentation files you must install Sphinx
-and you need to use "HTML=1 ./Pygments.SlackBuild".
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
diff --git a/python/python3-Pygments/python3-Pygments.info b/python/python3-Pygments/python3-Pygments.info
index 14f5fafdad..65bb164029 100644
--- a/python/python3-Pygments/python3-Pygments.info
+++ b/python/python3-Pygments/python3-Pygments.info
@@ -1,8 +1,8 @@
PRGNAM="python3-Pygments"
-VERSION="2.2.0"
+VERSION="2.3.0"
HOMEPAGE="http://pygments.org/"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-2.2.0.tar.gz"
-MD5SUM="13037baca42f16917cbd5ad2fab50844"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-2.3.0.tar.gz"
+MD5SUM="e95ccbb45697f3a40687c4b1c0498409"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3"