l/cheetah: Update dependencies.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent df9408379c
commit bb16f68828

@ -1 +0,0 @@
c218f5d8bc97b39497680f6be9b7bd093f696e89 Cheetah-2.4.4.tar.gz

@ -0,0 +1 @@
be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550 Cheetah-2.4.4.tar.gz

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2011 Damien Goutte-Gattat
# Copyright (C) 2010,2011,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,16 +24,17 @@
#
# Latest cheetah sourcecode is available at:
# <http://www.cheetahtemplate.org/>.
#
# Depends: l/python-markdown
# Source package infos
NAMESRC=${NAMESRC:-Cheetah}
VERSION=${VERSION:-2.4.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://pypi.python.org/packages/source/C/Cheetah/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-cheetah}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -70,10 +71,9 @@ esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
pip download --no-deps --no-binary :all: $NAMESRC==$VERSION
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -98,6 +98,11 @@ install -m 644 CHANGES LICENSE README.markdown TODO \
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
python-markdown
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save