Browse Source

n/django-pipeline: Upgraded to django-pipeline-1.6.14.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
27658e6e48
  1. 1
      l/django-pipeline/django-pipeline-1.3.20.tar.gz.sha256
  2. 1
      l/django-pipeline/django-pipeline-1.6.14.tar.gz.sha256
  3. 15
      l/django-pipeline/django-pipeline.SlackBuild

1
l/django-pipeline/django-pipeline-1.3.20.tar.gz.sha256

@ -1 +0,0 @@
98401cbd89451eafdec76b677b944d1f88d7212f54dbcc41c2015aa430c31f51 django-pipeline-1.3.20.tar.gz

1
l/django-pipeline/django-pipeline-1.6.14.tar.gz.sha256

@ -0,0 +1 @@
ef67aaf58959a2959e13fc114001cee5beec05ac18a81cc700ea9f1c8e3f40a8 django-pipeline-1.6.14.tar.gz

15
l/django-pipeline/django-pipeline.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017,2019 Damien Goutte-Gattat
# Copyright (C) 2017,2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,13 +27,12 @@
#
# Depends: d/Django
#
# Note: OMERO.web requires version 1.3.20 exactly.
# Note: OMERO.web requires version 1.6.14 exactly.
# Source package infos
NAMESRC=${NAMESRC:-django-pipeline}
VERSION=${VERSION:-1.3.20}
VERSION=${VERSION:-1.6.14}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/jazzband/django-pipeline/archive/$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-django-pipeline}
@ -62,8 +61,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)
@ -82,6 +80,11 @@ python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS HISTORY.rst LICENSE README.rst $PKG/usr/doc/$NAME
# Build HTML docs if Sphinx is available
if sphinx-build -b html docs $PKG/usr/doc/$NAME/html ; then
rm -rf $PKG/usr/doc/$NAME/html/.{buildinfo,doctrees}
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save