diff options
author | LukenShiro <lukenshiro@ngi.it> | 2016-08-19 18:36:46 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-20 07:49:48 +0700 |
commit | 7b6bec4a4294e24c53bf25a6675b2b841fd9d221 (patch) | |
tree | d91111f63b7b4eabc1c438d34263480264ebf0ca /python/Pygments/Pygments.SlackBuild | |
parent | d1f72bf6ee2bcb9da8132bdd4e30fdce576dcbea (diff) | |
download | slackbuilds-7b6bec4a4294e24c53bf25a6675b2b841fd9d221.tar.gz |
python/Pygments: Updated for version 2.1.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/Pygments/Pygments.SlackBuild')
-rw-r--r-- | python/Pygments/Pygments.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/python/Pygments/Pygments.SlackBuild b/python/Pygments/Pygments.SlackBuild index 45a4d1b4d7..793b64b80d 100644 --- a/python/Pygments/Pygments.SlackBuild +++ b/python/Pygments/Pygments.SlackBuild @@ -24,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=Pygments -VERSION=${VERSION:-2.0.2} +VERSION=${VERSION:-2.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -62,6 +62,11 @@ find -L . \ python setup.py install --prefix=/usr --root=$PKG +# Python 3 support. +if $(python3 -c 'import sys' 2>/dev/null); then + python3 setup.py install --root=$PKG +fi + mkdir -p $PKG/usr/man/man1 cp -a doc/pygmentize.1 $PKG/usr/man/man1 # Adapting to Slackware's directory layout |