python/affine: Updated for version 1.2.0.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
Benjamin Trigona-Harany 2016-01-24 13:01:16 -08:00 committed by Willy Sudiarto Raharjo
parent 49cbf80282
commit 34afb764da
2 changed files with 5 additions and 9 deletions

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=affine
VERSION=${VERSION:-1.0}
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,11 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
if [ -e $CWD/v$VERSION.tar.gz ]; then
tar xvf $CWD/v$VERSION.tar.gz
else
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
fi
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \

View File

@ -1,8 +1,8 @@
PRGNAM="affine"
VERSION="1.0"
VERSION="1.2.0"
HOMEPAGE="https://github.com/sgillies/affine"
DOWNLOAD="https://pypi.python.org/packages/source/a/affine/affine-1.0.tar.gz"
MD5SUM="6076a7f052e08d191865c00af0fdad30"
DOWNLOAD="https://github.com/sgillies/affine/archive/1.2.0.tar.gz"
MD5SUM="5bf3f43c667484ffc6329e0d4d22049a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""