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 | |
parent | d1f72bf6ee2bcb9da8132bdd4e30fdce576dcbea (diff) |
python/Pygments: Updated for version 2.1.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | python/Pygments/Pygments.SlackBuild | 9 | ||||
-rw-r--r-- | python/Pygments/Pygments.info | 6 |
2 files changed, 10 insertions, 5 deletions
diff --git a/python/Pygments/Pygments.SlackBuild b/python/Pygments/Pygments.SlackBuild index 45a4d1b4d71e3..793b64b80de9f 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 diff --git a/python/Pygments/Pygments.info b/python/Pygments/Pygments.info index a5b81a1d29f1c..0f97fb133ad87 100644 --- a/python/Pygments/Pygments.info +++ b/python/Pygments/Pygments.info @@ -1,8 +1,8 @@ PRGNAM="Pygments" -VERSION="2.0.2" +VERSION="2.1.3" HOMEPAGE="http://pygments.org/" -DOWNLOAD="http://pypi.python.org/packages/source/P/Pygments/Pygments-2.0.2.tar.gz" -MD5SUM="238587a1370d62405edabd0794b3ec4a" +DOWNLOAD="https://pypi.python.org/packages/b8/67/ab177979be1c81bc99c8d0592ef22d547e70bb4c6815c383286ed5dec504/Pygments-2.1.3.tar.gz" +MD5SUM="ed3fba2467c8afcda4d317e4ef2c6150" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |