diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2024-05-16 21:16:14 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-05-18 06:55:46 +0700 |
commit | 210e371598655c7ab841c83736133829d52cdb34 (patch) | |
tree | 288a01a89191c3129fdf2069c83f130ac765f6f3 /libraries | |
parent | 6a4950af12aa05c077dbc88c5044808702f6a873 (diff) |
libraries/python-xlrd: Updated for version 2.0.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/python-xlrd/python-xlrd.SlackBuild | 9 | ||||
-rw-r--r-- | libraries/python-xlrd/python-xlrd.info | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/libraries/python-xlrd/python-xlrd.SlackBuild b/libraries/python-xlrd/python-xlrd.SlackBuild index 8fac848819cc..2a6a1bfa3907 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-2017 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2024 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-xlrd SCRNAM=$(echo $PRGNAM | cut -c8-11) -VERSION=${VERSION:-1.1.0} +VERSION=${VERSION:-2.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +80,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG if $(python3 -c 'import sys' 2>/dev/null); then python3 setup.py install --root=$PKG @@ -90,7 +91,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.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a PKG-INFO README.rst $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 b080ab21e947..fb284b4ff7dc 100644 --- a/libraries/python-xlrd/python-xlrd.info +++ b/libraries/python-xlrd/python-xlrd.info @@ -1,10 +1,10 @@ PRGNAM="python-xlrd" -VERSION="1.1.0" +VERSION="2.0.1" HOMEPAGE="http://www.python-excel.org/" -DOWNLOAD="https://pypi.python.org/packages/86/cf/bb010f16cefa8f26ac9329ca033134bcabc7a27f5c3d8de961bacc0f80b3/xlrd-1.1.0.tar.gz" -MD5SUM="b85c9916ac755cad489a9005f5a0d390" +DOWNLOAD="https://files.pythonhosted.org/packages/a6/b3/19a2540d21dea5f908304375bd43f5ed7a4c28a370dc9122c565423e6b44/xlrd-2.0.1.tar.gz" +MD5SUM="ae3f951c857a490d432f0a7d722352bf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +EMAIL="dslackw@gmail.com" |