Browse Source

l/jinja2: Upgraded to jinja2-2.11.2.

current-20200608
Damien Goutte-Gattat 10 months ago
parent
commit
2321c53221
  1. 1
      l/jinja2/Jinja2-2.10.3.tar.gz.sha256
  2. 1
      l/jinja2/Jinja2-2.11.2.tar.gz.sha256
  3. 10
      l/jinja2/jinja2.SlackBuild

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

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

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

@ -0,0 +1 @@
89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0 Jinja2-2.11.2.tar.gz

10
l/jinja2/jinja2.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014,2016-2019 Damien Goutte-Gattat
# Copyright (C) 2014,2016-2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,9 +29,8 @@
# Source package infos
NAMESRC=${NAMESRC:-Jinja2}
VERSION=${VERSION:-2.10.3}
VERSION=${VERSION:-2.11.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/7b/db/1d037ccd626d05a7a47a1b81ea73775614af83c2b3e53d86a0bb41d8d799/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-jinja2}
@ -59,8 +58,7 @@ fi
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
@ -70,8 +68,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG

Loading…
Cancel
Save