Browse Source

l/jinja2: Upgraded to jinja2-2.9.6.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
9e405fb752
  1. 1
      l/jinja2/Jinja2-2.8.tar.gz.sha1
  2. 1
      l/jinja2/Jinja2-2.9.6.tar.gz.sha256
  3. 13
      l/jinja2/jinja2.SlackBuild

1
l/jinja2/Jinja2-2.8.tar.gz.sha1

@ -1 +0,0 @@
4a33c1a0fd585eba2507e8c274a9cd113b1d13ab Jinja2-2.8.tar.gz

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

@ -0,0 +1 @@
ddaa01a212cd6d641401cb01b605f4a4d9f37bfc93043d7f760ec70fb99ff9ff Jinja2-2.9.6.tar.gz

13
l/jinja2/jinja2.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014,2016 Damien Goutte-Gattat
# Copyright (C) 2014,2016,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,9 +28,9 @@
# Source package infos
NAMESRC=${NAMESRC:-Jinja2}
VERSION=${VERSION:-2.8}
VERSION=${VERSION:-2.9.6}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/f2/2f/0b98b06a345a761bec91a079ccae392d282690c2d8272e708f4d10829e22/$ARCHIVE}
WGET=${WGET:-https://pypi.python.org/packages/90/61/f820ff0076a2599dd39406dcb858ecb239438c02ce706c8e91131ab9c7f1/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-jinja2}
@ -61,7 +61,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Install
@ -80,6 +80,11 @@ install -m 644 AUTHORS CHANGES LICENSE PKG-INFO README.rst \
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
markupsafe
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save