From 540a11551ffb0eac3b0265586a88a7f45c576fdf Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 17 Apr 2014 15:09:56 +0700 Subject: libraries/python-xlrd: Updated for version 0.9.3. Signed-off-by: Willy Sudiarto Raharjo --- libraries/python-xlrd/doinst.sh | 3 +++ libraries/python-xlrd/python-xlrd.SlackBuild | 7 ++++--- libraries/python-xlrd/python-xlrd.info | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 libraries/python-xlrd/doinst.sh diff --git a/libraries/python-xlrd/doinst.sh b/libraries/python-xlrd/doinst.sh new file mode 100644 index 0000000000..5fb28930db --- /dev/null +++ b/libraries/python-xlrd/doinst.sh @@ -0,0 +1,3 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi diff --git a/libraries/python-xlrd/python-xlrd.SlackBuild b/libraries/python-xlrd/python-xlrd.SlackBuild index 2b164f64f0..d0e183329f 100644 --- a/libraries/python-xlrd/python-xlrd.SlackBuild +++ b/libraries/python-xlrd/python-xlrd.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python-xlrd -SCRNAM=xlrd -VERSION=${VERSION:-0.9.2} +SCRNAM=$(echo $PRGNAM | cut -c8-11) +VERSION=${VERSION:-0.9.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -80,11 +80,12 @@ 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 xlrd/doc/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a PKG-INFO README.html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libraries/python-xlrd/python-xlrd.info b/libraries/python-xlrd/python-xlrd.info index f541b680d1..f920530caf 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.2" +VERSION="0.9.3" HOMEPAGE="http://www.python-excel.org/" -DOWNLOAD="https://pypi.python.org/packages/source/x/xlrd/xlrd-0.9.2.tar.gz" -MD5SUM="91a81ee76233e9f3115acaaa1b251b0e" +DOWNLOAD="https://pypi.python.org/packages/source/x/xlrd/xlrd-0.9.3.tar.gz" +MD5SUM="6f3325132f246594988171bc72e1a385" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3