Browse Source

l/pygments: Upgraded to pygments-2.1.3.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
2f176e2604
  1. 1
      l/pygments/Pygments-1.6.tar.gz.sha1
  2. 1
      l/pygments/Pygments-2.1.3.tar.gz.sha1
  3. 11
      l/pygments/pygments.SlackBuild

1
l/pygments/Pygments-1.6.tar.gz.sha1

@ -1 +0,0 @@
53d831b83b1e4d4f16fec604057e70519f9f02fb Pygments-1.6.tar.gz

1
l/pygments/Pygments-2.1.3.tar.gz.sha1

@ -0,0 +1 @@
ecc79e8a3cd5abbaffe33f78061be70a34ebe994 Pygments-2.1.3.tar.gz

11
l/pygments/pygments.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2012,2013 Damien Goutte-Gattat
# Copyright (C) 2011,2012,2013,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,9 +26,9 @@
# Source package infos
NAMESRC=${NAMESRC:-Pygments}
VERSION=${VERSION:-1.6}
VERSION=${VERSION:-2.1.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://pypi.python.org/packages/source/P/Pygments/$ARCHIVE}
WGET=${WGET:-https://pypi.python.org/packages/b8/67/ab177979be1c81bc99c8d0592ef22d547e70bb4c6815c383286ed5dec504/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-pygments}
@ -71,14 +71,13 @@ python setup.py build
python setup.py install --root=$PKG
# Install man page
install -D -m 644 docs/pygmentize.1 $PKG/usr/man/man1/pygmentize.1
install -D -m 644 doc/pygmentize.1 $PKG/usr/man/man1/pygmentize.1
gzip -9 $PKG/usr/man/man1/pygmentize.1
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS CHANGES LICENSE PKG-INFO TODO \
install -m 644 AUTHORS CHANGES LICENSE PKG-INFO TODO README.rst \
$PKG/usr/doc/$NAMEPKG-$VERSION
cp -R docs/build $PKG/usr/doc/$NAMEPKG-$VERSION/html
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save