diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2022-07-08 17:57:53 +0300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-09 10:06:19 +0700 |
commit | 5a5c207ecfe845b3568a2630f839a3badf11ed9e (patch) | |
tree | e6a5a3631de92c8795c1e5c80efa4b184a3747c4 /office/pyspread | |
parent | 76381b589db79accabdc879df548ecb46803e626 (diff) |
office/pyspread: Updated for version 2.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/pyspread')
-rw-r--r-- | office/pyspread/README | 8 | ||||
-rw-r--r-- | office/pyspread/pyspread.SlackBuild | 11 | ||||
-rw-r--r-- | office/pyspread/pyspread.info | 8 |
3 files changed, 11 insertions, 16 deletions
diff --git a/office/pyspread/README b/office/pyspread/README index 8b9814e677e78..8db98496bacd8 100644 --- a/office/pyspread/README +++ b/office/pyspread/README @@ -18,10 +18,4 @@ Pyspread is free software. It is released under the GPL v3. for example matrix operations via numpy or fixed point decimal numbers for business calculations via decimal. -Optional Dependencies: - -- python-xlrd (optional for opening Excel files) -- python-xlwt (for saving Excel files) -- python-gnupg (for opening own files without approval) -- jedi (for tab completion and context help in the entry line) -- basemap (for the weather example pys file) +Optional Dependencies: matplotlib, pyenchant, python-dateutil diff --git a/office/pyspread/pyspread.SlackBuild b/office/pyspread/pyspread.SlackBuild index cc6c50b54309b..0dc3588a9a824 100644 --- a/office/pyspread/pyspread.SlackBuild +++ b/office/pyspread/pyspread.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pyspread -# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2022 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pyspread -VERSION=${VERSION:-1.1.3} +VERSION=${VERSION:-2.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,7 +79,7 @@ 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 +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -88,10 +88,11 @@ mkdir -p $PKG/usr/share/applications install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/share/pixmaps/ -install -D -m644 pyspread/share/icons/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png +install -D -m644 pyspread/share/icons/hicolor/64x64/$PRGNAM.png \ + $PKG/usr/share/pixmaps/$PRGNAM.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a PKG-INFO README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE AUTHORS 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/office/pyspread/pyspread.info b/office/pyspread/pyspread.info index 3586ce7397443..c6cb98118bb95 100644 --- a/office/pyspread/pyspread.info +++ b/office/pyspread/pyspread.info @@ -1,10 +1,10 @@ PRGNAM="pyspread" -VERSION="1.1.3" +VERSION="2.1" HOMEPAGE="https://manns.github.io/pyspread/" -DOWNLOAD="https://files.pythonhosted.org/packages/4b/34/3ce362d78584274da5c418c9712d3cc53b9e19e7d8f22a141baa2a9da6b9/pyspread-1.1.3.tar.gz" -MD5SUM="854d1330ba8368ffea43107ae5a1329c" +DOWNLOAD="https://files.pythonhosted.org/packages/5b/10/abeccb32f020c0a61f48f7d754332574987b406ada914d1371d23bb77499/pyspread-2.1.tar.gz" +MD5SUM="17742f936670db7fa8dab42c2735e7cc" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="wxPython matplotlib numpy" +REQUIRES="numpy3 python3-markdown2" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" |