mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
python/python3-Pygments: Updated for version 2.3.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
parent
f9c0cd476c
commit
6ff0bee8f5
3 changed files with 8 additions and 17 deletions
|
@ -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".
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue