summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-08-26 14:23:42 +0300
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-28 00:27:40 +0100
commitd1176fbc1fbfcbd0dc9c4ee21d8847a0b1e8c8f3 (patch)
tree66f183c8a8634cf8af84d60e272ed958f454ed3d
parentbce0ccba7cc55facb9ba8c38179ddafb016df212 (diff)
downloadslackbuilds-d1176fbc1fbfcbd0dc9c4ee21d8847a0b1e8c8f3.tar.gz
libraries/python-xlrd: Updated for version 1.0.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--libraries/python-xlrd/python-xlrd.SlackBuild14
-rw-r--r--libraries/python-xlrd/python-xlrd.info6
2 files changed, 10 insertions, 10 deletions
diff --git a/libraries/python-xlrd/python-xlrd.SlackBuild b/libraries/python-xlrd/python-xlrd.SlackBuild
index d0e183329f..552ddb53a2 100644
--- a/libraries/python-xlrd/python-xlrd.SlackBuild
+++ b/libraries/python-xlrd/python-xlrd.SlackBuild
@@ -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"
@@ -68,7 +68,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python setup.py install --root=$PKG
@@ -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
diff --git a/libraries/python-xlrd/python-xlrd.info b/libraries/python-xlrd/python-xlrd.info
index f920530caf..30e6ba9120 100644
--- a/libraries/python-xlrd/python-xlrd.info
+++ b/libraries/python-xlrd/python-xlrd.info
@@ -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=""