l/biopython: Upgraded to biopython-170.

slackware-14.2
Damien Goutte-Gattat 6 years ago
parent 739a6c0a2e
commit e8146cfddd

@ -1 +0,0 @@
74923e257d7aed96fd08b6d6d074654fd8afcdf8 biopython-167.tar.gz

@ -0,0 +1 @@
3b6fc50b91b7e5b7d331d3e6378b2fe228744baf83e3693444c7858fb99bc3ee biopython-170.tar.gz

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009-2014,2016 Damien Goutte-Gattat
# Copyright (C) 2009-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:
@ -30,7 +30,7 @@
# Source package infos
NAMESRC=${NAMESRC:-biopython}
VERSION=${VERSION:-1.67}
VERSION=${VERSION:-1.70}
ARCHIVE=${ARCHIVE:-$NAMESRC-${VERSION//./}.tar.gz}
WGET=${WGET:-https://github.com/biopython/biopython/archive/$ARCHIVE}
@ -77,7 +77,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)
# Compile
@ -96,8 +96,8 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMESRC-$VERSION
install -m 644 CONTRIB DEPRECATED LICENSE NEWS README \
$CWD/Tutorial.pdf $PKG/usr/doc/$NAMESRC-$VERSION
install -m 644 CONTRIB.rst CONTRIBUTING.rst DEPRECATED.rst LICENSE.rst \
NEWS.rst README.rst $CWD/Tutorial.pdf $PKG/usr/doc/$NAMESRC-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save