libraries/python-xlrd: Updated for version 1.0.0.

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2016-08-26 14:23:42 +03:00 committed by David Spencer
parent bce0ccba7c
commit d1176fbc1f
2 changed files with 10 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for xlrd
# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,13 +24,13 @@
PRGNAM=python-xlrd
SCRNAM=$(echo $PRGNAM | cut -c8-11)
VERSION=${VERSION:-0.9.3}
VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -80,7 +80,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a PKG-INFO README.html $PKG/usr/doc/$PRGNAM-$VERSION
cp -a PKG-INFO README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="python-xlrd"
VERSION="0.9.3"
VERSION="1.0.0"
HOMEPAGE="http://www.python-excel.org/"
DOWNLOAD="https://pypi.python.org/packages/source/x/xlrd/xlrd-0.9.3.tar.gz"
MD5SUM="6f3325132f246594988171bc72e1a385"
DOWNLOAD="https://pypi.python.org/packages/42/85/25caf967c2d496067489e0bb32df069a8361e1fd96a7e9f35408e56b3aab/xlrd-1.0.0.tar.gz"
MD5SUM="9a91b688cd4945477ac28187a54f9a3b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""