Browse Source

l/jinja2: Upgraded to jinja2-2.10.3.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
dfdc7d09d8
  1. 1
      l/jinja2/Jinja2-2.10.3.tar.gz.sha256
  2. 1
      l/jinja2/Jinja2-2.10.tar.gz.sha256
  3. 17
      l/jinja2/jinja2.SlackBuild

1
l/jinja2/Jinja2-2.10.3.tar.gz.sha256

@ -0,0 +1 @@
9fe95f19286cfefaa917656583d020be14e7859c6b0252588391e47db34527de Jinja2-2.10.3.tar.gz

1
l/jinja2/Jinja2-2.10.tar.gz.sha256

@ -1 +0,0 @@
f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4 Jinja2-2.10.tar.gz

17
l/jinja2/jinja2.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014,2016-2018 Damien Goutte-Gattat
# Copyright (C) 2014,2016-2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -22,15 +22,16 @@
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest jinja2 sourcecode is available at: <http://jinja.pocoo.org/>.
# Latest jinja2 sourcecode is available at:
# <https://palletsprojects.com/p/jinja/>.
#
# Depends: l/markupsafe
# Source package infos
NAMESRC=${NAMESRC:-Jinja2}
VERSION=${VERSION:-2.10}
VERSION=${VERSION:-2.10.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/56/e6/332789f295cf22308386cf5bbd1f4e00ed11484299c5d7383378cf48ba47/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/7b/db/1d037ccd626d05a7a47a1b81ea73775614af83c2b3e53d86a0bb41d8d799/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-jinja2}
@ -69,12 +70,14 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS CHANGES.rst LICENSE PKG-INFO README.rst \
install -m 644 CHANGES.rst LICENSE.rst README.rst \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file

Loading…
Cancel
Save